Pratt 1.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.exrc +61 -0
- data/.gitignore +4 -0
- data/History.txt +6 -0
- data/Manifest.txt +46 -0
- data/Pratt.gemspec +351 -0
- data/README.txt +66 -0
- data/Rakefile +85 -0
- data/TODO +54 -0
- data/VERSION +1 -0
- data/bin/pratt.rb +13 -0
- data/config.rb +34 -0
- data/lib/pratt.rb +527 -0
- data/lib/pratt/array.rb +11 -0
- data/lib/pratt/string.rb +18 -0
- data/models/app.rb +40 -0
- data/models/customer.rb +24 -0
- data/models/payment.rb +22 -0
- data/models/pratt.rb +19 -0
- data/models/project.rb +82 -0
- data/models/whence.rb +70 -0
- data/pkgs/tile-0.8.2.tar.gz +0 -0
- data/pkgs/tile-0.8.2/ANNOUNCE.txt +95 -0
- data/pkgs/tile-0.8.2/ChangeLog +4651 -0
- data/pkgs/tile-0.8.2/Makefile +250 -0
- data/pkgs/tile-0.8.2/Makefile.in +250 -0
- data/pkgs/tile-0.8.2/README.txt +86 -0
- data/pkgs/tile-0.8.2/aclocal.m4 +2 -0
- data/pkgs/tile-0.8.2/altTheme.o +0 -0
- data/pkgs/tile-0.8.2/blink.o +0 -0
- data/pkgs/tile-0.8.2/button.o +0 -0
- data/pkgs/tile-0.8.2/cache.o +0 -0
- data/pkgs/tile-0.8.2/clamTheme.o +0 -0
- data/pkgs/tile-0.8.2/classicTheme.o +0 -0
- data/pkgs/tile-0.8.2/config.log +1330 -0
- data/pkgs/tile-0.8.2/config.status +795 -0
- data/pkgs/tile-0.8.2/configure +15248 -0
- data/pkgs/tile-0.8.2/configure.in +89 -0
- data/pkgs/tile-0.8.2/demos/autocomplete.tcl +59 -0
- data/pkgs/tile-0.8.2/demos/demo.tcl +870 -0
- data/pkgs/tile-0.8.2/demos/dirbrowser.tcl +167 -0
- data/pkgs/tile-0.8.2/demos/dlgtest.tcl +97 -0
- data/pkgs/tile-0.8.2/demos/iconlib.tcl +110 -0
- data/pkgs/tile-0.8.2/demos/repeater.tcl +117 -0
- data/pkgs/tile-0.8.2/demos/toolbutton.tcl +101 -0
- data/pkgs/tile-0.8.2/doc/Geometry.3 +230 -0
- data/pkgs/tile-0.8.2/doc/INDEX.MAP +153 -0
- data/pkgs/tile-0.8.2/doc/Makefile +36 -0
- data/pkgs/tile-0.8.2/doc/TILE.XML +45 -0
- data/pkgs/tile-0.8.2/doc/Theme.3 +34 -0
- data/pkgs/tile-0.8.2/doc/button.n +75 -0
- data/pkgs/tile-0.8.2/doc/checkbutton.n +61 -0
- data/pkgs/tile-0.8.2/doc/combobox.n +98 -0
- data/pkgs/tile-0.8.2/doc/converting.txt +97 -0
- data/pkgs/tile-0.8.2/doc/dialog.n +122 -0
- data/pkgs/tile-0.8.2/doc/entry.n +438 -0
- data/pkgs/tile-0.8.2/doc/frame.n +43 -0
- data/pkgs/tile-0.8.2/doc/html/Geometry.html +304 -0
- data/pkgs/tile-0.8.2/doc/html/Theme.html +48 -0
- data/pkgs/tile-0.8.2/doc/html/button.html +120 -0
- data/pkgs/tile-0.8.2/doc/html/category-index.html +18 -0
- data/pkgs/tile-0.8.2/doc/html/checkbutton.html +94 -0
- data/pkgs/tile-0.8.2/doc/html/combobox.html +164 -0
- data/pkgs/tile-0.8.2/doc/html/converting.txt +97 -0
- data/pkgs/tile-0.8.2/doc/html/dialog.html +159 -0
- data/pkgs/tile-0.8.2/doc/html/entry.html +613 -0
- data/pkgs/tile-0.8.2/doc/html/frame.html +76 -0
- data/pkgs/tile-0.8.2/doc/html/image.html +100 -0
- data/pkgs/tile-0.8.2/doc/html/index.html +25 -0
- data/pkgs/tile-0.8.2/doc/html/keyword-index.html +228 -0
- data/pkgs/tile-0.8.2/doc/html/label.html +133 -0
- data/pkgs/tile-0.8.2/doc/html/labelframe.html +91 -0
- data/pkgs/tile-0.8.2/doc/html/manpage.css +212 -0
- data/pkgs/tile-0.8.2/doc/html/menubutton.html +63 -0
- data/pkgs/tile-0.8.2/doc/html/notebook.html +280 -0
- data/pkgs/tile-0.8.2/doc/html/paned.html +149 -0
- data/pkgs/tile-0.8.2/doc/html/progressbar.html +138 -0
- data/pkgs/tile-0.8.2/doc/html/radiobutton.html +89 -0
- data/pkgs/tile-0.8.2/doc/html/scrollbar.html +221 -0
- data/pkgs/tile-0.8.2/doc/html/separator.html +48 -0
- data/pkgs/tile-0.8.2/doc/html/sizegrip.html +62 -0
- data/pkgs/tile-0.8.2/doc/html/style.html +172 -0
- data/pkgs/tile-0.8.2/doc/html/tile-intro.html +164 -0
- data/pkgs/tile-0.8.2/doc/html/treeview.html +634 -0
- data/pkgs/tile-0.8.2/doc/html/widget.html +342 -0
- data/pkgs/tile-0.8.2/doc/image.n +81 -0
- data/pkgs/tile-0.8.2/doc/internals.txt +409 -0
- data/pkgs/tile-0.8.2/doc/label.n +75 -0
- data/pkgs/tile-0.8.2/doc/labelframe.n +64 -0
- data/pkgs/tile-0.8.2/doc/man.macros +239 -0
- data/pkgs/tile-0.8.2/doc/menubutton.n +41 -0
- data/pkgs/tile-0.8.2/doc/notebook.n +188 -0
- data/pkgs/tile-0.8.2/doc/paned.n +95 -0
- data/pkgs/tile-0.8.2/doc/progressbar.n +79 -0
- data/pkgs/tile-0.8.2/doc/radiobutton.n +57 -0
- data/pkgs/tile-0.8.2/doc/scrollbar.n +160 -0
- data/pkgs/tile-0.8.2/doc/separator.n +30 -0
- data/pkgs/tile-0.8.2/doc/sizegrip.n +53 -0
- data/pkgs/tile-0.8.2/doc/style.n +119 -0
- data/pkgs/tile-0.8.2/doc/tile-intro.n +165 -0
- data/pkgs/tile-0.8.2/doc/tmml.options +4 -0
- data/pkgs/tile-0.8.2/doc/treeview.n +415 -0
- data/pkgs/tile-0.8.2/doc/widget.n +227 -0
- data/pkgs/tile-0.8.2/doc/xml/Geometry.tmml +379 -0
- data/pkgs/tile-0.8.2/doc/xml/INDEX.MAP +153 -0
- data/pkgs/tile-0.8.2/doc/xml/Theme.tmml +63 -0
- data/pkgs/tile-0.8.2/doc/xml/button.tmml +134 -0
- data/pkgs/tile-0.8.2/doc/xml/checkbutton.tmml +119 -0
- data/pkgs/tile-0.8.2/doc/xml/combobox.tmml +184 -0
- data/pkgs/tile-0.8.2/doc/xml/dialog.tmml +195 -0
- data/pkgs/tile-0.8.2/doc/xml/entry.tmml +630 -0
- data/pkgs/tile-0.8.2/doc/xml/frame.tmml +98 -0
- data/pkgs/tile-0.8.2/doc/xml/image.tmml +101 -0
- data/pkgs/tile-0.8.2/doc/xml/label.tmml +154 -0
- data/pkgs/tile-0.8.2/doc/xml/labelframe.tmml +116 -0
- data/pkgs/tile-0.8.2/doc/xml/menubutton.tmml +80 -0
- data/pkgs/tile-0.8.2/doc/xml/notebook.tmml +306 -0
- data/pkgs/tile-0.8.2/doc/xml/paned.tmml +154 -0
- data/pkgs/tile-0.8.2/doc/xml/progressbar.tmml +151 -0
- data/pkgs/tile-0.8.2/doc/xml/radiobutton.tmml +109 -0
- data/pkgs/tile-0.8.2/doc/xml/scrollbar.tmml +233 -0
- data/pkgs/tile-0.8.2/doc/xml/separator.tmml +59 -0
- data/pkgs/tile-0.8.2/doc/xml/sizegrip.tmml +82 -0
- data/pkgs/tile-0.8.2/doc/xml/style.tmml +171 -0
- data/pkgs/tile-0.8.2/doc/xml/tile-intro.tmml +192 -0
- data/pkgs/tile-0.8.2/doc/xml/treeview.tmml +604 -0
- data/pkgs/tile-0.8.2/doc/xml/widget.tmml +372 -0
- data/pkgs/tile-0.8.2/entry.o +0 -0
- data/pkgs/tile-0.8.2/frame.o +0 -0
- data/pkgs/tile-0.8.2/generic/Makefile.in +221 -0
- data/pkgs/tile-0.8.2/generic/TODO +493 -0
- data/pkgs/tile-0.8.2/generic/altTheme.c +1172 -0
- data/pkgs/tile-0.8.2/generic/blink.c +168 -0
- data/pkgs/tile-0.8.2/generic/button.c +858 -0
- data/pkgs/tile-0.8.2/generic/cache.c +354 -0
- data/pkgs/tile-0.8.2/generic/clamTheme.c +974 -0
- data/pkgs/tile-0.8.2/generic/classicTheme.c +518 -0
- data/pkgs/tile-0.8.2/generic/configure +10334 -0
- data/pkgs/tile-0.8.2/generic/configure.in +100 -0
- data/pkgs/tile-0.8.2/generic/entry.c +1922 -0
- data/pkgs/tile-0.8.2/generic/frame.c +648 -0
- data/pkgs/tile-0.8.2/generic/gunk.h +44 -0
- data/pkgs/tile-0.8.2/generic/image.c +416 -0
- data/pkgs/tile-0.8.2/generic/label.c +663 -0
- data/pkgs/tile-0.8.2/generic/layout.c +1215 -0
- data/pkgs/tile-0.8.2/generic/manager.c +554 -0
- data/pkgs/tile-0.8.2/generic/manager.h +91 -0
- data/pkgs/tile-0.8.2/generic/notebook.c +1380 -0
- data/pkgs/tile-0.8.2/generic/paned.c +958 -0
- data/pkgs/tile-0.8.2/generic/pkgIndex.tcl.in +7 -0
- data/pkgs/tile-0.8.2/generic/progress.c +549 -0
- data/pkgs/tile-0.8.2/generic/scale.c +526 -0
- data/pkgs/tile-0.8.2/generic/scroll.c +253 -0
- data/pkgs/tile-0.8.2/generic/scrollbar.c +346 -0
- data/pkgs/tile-0.8.2/generic/separator.c +132 -0
- data/pkgs/tile-0.8.2/generic/square.c +306 -0
- data/pkgs/tile-0.8.2/generic/tagset.c +147 -0
- data/pkgs/tile-0.8.2/generic/tile.c +296 -0
- data/pkgs/tile-0.8.2/generic/tkElements.c +1280 -0
- data/pkgs/tile-0.8.2/generic/tkTheme.c +1708 -0
- data/pkgs/tile-0.8.2/generic/tkTheme.h +419 -0
- data/pkgs/tile-0.8.2/generic/tkThemeInt.h +45 -0
- data/pkgs/tile-0.8.2/generic/tkstate.c +268 -0
- data/pkgs/tile-0.8.2/generic/trace.c +145 -0
- data/pkgs/tile-0.8.2/generic/track.c +174 -0
- data/pkgs/tile-0.8.2/generic/treeview.c +3211 -0
- data/pkgs/tile-0.8.2/generic/ttk.decls +154 -0
- data/pkgs/tile-0.8.2/generic/ttkDecls.h +340 -0
- data/pkgs/tile-0.8.2/generic/ttkStubInit.c +61 -0
- data/pkgs/tile-0.8.2/generic/ttkStubLib.c +70 -0
- data/pkgs/tile-0.8.2/generic/widget.c +785 -0
- data/pkgs/tile-0.8.2/generic/widget.h +263 -0
- data/pkgs/tile-0.8.2/image.o +0 -0
- data/pkgs/tile-0.8.2/label.o +0 -0
- data/pkgs/tile-0.8.2/layout.o +0 -0
- data/pkgs/tile-0.8.2/library/altTheme.tcl +101 -0
- data/pkgs/tile-0.8.2/library/aquaTheme.tcl +62 -0
- data/pkgs/tile-0.8.2/library/button.tcl +85 -0
- data/pkgs/tile-0.8.2/library/clamTheme.tcl +139 -0
- data/pkgs/tile-0.8.2/library/classicTheme.tcl +108 -0
- data/pkgs/tile-0.8.2/library/combobox.tcl +439 -0
- data/pkgs/tile-0.8.2/library/cursors.tcl +36 -0
- data/pkgs/tile-0.8.2/library/defaults.tcl +118 -0
- data/pkgs/tile-0.8.2/library/dialog.tcl +274 -0
- data/pkgs/tile-0.8.2/library/entry.tcl +580 -0
- data/pkgs/tile-0.8.2/library/fonts.tcl +153 -0
- data/pkgs/tile-0.8.2/library/icons.tcl +105 -0
- data/pkgs/tile-0.8.2/library/keynav.tcl +192 -0
- data/pkgs/tile-0.8.2/library/menubutton.tcl +171 -0
- data/pkgs/tile-0.8.2/library/notebook.tcl +193 -0
- data/pkgs/tile-0.8.2/library/paned.tcl +87 -0
- data/pkgs/tile-0.8.2/library/progress.tcl +51 -0
- data/pkgs/tile-0.8.2/library/scale.tcl +54 -0
- data/pkgs/tile-0.8.2/library/scrollbar.tcl +125 -0
- data/pkgs/tile-0.8.2/library/sizegrip.tcl +77 -0
- data/pkgs/tile-0.8.2/library/tile.tcl +211 -0
- data/pkgs/tile-0.8.2/library/treeview.tcl +382 -0
- data/pkgs/tile-0.8.2/library/utils.tcl +254 -0
- data/pkgs/tile-0.8.2/library/winTheme.tcl +77 -0
- data/pkgs/tile-0.8.2/library/xpTheme.tcl +63 -0
- data/pkgs/tile-0.8.2/libtile0.8.2.so +0 -0
- data/pkgs/tile-0.8.2/libttkstub.a +0 -0
- data/pkgs/tile-0.8.2/license.terms +24 -0
- data/pkgs/tile-0.8.2/macosx/aquaTheme.c +1076 -0
- data/pkgs/tile-0.8.2/manager.o +0 -0
- data/pkgs/tile-0.8.2/notebook.o +0 -0
- data/pkgs/tile-0.8.2/paned.o +0 -0
- data/pkgs/tile-0.8.2/pkgIndex.tcl +3 -0
- data/pkgs/tile-0.8.2/progress.o +0 -0
- data/pkgs/tile-0.8.2/scale.o +0 -0
- data/pkgs/tile-0.8.2/scroll.o +0 -0
- data/pkgs/tile-0.8.2/scrollbar.o +0 -0
- data/pkgs/tile-0.8.2/separator.o +0 -0
- data/pkgs/tile-0.8.2/tagset.o +0 -0
- data/pkgs/tile-0.8.2/tclconfig/install-sh +119 -0
- data/pkgs/tile-0.8.2/tclconfig/tcl.m4 +4069 -0
- data/pkgs/tile-0.8.2/tclconfig/teax.m4 +109 -0
- data/pkgs/tile-0.8.2/tests/all.tcl +18 -0
- data/pkgs/tile-0.8.2/tests/bwidget.test +103 -0
- data/pkgs/tile-0.8.2/tests/cbtest.tcl +125 -0
- data/pkgs/tile-0.8.2/tests/combobox.test +51 -0
- data/pkgs/tile-0.8.2/tests/compound.tcl +92 -0
- data/pkgs/tile-0.8.2/tests/entry.test +285 -0
- data/pkgs/tile-0.8.2/tests/entrytest.tcl +78 -0
- data/pkgs/tile-0.8.2/tests/image.test +94 -0
- data/pkgs/tile-0.8.2/tests/labelframe.tcl +41 -0
- data/pkgs/tile-0.8.2/tests/labelframe.test +137 -0
- data/pkgs/tile-0.8.2/tests/layout.test +33 -0
- data/pkgs/tile-0.8.2/tests/misc.test +35 -0
- data/pkgs/tile-0.8.2/tests/nbtest.tcl +66 -0
- data/pkgs/tile-0.8.2/tests/notebook.test +500 -0
- data/pkgs/tile-0.8.2/tests/paned.test +298 -0
- data/pkgs/tile-0.8.2/tests/progress.test +92 -0
- data/pkgs/tile-0.8.2/tests/pwtest.tcl +90 -0
- data/pkgs/tile-0.8.2/tests/sbtest.tcl +79 -0
- data/pkgs/tile-0.8.2/tests/scrollbar.test +77 -0
- data/pkgs/tile-0.8.2/tests/sgtest.tcl +52 -0
- data/pkgs/tile-0.8.2/tests/testutils.tcl +20 -0
- data/pkgs/tile-0.8.2/tests/tile.test +674 -0
- data/pkgs/tile-0.8.2/tests/treetags.test +78 -0
- data/pkgs/tile-0.8.2/tests/treeview.test +563 -0
- data/pkgs/tile-0.8.2/tests/tvtest.tcl +332 -0
- data/pkgs/tile-0.8.2/tests/validate.test +278 -0
- data/pkgs/tile-0.8.2/tile.o +0 -0
- data/pkgs/tile-0.8.2/tkElements.o +0 -0
- data/pkgs/tile-0.8.2/tkTheme.o +0 -0
- data/pkgs/tile-0.8.2/tkstate.o +0 -0
- data/pkgs/tile-0.8.2/tools/genStubs.tcl +861 -0
- data/pkgs/tile-0.8.2/trace.o +0 -0
- data/pkgs/tile-0.8.2/track.o +0 -0
- data/pkgs/tile-0.8.2/treeview.o +0 -0
- data/pkgs/tile-0.8.2/ttkStubInit.o +0 -0
- data/pkgs/tile-0.8.2/ttkStubLib.o +0 -0
- data/pkgs/tile-0.8.2/widget.o +0 -0
- data/pkgs/tile-0.8.2/win/Tile.dsp +261 -0
- data/pkgs/tile-0.8.2/win/makefile.vc +527 -0
- data/pkgs/tile-0.8.2/win/monitor.c +164 -0
- data/pkgs/tile-0.8.2/win/nmakehlp.c +483 -0
- data/pkgs/tile-0.8.2/win/rules.vc +512 -0
- data/pkgs/tile-0.8.2/win/tile.rc +40 -0
- data/pkgs/tile-0.8.2/win/winTheme.c +734 -0
- data/pkgs/tile-0.8.2/win/xpTheme.c +1029 -0
- data/spec/app_spec.rb +48 -0
- data/spec/customer_spec.rb +31 -0
- data/spec/fixtures/graph.expectation +18 -0
- data/spec/payment_spec.rb +19 -0
- data/spec/pratt_spec.rb +148 -0
- data/spec/project_spec.rb +163 -0
- data/spec/rcov.opts +0 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +21 -0
- data/spec/whence_spec.rb +54 -0
- data/tasks/pratt.rb +84 -0
- data/templates/model.eruby +12 -0
- data/templates/spec.eruby +8 -0
- data/views/env.rb +22 -0
- data/views/graph.eruby +20 -0
- data/views/invoice.eruby +148 -0
- data/views/main.rb +92 -0
- data/views/pid.eruby +3 -0
- data/views/pop.rb +94 -0
- data/views/pop2.rb +75 -0
- data/views/raw.eruby +11 -0
- metadata +390 -0
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
<manpage cat="stdopt" id="widget" title="widget" version="0.2">
|
|
2
|
+
<!-- This file was automatically generated. DO NOT EDIT (yet)! -->
|
|
3
|
+
<!--
|
|
4
|
+
Copyright (c) 2004 Joe English
|
|
5
|
+
widget.n,v 1.15 2007/12/12 15:55:15 jenglish Exp
|
|
6
|
+
-->
|
|
7
|
+
<?TROFF.TH title="widget" section="n" date="0.2" source="tile" manual="Tile Widget Set" ?>
|
|
8
|
+
<namesection>
|
|
9
|
+
<name>widget</name>
|
|
10
|
+
<desc>Standard options and commands supported by Tile widgets</desc>
|
|
11
|
+
</namesection>
|
|
12
|
+
<section>
|
|
13
|
+
<title>DESCRIPTION</title>
|
|
14
|
+
<p>This manual describes common widget options and commands.
|
|
15
|
+
</p>
|
|
16
|
+
</section>
|
|
17
|
+
<section>
|
|
18
|
+
<title>STANDARD OPTIONS</title>
|
|
19
|
+
<p>The following options are supported by all Tile widgets:
|
|
20
|
+
</p>
|
|
21
|
+
<optionlist cat="stdopt" scope="global">
|
|
22
|
+
<optiondef>
|
|
23
|
+
<name>-class</name>
|
|
24
|
+
<dbname>(N/A)</dbname>
|
|
25
|
+
<dbclass>(N/A)</dbclass>
|
|
26
|
+
<desc>Specifies the window class.
|
|
27
|
+
The class is used when querying the option database
|
|
28
|
+
for the window's other options, to determine the default
|
|
29
|
+
bindtags for the window, and to select the widget's default
|
|
30
|
+
layout and style.
|
|
31
|
+
This is a read-only option:
|
|
32
|
+
it may only be specified when the window is created,
|
|
33
|
+
and may not be changed with the <b>configure</b> widget command.
|
|
34
|
+
</desc>
|
|
35
|
+
</optiondef>
|
|
36
|
+
<optiondef>
|
|
37
|
+
<name>-cursor</name>
|
|
38
|
+
<dbname>cursor</dbname>
|
|
39
|
+
<dbclass>Cursor</dbclass>
|
|
40
|
+
<desc>Specifies the mouse cursor to be used for the widget.
|
|
41
|
+
See <fun>Tk_GetCursor</fun> and <i>cursors(n)</i> in the Tk reference manual
|
|
42
|
+
for the legal values.
|
|
43
|
+
If set to the empty string (the default),
|
|
44
|
+
the cursor is inherited from the parent widget.
|
|
45
|
+
</desc>
|
|
46
|
+
</optiondef>
|
|
47
|
+
<optiondef>
|
|
48
|
+
<name>-takefocus</name>
|
|
49
|
+
<dbname>takeFocus</dbname>
|
|
50
|
+
<dbclass>TakeFocus</dbclass>
|
|
51
|
+
<desc>Determines whether the window accepts the focus during keyboard traversal.
|
|
52
|
+
Either <b>0</b>, <b>1</b>, a command prefix (to which the widget path
|
|
53
|
+
is appended, and which should return <b>0</b> or <b>1</b>),
|
|
54
|
+
or the empty string.
|
|
55
|
+
See <i>options(n)</i> in the Tk reference manual for the full description.
|
|
56
|
+
</desc>
|
|
57
|
+
</optiondef>
|
|
58
|
+
<optiondef>
|
|
59
|
+
<name>-style</name>
|
|
60
|
+
<dbname>style</dbname>
|
|
61
|
+
<dbclass>Style</dbclass>
|
|
62
|
+
<desc>May be used to specify a custom widget style.
|
|
63
|
+
</desc>
|
|
64
|
+
</optiondef>
|
|
65
|
+
</optionlist>
|
|
66
|
+
</section>
|
|
67
|
+
<section>
|
|
68
|
+
<title>SCROLLABLE WIDGET OPTIONS</title>
|
|
69
|
+
<p>The following options are supported by widgets that
|
|
70
|
+
are controllable by a scrollbar.
|
|
71
|
+
See <i>scrollbar(n)</i> for more information
|
|
72
|
+
</p>
|
|
73
|
+
<optionlist cat="stdopt" scope="global">
|
|
74
|
+
<optiondef>
|
|
75
|
+
<name>-xscrollcommand</name>
|
|
76
|
+
<dbname>xScrollCommand</dbname>
|
|
77
|
+
<dbclass>ScrollCommand</dbclass>
|
|
78
|
+
<desc>A command prefix, used to communicate with horizontal scrollbars.
|
|
79
|
+
<?TROFF.RS?><p>When the view in the widget's window changes, the widget will
|
|
80
|
+
generate a Tcl command by concatenating the scroll command and
|
|
81
|
+
two numbers.
|
|
82
|
+
Each of the numbers is a fraction between 0 and 1 indicating
|
|
83
|
+
a position in the document; 0 indicates the beginning,
|
|
84
|
+
and 1 indicates the end.
|
|
85
|
+
The first fraction indicates the first information in the widget
|
|
86
|
+
that is visible in the window, and the second fraction indicates
|
|
87
|
+
the information just after the last portion that is visible.
|
|
88
|
+
</p><p>Typically the <b>xScrollCommand</b> option consists of the path name
|
|
89
|
+
of a <b cat="AMBIGUOUS widget cmd">scrollbar</b> widget followed by ``set'', e.g. ``.x.scrollbar set''.
|
|
90
|
+
This will cause the scrollbar to be updated whenever the view in the
|
|
91
|
+
window changes.
|
|
92
|
+
</p><p>If this option is set to the empty string (the default),
|
|
93
|
+
then no command will be executed.
|
|
94
|
+
</p><?TROFF.RE?></desc>
|
|
95
|
+
</optiondef>
|
|
96
|
+
<optiondef>
|
|
97
|
+
<name>-yscrollcommand</name>
|
|
98
|
+
<dbname>yScrollCommand</dbname>
|
|
99
|
+
<dbclass>ScrollCommand</dbclass>
|
|
100
|
+
<desc>A command prefix, used to communicate with vertical scrollbars.
|
|
101
|
+
See the description of <b>-xscrollcommand</b> above for details.
|
|
102
|
+
</desc>
|
|
103
|
+
</optiondef>
|
|
104
|
+
</optionlist>
|
|
105
|
+
</section>
|
|
106
|
+
<section>
|
|
107
|
+
<title>LABEL OPTIONS</title>
|
|
108
|
+
<p>The following options are supported by labels, buttons,
|
|
109
|
+
and other button-like widgets:
|
|
110
|
+
</p>
|
|
111
|
+
<optionlist cat="stdopt" scope="global">
|
|
112
|
+
<optiondef>
|
|
113
|
+
<name>-text</name>
|
|
114
|
+
<dbname>text</dbname>
|
|
115
|
+
<dbclass>Text</dbclass>
|
|
116
|
+
<desc>Specifies a text string to be displayed inside the widget
|
|
117
|
+
(unless overridden by <b>-textvariable</b>).
|
|
118
|
+
</desc>
|
|
119
|
+
</optiondef>
|
|
120
|
+
<optiondef>
|
|
121
|
+
<name>-textvariable</name>
|
|
122
|
+
<dbname>textVariable</dbname>
|
|
123
|
+
<dbclass>Variable</dbclass>
|
|
124
|
+
<desc>Specifies the name of variable whose value will be used
|
|
125
|
+
in place of the <b>-text</b> resource.
|
|
126
|
+
</desc>
|
|
127
|
+
</optiondef>
|
|
128
|
+
<optiondef>
|
|
129
|
+
<name>-underline</name>
|
|
130
|
+
<dbname>underline</dbname>
|
|
131
|
+
<dbclass>Underline</dbclass>
|
|
132
|
+
<desc>If set, specifies the integer index (0-based) of a character to underline
|
|
133
|
+
in the text string.
|
|
134
|
+
The underlined character is used for mnemonic activation
|
|
135
|
+
(see <i>keynav(n)</i>).
|
|
136
|
+
</desc>
|
|
137
|
+
</optiondef>
|
|
138
|
+
<optiondef>
|
|
139
|
+
<name>-image</name>
|
|
140
|
+
<dbname>image</dbname>
|
|
141
|
+
<dbclass>Image</dbclass>
|
|
142
|
+
<desc>Specifies an image to display.
|
|
143
|
+
This is a list of 1 or more elements.
|
|
144
|
+
The first element is the default image name.
|
|
145
|
+
The rest of the list is a sequence of <i>statespec / value</i> pairs
|
|
146
|
+
as per <b>style map</b>, specifying different images to use when
|
|
147
|
+
the widget is in a particular state or combination of states.
|
|
148
|
+
All images in the list should have the same size.
|
|
149
|
+
</desc>
|
|
150
|
+
</optiondef>
|
|
151
|
+
<optiondef>
|
|
152
|
+
<name>-compound</name>
|
|
153
|
+
<dbname>compound</dbname>
|
|
154
|
+
<dbclass>Compound</dbclass>
|
|
155
|
+
<desc>Specifies how to display the image relative to the text,
|
|
156
|
+
in the case both <b>-text</b> and <b>-image</b> are present.
|
|
157
|
+
Valid values are:
|
|
158
|
+
<dl>
|
|
159
|
+
<dle>
|
|
160
|
+
<dt>text</dt>
|
|
161
|
+
<dd>Display text only.
|
|
162
|
+
</dd>
|
|
163
|
+
</dle>
|
|
164
|
+
<dle>
|
|
165
|
+
<dt>image</dt>
|
|
166
|
+
<dd>Display image only.
|
|
167
|
+
</dd>
|
|
168
|
+
</dle>
|
|
169
|
+
<dle>
|
|
170
|
+
<dt>center</dt>
|
|
171
|
+
<dd>Display text centered on top of image.
|
|
172
|
+
</dd>
|
|
173
|
+
</dle>
|
|
174
|
+
<dle>
|
|
175
|
+
<dt>top</dt>
|
|
176
|
+
<dd/>
|
|
177
|
+
</dle>
|
|
178
|
+
<dle>
|
|
179
|
+
<dt>bottom</dt>
|
|
180
|
+
<dd/>
|
|
181
|
+
</dle>
|
|
182
|
+
<dle>
|
|
183
|
+
<dt>left</dt>
|
|
184
|
+
<dd/>
|
|
185
|
+
</dle>
|
|
186
|
+
<dle>
|
|
187
|
+
<dt>right</dt>
|
|
188
|
+
<dd>Display image above, below, left of, or right of the text, respectively.
|
|
189
|
+
</dd>
|
|
190
|
+
</dle>
|
|
191
|
+
<dle>
|
|
192
|
+
<dt>none</dt>
|
|
193
|
+
<dd>The default; display the image if present, otherwise the text.
|
|
194
|
+
</dd>
|
|
195
|
+
</dle>
|
|
196
|
+
</dl></desc>
|
|
197
|
+
</optiondef>
|
|
198
|
+
<optiondef>
|
|
199
|
+
<name>-width</name>
|
|
200
|
+
<dbname>width</dbname>
|
|
201
|
+
<dbclass>Width</dbclass>
|
|
202
|
+
<desc>If greater than zero, specifies how much space, in character widths,
|
|
203
|
+
to allocate for the text label.
|
|
204
|
+
If less than zero, specifies a minimum width.
|
|
205
|
+
If zero or unspecified, the natural width of the text label is used.
|
|
206
|
+
|
|
207
|
+
</desc>
|
|
208
|
+
</optiondef>
|
|
209
|
+
</optionlist>
|
|
210
|
+
</section>
|
|
211
|
+
<section>
|
|
212
|
+
<title>COMPATIBILITY OPTIONS</title>
|
|
213
|
+
<optionlist cat="stdopt" scope="global">
|
|
214
|
+
<optiondef>
|
|
215
|
+
<name>-state</name>
|
|
216
|
+
<dbname>state</dbname>
|
|
217
|
+
<dbclass>State</dbclass>
|
|
218
|
+
<desc>May be set to <b>normal</b> or <b>disabled</b>
|
|
219
|
+
to control the <b>disabled</b> state bit.
|
|
220
|
+
This is a write-only option:
|
|
221
|
+
setting it changes the widget state,
|
|
222
|
+
but the <b>state</b> widget command
|
|
223
|
+
does not affect the <b>-state</b> option.
|
|
224
|
+
|
|
225
|
+
</desc>
|
|
226
|
+
</optiondef>
|
|
227
|
+
</optionlist>
|
|
228
|
+
</section>
|
|
229
|
+
<section>
|
|
230
|
+
<title>COMMANDS</title>
|
|
231
|
+
<dl>
|
|
232
|
+
<dle>
|
|
233
|
+
<dt><m>pathName</m> <b>cget</b> <m>option</m></dt>
|
|
234
|
+
<dd>Returns the current value of the configuration option given
|
|
235
|
+
by <i>option</i>.
|
|
236
|
+
</dd>
|
|
237
|
+
</dle>
|
|
238
|
+
<dle>
|
|
239
|
+
<dt><m>pathName</m> <b>configure</b> ?<m>option</m>? ?<m>value option value ...</m>?</dt>
|
|
240
|
+
<dd>Query or modify the configuration options of the widget.
|
|
241
|
+
If one or more <i>option-value</i> pairs are specified,
|
|
242
|
+
then the command modifies the given widget option(s)
|
|
243
|
+
to have the given value(s);
|
|
244
|
+
in this case the command returns an empty string.
|
|
245
|
+
If <i>option</i> is specified with no <i>value</i>,
|
|
246
|
+
then the command returns a list describing the named option:
|
|
247
|
+
the elements of the list are the
|
|
248
|
+
option name, database name, database class, default value,
|
|
249
|
+
and current value.
|
|
250
|
+
If no <i>option</i> is specified, returns a list describing all of
|
|
251
|
+
the available options for <i>pathName</i>.
|
|
252
|
+
</dd>
|
|
253
|
+
</dle>
|
|
254
|
+
<dle>
|
|
255
|
+
<dt><m>pathName</m> <b>instate</b> <m>statespec</m> ?<m>script</m>?</dt>
|
|
256
|
+
<dd>Test the widget's state.
|
|
257
|
+
If <i>script</i> is not specified, returns 1 if
|
|
258
|
+
the widget state matches <i>statespec</i> and 0 otherwise.
|
|
259
|
+
If <i>script</i> is specified, equivalent to
|
|
260
|
+
<example>
|
|
261
|
+
if {[<i>pathName</i> instate <i>stateSpec</i>]} <i>script</i>
|
|
262
|
+
</example></dd>
|
|
263
|
+
</dle>
|
|
264
|
+
<dle>
|
|
265
|
+
<dt><m>pathName</m> <b>state</b> ?<m>stateSpec</m>?</dt>
|
|
266
|
+
<dd>Modify or inquire widget state.
|
|
267
|
+
If <i>stateSpec</i> is present, sets the widget state:
|
|
268
|
+
for each flag in <i>stateSpec</i>, sets the corresponding flag
|
|
269
|
+
or clears it if prefixed by an exclamation point.
|
|
270
|
+
<p>Returns a new state spec indicating which flags were changed:
|
|
271
|
+
</p><example>
|
|
272
|
+
set changes [<i>pathName</i> state <i>spec</i>] ;
|
|
273
|
+
<i>pathName</i> state $changes
|
|
274
|
+
</example><p>will restore <i>pathName</i> to the original state.
|
|
275
|
+
If <i>stateSpec</i> is not specified,
|
|
276
|
+
returns a list of the currently-enabled state flags.
|
|
277
|
+
</p></dd>
|
|
278
|
+
</dle>
|
|
279
|
+
</dl>
|
|
280
|
+
</section>
|
|
281
|
+
<section>
|
|
282
|
+
<title>WIDGET STATES</title>
|
|
283
|
+
<p>The widget state is a bitmap of independent state flags.
|
|
284
|
+
Widget state flags include:
|
|
285
|
+
</p>
|
|
286
|
+
<dl>
|
|
287
|
+
<dle>
|
|
288
|
+
<dt><b>active</b></dt>
|
|
289
|
+
<dd>The mouse cursor is over the widget
|
|
290
|
+
and pressing a mouse button will cause some action to occur.
|
|
291
|
+
(aka "prelight" (Gnome), "hot" (Windows), "hover").
|
|
292
|
+
</dd>
|
|
293
|
+
</dle>
|
|
294
|
+
<dle>
|
|
295
|
+
<dt><b>disabled</b></dt>
|
|
296
|
+
<dd>Widget is disabled under program control
|
|
297
|
+
(aka "unavailable", "inactive")
|
|
298
|
+
</dd>
|
|
299
|
+
</dle>
|
|
300
|
+
<dle>
|
|
301
|
+
<dt><b>focus</b></dt>
|
|
302
|
+
<dd>Widget has keyboard focus
|
|
303
|
+
</dd>
|
|
304
|
+
</dle>
|
|
305
|
+
<dle>
|
|
306
|
+
<dt><b>pressed</b></dt>
|
|
307
|
+
<dd>Widget is being pressed (aka "armed" in Motif).
|
|
308
|
+
</dd>
|
|
309
|
+
</dle>
|
|
310
|
+
<dle>
|
|
311
|
+
<dt><b>selected</b></dt>
|
|
312
|
+
<dd>"On", "true", or "current" for things like checkbuttons and radiobuttons.
|
|
313
|
+
</dd>
|
|
314
|
+
</dle>
|
|
315
|
+
<dle>
|
|
316
|
+
<dt><b>background</b></dt>
|
|
317
|
+
<dd>Windows and the Mac have a notion of an "active" or foreground window.
|
|
318
|
+
The <b>background</b> state is set for widgets in a background window,
|
|
319
|
+
and cleared for those in the foreground window.
|
|
320
|
+
</dd>
|
|
321
|
+
</dle>
|
|
322
|
+
<dle>
|
|
323
|
+
<dt><b>readonly</b></dt>
|
|
324
|
+
<dd>Widget should not allow user modification.
|
|
325
|
+
</dd>
|
|
326
|
+
</dle>
|
|
327
|
+
<dle>
|
|
328
|
+
<dt><b>alternate</b></dt>
|
|
329
|
+
<dd>A widget-specific alternate display format.
|
|
330
|
+
For example, used for checkbuttons and radiobuttons
|
|
331
|
+
in the "tristate" or "mixed" state,
|
|
332
|
+
and for buttons with <b>-default active</b>.
|
|
333
|
+
</dd>
|
|
334
|
+
</dle>
|
|
335
|
+
<dle>
|
|
336
|
+
<dt><b>invalid</b></dt>
|
|
337
|
+
<dd>The widget's value is invalid.
|
|
338
|
+
(Potential uses: scale widget value out of bounds,
|
|
339
|
+
entry widget value failed validation.)
|
|
340
|
+
</dd>
|
|
341
|
+
</dle>
|
|
342
|
+
</dl>
|
|
343
|
+
<p>A <i>state specification</i> or <i>stateSpec</i> is a list
|
|
344
|
+
of state names, optionally prefixed with an exclamation point (!)
|
|
345
|
+
indicating that the bit is off.
|
|
346
|
+
</p>
|
|
347
|
+
</section>
|
|
348
|
+
<section>
|
|
349
|
+
<title>EXAMPLES</title>
|
|
350
|
+
<example>
|
|
351
|
+
set b [ttk::button .b]
|
|
352
|
+
|
|
353
|
+
# Disable the widget:
|
|
354
|
+
$b state disabled
|
|
355
|
+
|
|
356
|
+
# Invoke the widget only if it is currently pressed and enabled:
|
|
357
|
+
$b instate {pressed !disabled} { .b invoke }
|
|
358
|
+
|
|
359
|
+
# Reenable widget:
|
|
360
|
+
$b state !disabled
|
|
361
|
+
</example>
|
|
362
|
+
</section>
|
|
363
|
+
<seealso>
|
|
364
|
+
<ref>tile-intro(n)</ref>
|
|
365
|
+
<ref>style(n)</ref>
|
|
366
|
+
</seealso>
|
|
367
|
+
<keywords>
|
|
368
|
+
<keyword>state</keyword>
|
|
369
|
+
<keyword>configure</keyword>
|
|
370
|
+
<keyword>option</keyword>
|
|
371
|
+
</keywords>
|
|
372
|
+
</manpage>
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
#
|
|
2
|
+
# @configure_input@
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
### Identification division.
|
|
6
|
+
#
|
|
7
|
+
|
|
8
|
+
PACKAGE_NAME = tile
|
|
9
|
+
PACKAGE_VERSION = 0.8.2
|
|
10
|
+
|
|
11
|
+
### Environment division.
|
|
12
|
+
#
|
|
13
|
+
srcdir = @srcdir@
|
|
14
|
+
prefix = @prefix@
|
|
15
|
+
exec_prefix = @exec_prefix@
|
|
16
|
+
libdir = @libdir@
|
|
17
|
+
includedir = @includedir@
|
|
18
|
+
|
|
19
|
+
TCL_PKGPATH = $(prefix)/lib
|
|
20
|
+
pkglibdir = $(TCL_PKGPATH)/$(PACKAGE_NAME)$(PACKAGE_VERSION)
|
|
21
|
+
|
|
22
|
+
EXTRA_DEFINES =
|
|
23
|
+
DEFS = @DEFS@ $(EXTRA_DEFINES)
|
|
24
|
+
LIBS = @LIBS@
|
|
25
|
+
INCLUDES = -I$(srcdir) @TCL_INCLUDES@ @TK_INCLUDES@ @TK_XINCLUDES@
|
|
26
|
+
|
|
27
|
+
TCL_STUB_LIB_SPEC = @TCL_STUB_LIB_SPEC@
|
|
28
|
+
TK_STUB_LIB_SPEC = @TK_STUB_LIB_SPEC@
|
|
29
|
+
TK_LIB_SPEC = @TK_LIB_SPEC@
|
|
30
|
+
|
|
31
|
+
PKG_LIBS = @PKG_LIBS@
|
|
32
|
+
|
|
33
|
+
CC = @CC@
|
|
34
|
+
SHLIB_LD = @SHLIB_LD@
|
|
35
|
+
STLIB_LD = @STLIB_LD@
|
|
36
|
+
RANLIB = @RANLIB@
|
|
37
|
+
WISH_PROG = @WISH_PROG@
|
|
38
|
+
TCLSH_PROG = @TCLSH_PROG@
|
|
39
|
+
INSTALL = @INSTALL@
|
|
40
|
+
INSTALL_DATA = @INSTALL_DATA@
|
|
41
|
+
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
42
|
+
|
|
43
|
+
CFLAGS = @CFLAGS@
|
|
44
|
+
CPPFLAGS = @CPPFLAGS@
|
|
45
|
+
LDFLAGS = @LDFLAGS@
|
|
46
|
+
|
|
47
|
+
OBJEXT = @OBJEXT@
|
|
48
|
+
LIB_PREFIX = @LIB_PREFIX@
|
|
49
|
+
SHLIB_SUFFIX = @SHLIB_SUFFIX@
|
|
50
|
+
STLIB_SUFFIX = @STLIB_SUFFIX@
|
|
51
|
+
|
|
52
|
+
# Extra definitions not referenced directly, but that may appear
|
|
53
|
+
# inside other susbtitutions inserted by TEA:
|
|
54
|
+
#
|
|
55
|
+
AR = @AR@
|
|
56
|
+
LDFLAGS_DEFAULT = @LDFLAGS_DEFAULT@
|
|
57
|
+
|
|
58
|
+
### Data division.
|
|
59
|
+
#
|
|
60
|
+
|
|
61
|
+
CLEANFILES = *.o *.obj $(tile_LIB_FILE) $(tile_STUB_LIB_FILE)
|
|
62
|
+
|
|
63
|
+
tile_STUB_LIB_FILE = $(LIB_PREFIX)ttkstub$(STLIB_SUFFIX)
|
|
64
|
+
tile_STUB_LIB_OBJS = ttkStubLib.$(OBJEXT)
|
|
65
|
+
|
|
66
|
+
tile_LIB_FILE = $(PACKAGE_NAME)$(SHLIB_SUFFIX)
|
|
67
|
+
tile_LIBS = \
|
|
68
|
+
$(TCL_STUB_LIB_SPEC) \
|
|
69
|
+
$(TK_STUB_LIB_SPEC) \
|
|
70
|
+
$(PKG_LIBS)
|
|
71
|
+
|
|
72
|
+
tile_OBJECTS = \
|
|
73
|
+
tile.$(OBJEXT) \
|
|
74
|
+
ttkStubInit.$(OBJEXT) \
|
|
75
|
+
tkstate.$(OBJEXT) \
|
|
76
|
+
separator.$(OBJEXT) \
|
|
77
|
+
frame.$(OBJEXT) \
|
|
78
|
+
button.$(OBJEXT) \
|
|
79
|
+
scrollbar.$(OBJEXT) \
|
|
80
|
+
scale.$(OBJEXT) \
|
|
81
|
+
progress.$(OBJEXT) \
|
|
82
|
+
notebook.$(OBJEXT) \
|
|
83
|
+
paned.$(OBJEXT) \
|
|
84
|
+
entry.$(OBJEXT) \
|
|
85
|
+
treeview.$(OBJEXT) tagset.$(OBJEXT) \
|
|
86
|
+
layout.$(OBJEXT) \
|
|
87
|
+
widget.$(OBJEXT) \
|
|
88
|
+
trace.$(OBJEXT) \
|
|
89
|
+
track.$(OBJEXT) \
|
|
90
|
+
blink.$(OBJEXT) \
|
|
91
|
+
scroll.$(OBJEXT) \
|
|
92
|
+
manager.$(OBJEXT) \
|
|
93
|
+
tkElements.$(OBJEXT) \
|
|
94
|
+
label.$(OBJEXT) \
|
|
95
|
+
altTheme.$(OBJEXT) \
|
|
96
|
+
classicTheme.$(OBJEXT) \
|
|
97
|
+
tkTheme.$(OBJEXT) \
|
|
98
|
+
cache.$(OBJEXT) \
|
|
99
|
+
image.$(OBJEXT) \
|
|
100
|
+
clamTheme.$(OBJEXT) \
|
|
101
|
+
@PLATFORM_OBJS@
|
|
102
|
+
|
|
103
|
+
X11_OBJS =
|
|
104
|
+
WIN_OBJS = winTheme.$(OBJEXT) xpTheme.$(OBJEXT) monitor.$(OBJEXT)
|
|
105
|
+
MAC_OBJS = aquaTheme.$(OBJEXT)
|
|
106
|
+
|
|
107
|
+
WISH_ENV = TILE_LIBRARY="$(TILE_LIBRARY)" TCLLIBPATH="."
|
|
108
|
+
WISH = $(WISH_ENV) $(WISH_PROG)
|
|
109
|
+
|
|
110
|
+
### Procedure division.
|
|
111
|
+
#
|
|
112
|
+
|
|
113
|
+
VPATH = @srcdir@:@srcdir@/../win:@srcdir@/../macosx
|
|
114
|
+
|
|
115
|
+
.PHONY: default all package clean distclean doc install installdirs
|
|
116
|
+
.PHONY: test valgrind vgtest
|
|
117
|
+
|
|
118
|
+
### Targets section.
|
|
119
|
+
#
|
|
120
|
+
|
|
121
|
+
default: all
|
|
122
|
+
all: package libraries
|
|
123
|
+
install: install-package install-libraries
|
|
124
|
+
|
|
125
|
+
package: $(tile_LIB_FILE)
|
|
126
|
+
libraries: $(tile_STUB_LIB_FILE)
|
|
127
|
+
|
|
128
|
+
### Build stuff section.
|
|
129
|
+
#
|
|
130
|
+
|
|
131
|
+
.SUFFIXES: .c .@OBJEXT@
|
|
132
|
+
|
|
133
|
+
.c.@OBJEXT@:
|
|
134
|
+
@echo $<
|
|
135
|
+
@$(CC) -c $(CPPFLAGS) $(DEFS) $(INCLUDES) $(CFLAGS) $< -o $@
|
|
136
|
+
|
|
137
|
+
$(tile_LIB_FILE): $(tile_OBJECTS)
|
|
138
|
+
-rm -f $@
|
|
139
|
+
$(SHLIB_LD) @SHLIB_LD_OUT@$@ $(tile_OBJECTS) $(LDFLAGS) $(tile_LIBS)
|
|
140
|
+
|
|
141
|
+
$(tile_STUB_LIB_FILE): $(tile_STUB_LIB_OBJS)
|
|
142
|
+
-rm -f $@
|
|
143
|
+
$(STLIB_LD) @STLIB_LD_OUT@$@ $(tile_STUB_LIB_OBJS)
|
|
144
|
+
$(RANLIB) $@
|
|
145
|
+
|
|
146
|
+
### Documentation section.
|
|
147
|
+
#
|
|
148
|
+
|
|
149
|
+
### Test stuff section.
|
|
150
|
+
#
|
|
151
|
+
TILE_LIBRARY = $(srcdir)/../library
|
|
152
|
+
TESTLOAD = -load "load ./$(tile_LIB_FILE)"
|
|
153
|
+
TESTDRIVER = $(srcdir)/../tests/all.tcl $(TESTLOAD)
|
|
154
|
+
TESTFLAGS = -verbose e
|
|
155
|
+
|
|
156
|
+
VALGRIND_OPTS = --tool=memcheck --leak-check=yes --num-callers=10
|
|
157
|
+
VALGRIND = valgrind $(VALGRIND_OPTS)
|
|
158
|
+
VGTESTFLAGS = -verbose pbe -singleproc true
|
|
159
|
+
|
|
160
|
+
test ::
|
|
161
|
+
$(WISH) $(TESTDRIVER) $(TESTFLAGS)
|
|
162
|
+
|
|
163
|
+
vgtest ::
|
|
164
|
+
$(WISH_ENV) $(VALGRIND) $(WISH_PROG) $(TESTDRIVER) $(VGTESTFLAGS) \
|
|
165
|
+
2>&1 | tee valgrind.log
|
|
166
|
+
|
|
167
|
+
valgrind ::
|
|
168
|
+
$(WISH_ENV) $(VALGRIND) $(WISH_PROG) $(SCRIPT) 2>&1 | tee valgrind.log
|
|
169
|
+
|
|
170
|
+
demo ::
|
|
171
|
+
$(WISH) $(srcdir)/../demos/demo.tcl
|
|
172
|
+
|
|
173
|
+
shell ::
|
|
174
|
+
$(WISH) $(SCRIPT)
|
|
175
|
+
|
|
176
|
+
gdb:
|
|
177
|
+
$(WISH_ENV) gdb $(WISH_PROG)
|
|
178
|
+
|
|
179
|
+
### Install stuff section.
|
|
180
|
+
#
|
|
181
|
+
|
|
182
|
+
$(DESTDIR)$(pkglibdir):
|
|
183
|
+
mkdir -p $(DESTDIR)$(pkglibdir)
|
|
184
|
+
|
|
185
|
+
install-package: package $(DESTDIR)$(pkglibdir)
|
|
186
|
+
$(INSTALL_PROGRAM) $(tile_LIB_FILE) \
|
|
187
|
+
$(DESTDIR)$(pkglibdir)/$(tile_LIB_FILE)
|
|
188
|
+
$(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir)/pkgIndex.tcl
|
|
189
|
+
for libfile in $(TILE_LIBRARY)/*.tcl ; do \
|
|
190
|
+
$(INSTALL_DATA) $$libfile $(DESTDIR)$(pkglibdir) ; done
|
|
191
|
+
|
|
192
|
+
install-libraries: libraries
|
|
193
|
+
mkdir -p $(DESTDIR)$(libdir)
|
|
194
|
+
mkdir -p $(DESTDIR)$(includedir)
|
|
195
|
+
$(INSTALL_DATA) $(tile_STUB_LIB_FILE) $(DESTDIR)$(libdir)
|
|
196
|
+
$(INSTALL_DATA) $(srcdir)/tkTheme.h $(DESTDIR)$(includedir)
|
|
197
|
+
$(INSTALL_DATA) $(srcdir)/ttkDecls.h $(DESTDIR)$(includedir)
|
|
198
|
+
|
|
199
|
+
### Maintain stuff section.
|
|
200
|
+
#
|
|
201
|
+
|
|
202
|
+
Makefile : $(srcdir)/Makefile.in config.status
|
|
203
|
+
sh config.status
|
|
204
|
+
|
|
205
|
+
tags ::
|
|
206
|
+
ctags $(srcdir)/*.[ch]
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
GENSTUBS = $(TCLSH_PROG) $(srcdir)/../tools/genStubs.tcl
|
|
210
|
+
genstubs :
|
|
211
|
+
$(GENSTUBS) $(srcdir) $(srcdir)/ttk.decls
|
|
212
|
+
|
|
213
|
+
### Cleanup section.
|
|
214
|
+
#
|
|
215
|
+
clean::
|
|
216
|
+
-rm -f $(CLEANFILES)
|
|
217
|
+
|
|
218
|
+
distclean: clean
|
|
219
|
+
-rm -f Makefile config.cache config.log config.status pkgIndex.tcl
|
|
220
|
+
|
|
221
|
+
# *EOF*
|