Pratt 1.5.6
Sign up to get free protection for your applications and to get access to all the features.
- 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,151 @@
|
|
1
|
+
<manpage cat="cmd" id="progressbar" title="progressbar" version="0.6">
|
2
|
+
<!-- This file was automatically generated. DO NOT EDIT (yet)! -->
|
3
|
+
<!--
|
4
|
+
Copyright (c) 2005 Joe English
|
5
|
+
-->
|
6
|
+
<?TROFF.TH title="progressbar" section="n" date="0.6" source="tile" manual="Tile Widget Set" ?>
|
7
|
+
<namesection>
|
8
|
+
<name>ttk::progressbar</name>
|
9
|
+
<desc>Provide progress feedback</desc>
|
10
|
+
</namesection>
|
11
|
+
<synopsis>
|
12
|
+
<syntax>
|
13
|
+
<b>ttk::progressbar</b> <m>pathName</m> ?<m>options</m>?
|
14
|
+
</syntax>
|
15
|
+
</synopsis>
|
16
|
+
<section>
|
17
|
+
<title>STANDARD OPTIONS</title>
|
18
|
+
<sl cat="stdopt" cols="4">
|
19
|
+
<li>-class</li>
|
20
|
+
<li>-cursor</li>
|
21
|
+
<li>-style</li>
|
22
|
+
<li>-takefocus</li>
|
23
|
+
</sl>
|
24
|
+
</section>
|
25
|
+
<section>
|
26
|
+
<title>OPTIONS</title>
|
27
|
+
<optionlist>
|
28
|
+
<optiondef>
|
29
|
+
<name>-orient</name>
|
30
|
+
<dbname>orient</dbname>
|
31
|
+
<dbclass>Orient</dbclass>
|
32
|
+
<desc>One of <b>horizontal</b> or <b>vertical</b>.
|
33
|
+
Specifies the orientation of the progress bar.
|
34
|
+
</desc>
|
35
|
+
</optiondef>
|
36
|
+
<optiondef>
|
37
|
+
<name>-length</name>
|
38
|
+
<dbname>length</dbname>
|
39
|
+
<dbclass>Length</dbclass>
|
40
|
+
<desc>Specifies the length of the long axis of the progress bar
|
41
|
+
(width if horizontal, height if vertical).
|
42
|
+
</desc>
|
43
|
+
</optiondef>
|
44
|
+
<optiondef>
|
45
|
+
<name>-mode</name>
|
46
|
+
<dbname>mode</dbname>
|
47
|
+
<dbclass>Mode</dbclass>
|
48
|
+
<desc>One of <b>determinate</b> or <b>indeterminate</b>.
|
49
|
+
</desc>
|
50
|
+
</optiondef>
|
51
|
+
<optiondef>
|
52
|
+
<name>-maximum</name>
|
53
|
+
<dbname>maximum</dbname>
|
54
|
+
<dbclass>Maximum</dbclass>
|
55
|
+
<desc>A floating point number specifying the maximum <b>-value</b>.
|
56
|
+
Defaults to 100.
|
57
|
+
</desc>
|
58
|
+
</optiondef>
|
59
|
+
<optiondef>
|
60
|
+
<name>-value</name>
|
61
|
+
<dbname>value</dbname>
|
62
|
+
<dbclass>Value</dbclass>
|
63
|
+
<desc>The current value of the progress bar.
|
64
|
+
In <i>determinate</i> mode, this represents the amount of work completed.
|
65
|
+
In <i>indeterminate</i> mode, it is interpreted modulo <b>-maximum</b>;
|
66
|
+
that is, the progress bar completes one "cycle" when
|
67
|
+
the <b>-value</b> increases by <b>-maximum</b>.
|
68
|
+
</desc>
|
69
|
+
</optiondef>
|
70
|
+
<optiondef>
|
71
|
+
<name>-variable</name>
|
72
|
+
<dbname>variable</dbname>
|
73
|
+
<dbclass>Variable</dbclass>
|
74
|
+
<desc>The name of a Tcl variable which is linked to the <b>-value</b>.
|
75
|
+
If specified, the <b>-value</b> of the progress bar is
|
76
|
+
automatically set to the value of the variable whenever
|
77
|
+
the latter is modified.
|
78
|
+
</desc>
|
79
|
+
</optiondef>
|
80
|
+
<optiondef>
|
81
|
+
<name>-phase</name>
|
82
|
+
<dbname>phase</dbname>
|
83
|
+
<dbclass>Phase</dbclass>
|
84
|
+
<desc>Read-only option.
|
85
|
+
The widget periodically increments the value of this option
|
86
|
+
whenever the <b>-value</b> is greater than 0 and,
|
87
|
+
in <i>determinate</i> mode, less than <b>-maximum</b>.
|
88
|
+
This option may be used by the current theme
|
89
|
+
to provide additional animation effects.
|
90
|
+
</desc>
|
91
|
+
</optiondef>
|
92
|
+
</optionlist>
|
93
|
+
</section>
|
94
|
+
<section>
|
95
|
+
<title>DESCRIPTION</title>
|
96
|
+
<p>A progress bar widget shows the status of a long-running operation.
|
97
|
+
They can operate in two modes: <i>determinate</i> mode shows the
|
98
|
+
amount completed relative to the total amount of work to be done,
|
99
|
+
and <i>indeterminate</i> mode provides an animated display to
|
100
|
+
let the user know that something is happening.
|
101
|
+
</p>
|
102
|
+
</section>
|
103
|
+
<section>
|
104
|
+
<title>WIDGET COMMAND</title>
|
105
|
+
<dl>
|
106
|
+
<dle>
|
107
|
+
<dt><m>pathName</m> <b>cget</b> <m>option</m></dt>
|
108
|
+
<dd>Returns the current value of the specified <i>option</i>; see <i>widget(n)</i>.
|
109
|
+
</dd>
|
110
|
+
</dle>
|
111
|
+
<dle>
|
112
|
+
<dt><m>pathName</m> <b>configure</b> ?<m>option</m>? ?<m>value option value ...</m>?</dt>
|
113
|
+
<dd>Modify or query widget options; see <i>widget(n)</i>.
|
114
|
+
</dd>
|
115
|
+
</dle>
|
116
|
+
<dle>
|
117
|
+
<dt><m>pathName</m> <b>instate</b> <m>statespec</m> ?<m>script</m>?</dt>
|
118
|
+
<dd>Test the widget state; see <i>widget(n)</i>.
|
119
|
+
</dd>
|
120
|
+
</dle>
|
121
|
+
<dle>
|
122
|
+
<dt><m>pathName</m> <b>start</b> ?<m>interval</m>?</dt>
|
123
|
+
<dd>Begin autoincrement mode:
|
124
|
+
schedules a recurring timer event that calls <b>step</b>
|
125
|
+
every <i>interval</i> milliseconds.
|
126
|
+
If omitted, <i>interval</i> defaults to 50 milliseconds (20 steps/second).
|
127
|
+
</dd>
|
128
|
+
</dle>
|
129
|
+
<dle>
|
130
|
+
<dt><m>pathName</m> <b>state</b> ?<m>stateSpec</m>?</dt>
|
131
|
+
<dd>Modify or query the widget state; see <i>widget(n)</i>.
|
132
|
+
</dd>
|
133
|
+
</dle>
|
134
|
+
<dle>
|
135
|
+
<dt><m>pathName</m> <b>step</b> ?<m>amount</m>?</dt>
|
136
|
+
<dd>Increments the <b>-value</b> by <i>amount</i>.
|
137
|
+
<i>amount</i> defaults to 1.0 if omitted.
|
138
|
+
</dd>
|
139
|
+
</dle>
|
140
|
+
<dle>
|
141
|
+
<dt><m>pathName</m> <b>stop</b></dt>
|
142
|
+
<dd>Stop autoincrement mode:
|
143
|
+
cancels any recurring timer event initiated by <i>pathName</i> <b>start</b>.
|
144
|
+
</dd>
|
145
|
+
</dle>
|
146
|
+
</dl>
|
147
|
+
</section>
|
148
|
+
<seealso>
|
149
|
+
<ref>widget(n)</ref>
|
150
|
+
</seealso>
|
151
|
+
</manpage>
|
@@ -0,0 +1,109 @@
|
|
1
|
+
<manpage cat="widget" id="radiobutton" title="radiobutton" version="0.2">
|
2
|
+
<!-- This file was automatically generated. DO NOT EDIT (yet)! -->
|
3
|
+
<!--
|
4
|
+
Copyright (c) 2004 Joe English
|
5
|
+
-->
|
6
|
+
<?TROFF.TH title="radiobutton" section="n" date="0.2" source="tile" manual="Tile Widget Set" ?>
|
7
|
+
<namesection>
|
8
|
+
<name>ttk::radiobutton</name>
|
9
|
+
<desc>Mutually exclusive option widget</desc>
|
10
|
+
</namesection>
|
11
|
+
<synopsis>
|
12
|
+
<syntax>
|
13
|
+
<b>ttk::radiobutton</b> <m>pathName</m> ?<m>options</m>?
|
14
|
+
</syntax>
|
15
|
+
</synopsis>
|
16
|
+
<section>
|
17
|
+
<title>DESCRIPTION</title>
|
18
|
+
<p><b cat="AMBIGUOUS widget cmd">radiobutton</b> widgets are used in groups to show or change
|
19
|
+
a set of mutually-exclusive options.
|
20
|
+
Radiobuttons are linked to a Tcl variable,
|
21
|
+
and have an associated value; when a radiobutton is clicked,
|
22
|
+
it sets the variable to its associated value.
|
23
|
+
</p>
|
24
|
+
</section>
|
25
|
+
<section>
|
26
|
+
<title>STANDARD OPTIONS</title>
|
27
|
+
<sl cat="stdopt" cols="4">
|
28
|
+
<li>-class</li>
|
29
|
+
<li>-compound</li>
|
30
|
+
<li>-cursor</li>
|
31
|
+
<li>-image</li>
|
32
|
+
<li>-state</li>
|
33
|
+
<li>-style</li>
|
34
|
+
<li>-takefocus</li>
|
35
|
+
<li>-text</li>
|
36
|
+
<li>-textvariable</li>
|
37
|
+
<li>-underline</li>
|
38
|
+
<li>-width</li>
|
39
|
+
</sl>
|
40
|
+
</section>
|
41
|
+
<section>
|
42
|
+
<title>OPTIONS</title>
|
43
|
+
<optionlist>
|
44
|
+
<optiondef>
|
45
|
+
<name>-command</name>
|
46
|
+
<dbname>command</dbname>
|
47
|
+
<dbclass>Command</dbclass>
|
48
|
+
<desc>A Tcl script to evaluate whenever the widget is invoked.
|
49
|
+
</desc>
|
50
|
+
</optiondef>
|
51
|
+
<optiondef>
|
52
|
+
<name>-value</name>
|
53
|
+
<dbname>Value</dbname>
|
54
|
+
<dbclass>Value</dbclass>
|
55
|
+
<desc>The value to store in the associated <i>-variable</i>
|
56
|
+
when the widget is selected.
|
57
|
+
</desc>
|
58
|
+
</optiondef>
|
59
|
+
<optiondef>
|
60
|
+
<name>-variable</name>
|
61
|
+
<dbname>variable</dbname>
|
62
|
+
<dbclass>Variable</dbclass>
|
63
|
+
<desc>The name of a global variable whose value is linked to the widget.
|
64
|
+
Default value is <b>::selectedButton</b>.
|
65
|
+
</desc>
|
66
|
+
</optiondef>
|
67
|
+
</optionlist>
|
68
|
+
</section>
|
69
|
+
<section>
|
70
|
+
<title>WIDGET COMMAND</title>
|
71
|
+
<p>In addition to the standard
|
72
|
+
<b>cget</b>, <b>configure</b>, <b>instate</b>, and <b>state</b>
|
73
|
+
commands, radiobuttons support the following additional
|
74
|
+
widget commands:
|
75
|
+
</p>
|
76
|
+
<dl>
|
77
|
+
<dle>
|
78
|
+
<dt><m>pathname</m> invoke</dt>
|
79
|
+
<dd>Sets the <i>-variable</i> to the <i>-value</i>, selects the widget,
|
80
|
+
and evaluates the associated <i>-command</i>.
|
81
|
+
Returns the result of the <i>-command</i>, or the empty
|
82
|
+
string if no <i>-command</i> is specified.
|
83
|
+
</dd>
|
84
|
+
</dle>
|
85
|
+
</dl>
|
86
|
+
</section>
|
87
|
+
<section>
|
88
|
+
<title>WIDGET STATES</title>
|
89
|
+
<p>The widget does not respond to user input if the <b>disabled</b> state is set.
|
90
|
+
The widget sets the <b>selected</b> state whenever
|
91
|
+
the linked <b>-variable</b> is set to the widget's <b>-value</b>,
|
92
|
+
and clears it otherwise.
|
93
|
+
The widget sets the <b>alternate</b> state whenever the
|
94
|
+
linked <b>-variable</b> is unset.
|
95
|
+
(The <b>alternate</b> state may be used to indicate a ``tri-state''
|
96
|
+
or ``indeterminate'' selection.)
|
97
|
+
</p>
|
98
|
+
</section>
|
99
|
+
<seealso>
|
100
|
+
<ref>widget(n)</ref>
|
101
|
+
<ref>keynav(n)</ref>
|
102
|
+
<ref>checkbutton(n)</ref>
|
103
|
+
</seealso>
|
104
|
+
<keywords>
|
105
|
+
<keyword>widget</keyword>
|
106
|
+
<keyword>button</keyword>
|
107
|
+
<keyword>option</keyword>
|
108
|
+
</keywords>
|
109
|
+
</manpage>
|
@@ -0,0 +1,233 @@
|
|
1
|
+
<manpage cat="widget" id="scrollbar" title="scrollbar" version="0.5">
|
2
|
+
<!-- This file was automatically generated. DO NOT EDIT (yet)! -->
|
3
|
+
<!--
|
4
|
+
SOURCE: tk/doc/scrollbar.n, r1.4
|
5
|
+
|
6
|
+
Copyright (c) 1990-1994 The Regents of the University of California.
|
7
|
+
Copyright (c) 1994-1996 Sun Microsystems, Inc.
|
8
|
+
Copyright (c) 2004 Joe English
|
9
|
+
|
10
|
+
See the file "license.terms" for information on usage and redistribution
|
11
|
+
of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
12
|
+
|
13
|
+
scrollbar.n,v 1.4 2006/11/27 05:45:02 jenglish Exp
|
14
|
+
-->
|
15
|
+
<?TROFF.TH title="scrollbar" section="n" date="0.5" source="tile" manual="Tile Widget Set" ?>
|
16
|
+
<namesection>
|
17
|
+
<name>ttk::scrollbar</name>
|
18
|
+
<desc>Control the viewport of a scrollable widget</desc>
|
19
|
+
</namesection>
|
20
|
+
<synopsis>
|
21
|
+
<syntax>
|
22
|
+
<b>ttk::scrollbar</b> <m>pathName</m> ?<m>options...</m>?
|
23
|
+
</syntax>
|
24
|
+
</synopsis>
|
25
|
+
<section>
|
26
|
+
<title>STANDARD OPTIONS</title>
|
27
|
+
<sl cat="stdopt" cols="4">
|
28
|
+
<li>-class</li>
|
29
|
+
<li>-cursor</li>
|
30
|
+
<li>-style</li>
|
31
|
+
<li>-takefocus</li>
|
32
|
+
</sl>
|
33
|
+
</section>
|
34
|
+
<section>
|
35
|
+
<title>WIDGET-SPECIFIC OPTIONS</title>
|
36
|
+
<optionlist>
|
37
|
+
<optiondef>
|
38
|
+
<name>-command</name>
|
39
|
+
<dbname>command</dbname>
|
40
|
+
<dbclass>Command</dbclass>
|
41
|
+
<desc>A Tcl script prefix to evaluate
|
42
|
+
to change the view in the widget associated with the scrollbar.
|
43
|
+
Additional arguments are appended to the value of this option,
|
44
|
+
as described in <ref refid="scrolling-commands">SCROLLING COMMANDS</ref> below,
|
45
|
+
whenever the user requests a view change by manipulating the scrollbar.
|
46
|
+
<br/>This option typically consists of a two-element list,
|
47
|
+
containing the name of a scrollable widget followed by
|
48
|
+
either <b>xview</b> (for horizontal scrollbars)
|
49
|
+
or <b>yview</b> (for vertical scrollbars).
|
50
|
+
</desc>
|
51
|
+
</optiondef>
|
52
|
+
<optiondef>
|
53
|
+
<name>-orient</name>
|
54
|
+
<dbname>orient</dbname>
|
55
|
+
<dbclass>Orient</dbclass>
|
56
|
+
<desc>One of <b>horizontal</b> or <b>vertical</b>.
|
57
|
+
Specifies the orientation of the scrollbar.
|
58
|
+
</desc>
|
59
|
+
</optiondef>
|
60
|
+
</optionlist>
|
61
|
+
</section>
|
62
|
+
|
63
|
+
|
64
|
+
<section>
|
65
|
+
<title>DESCRIPTION</title>
|
66
|
+
<p>Scrollbar widgets are typically linked to an associated window
|
67
|
+
that displays a document of some sort,
|
68
|
+
such as a file being edited or a drawing.
|
69
|
+
A scrollbar displays a <i>thumb</i> in the
|
70
|
+
middle portion of the scrollbar,
|
71
|
+
whose position and size provides information
|
72
|
+
about the portion of the document visible in
|
73
|
+
the associated window.
|
74
|
+
The thumb may be dragged by the user to control the
|
75
|
+
visible region.
|
76
|
+
Depending on the theme, two or more arrow buttons may also be present;
|
77
|
+
these are used to scroll the visible region in discrete units.
|
78
|
+
</p>
|
79
|
+
</section>
|
80
|
+
<section>
|
81
|
+
<title>WIDGET COMMAND</title>
|
82
|
+
<dl>
|
83
|
+
<dle>
|
84
|
+
<dt><m>pathName</m> <b>cget</b> <m>option</m></dt>
|
85
|
+
<dd>Returns the current value of the specified <i>option</i>; see <i>widget(n)</i>.
|
86
|
+
</dd>
|
87
|
+
</dle>
|
88
|
+
<dle>
|
89
|
+
<dt><m>pathName</m> <b>configure</b> ?<m>option</m>? ?<m>value option value ...</m>?</dt>
|
90
|
+
<dd>Modify or query widget options; see <i>widget(n)</i>.
|
91
|
+
</dd>
|
92
|
+
</dle>
|
93
|
+
<dle>
|
94
|
+
<dt><m>pathName</m> <b>get</b></dt>
|
95
|
+
<dd>Returns the scrollbar settings in the form of a list whose
|
96
|
+
elements are the arguments to the most recent <b cat="AMBIGUOUS ambiguous cmd">set</b> widget command.
|
97
|
+
</dd>
|
98
|
+
</dle>
|
99
|
+
<dle>
|
100
|
+
<dt><m>pathName</m> <b>instate</b> <m>statespec</m> ?<m>script</m>?</dt>
|
101
|
+
<dd>Test the widget state; see <i>widget(n)</i>.
|
102
|
+
</dd>
|
103
|
+
</dle>
|
104
|
+
<dle>
|
105
|
+
<dt><m>pathName</m> <b>set</b> <m>first last</m></dt>
|
106
|
+
<dd>This command is normally invoked by the scrollbar's associated widget
|
107
|
+
from an <b>-xscrollcommand</b> or <b>-yscrollcommand</b> callback.
|
108
|
+
Specifies the visible range to be displayed.
|
109
|
+
<i>first</i> and <i>last</i> are real fractions between 0 and 1.
|
110
|
+
</dd>
|
111
|
+
</dle>
|
112
|
+
<dle>
|
113
|
+
<dt><m>pathName</m> <b>state</b> ?<m>stateSpec</m>?</dt>
|
114
|
+
<dd>Modify or query the widget state; see <i>widget(n)</i>.
|
115
|
+
</dd>
|
116
|
+
</dle>
|
117
|
+
</dl>
|
118
|
+
</section>
|
119
|
+
<section>
|
120
|
+
<title>INTERNAL COMMANDS</title>
|
121
|
+
<p>The following widget commands are used internally
|
122
|
+
by the TScrollbar widget class bindings.
|
123
|
+
</p>
|
124
|
+
<dl>
|
125
|
+
<dle>
|
126
|
+
<dt><m>pathName</m> <b>delta</b> <m>deltaX deltaY</m></dt>
|
127
|
+
<dd>Returns a real number indicating the fractional change in
|
128
|
+
the scrollbar setting that corresponds to a given change
|
129
|
+
in thumb position. For example, if the scrollbar is horizontal,
|
130
|
+
the result indicates how much the scrollbar setting must change
|
131
|
+
to move the thumb <i>deltaX</i> pixels to the right (<i>deltaY</i> is
|
132
|
+
ignored in this case).
|
133
|
+
If the scrollbar is vertical, the result indicates how much the
|
134
|
+
scrollbar setting must change to move the thumb <i>deltaY</i> pixels
|
135
|
+
down. The arguments and the result may be zero or negative.
|
136
|
+
</dd>
|
137
|
+
</dle>
|
138
|
+
<dle>
|
139
|
+
<dt><m>pathName</m> <b>fraction</b> <m>x y</m></dt>
|
140
|
+
<dd>Returns a real number between 0 and 1 indicating where the point
|
141
|
+
given by <i>x</i> and <i>y</i> lies in the trough area of the scrollbar,
|
142
|
+
where 0.0 corresponds to the top or left of the trough
|
143
|
+
and 1.0 corresponds to the bottom or right.
|
144
|
+
<i>X</i> and <i>y</i> are pixel coordinates relative to the scrollbar
|
145
|
+
widget.
|
146
|
+
If <i>x</i> and <i>y</i> refer to a point outside the trough, the closest
|
147
|
+
point in the trough is used.
|
148
|
+
</dd>
|
149
|
+
</dle>
|
150
|
+
<dle>
|
151
|
+
<dt><m>pathName</m> <b>identify</b> <m>x y</m></dt>
|
152
|
+
<dd>Returns the name of the element under the point given
|
153
|
+
by <i>x</i> and <i>y</i>, or an empty string if the point does
|
154
|
+
not lie in any element of the scrollbar.
|
155
|
+
<i>X</i> and <i>y</i> are pixel coordinates relative to the scrollbar widget.
|
156
|
+
</dd>
|
157
|
+
</dle>
|
158
|
+
</dl>
|
159
|
+
</section>
|
160
|
+
<section id="scrolling-commands">
|
161
|
+
<title>SCROLLING COMMANDS</title>
|
162
|
+
<p>When the user interacts with the scrollbar, for example by dragging
|
163
|
+
the thumb, the scrollbar notifies the associated widget that it
|
164
|
+
must change its view.
|
165
|
+
The scrollbar makes the notification by evaluating a Tcl command
|
166
|
+
generated from the scrollbar's <b>-command</b> option.
|
167
|
+
The command may take any of the following forms.
|
168
|
+
In each case, <i>prefix</i> is the contents of the
|
169
|
+
<b>-command</b> option, which usually has a form like <b>.t yview</b>
|
170
|
+
</p>
|
171
|
+
<dl>
|
172
|
+
<dle>
|
173
|
+
<dt><m>prefix</m> <b>moveto</b> <m>fraction</m></dt>
|
174
|
+
<dd><i>Fraction</i> is a real number between 0 and 1.
|
175
|
+
The widget should adjust its view so that the point given
|
176
|
+
by <i>fraction</i> appears at the beginning of the widget.
|
177
|
+
If <i>fraction</i> is 0 it refers to the beginning of the
|
178
|
+
document. 1.0 refers to the end of the document, 0.333
|
179
|
+
refers to a point one-third of the way through the document,
|
180
|
+
and so on.
|
181
|
+
</dd>
|
182
|
+
</dle>
|
183
|
+
<dle>
|
184
|
+
<dt><m>prefix</m> <b>scroll</b> <m>number</m> <b>units</b></dt>
|
185
|
+
<dd>The widget should adjust its view by <i>number</i> units.
|
186
|
+
The units are defined in whatever way makes sense for the widget,
|
187
|
+
such as characters or lines in a text widget.
|
188
|
+
<i>Number</i> is either 1, which means one unit should scroll off
|
189
|
+
the top or left of the window, or -1, which means that one unit
|
190
|
+
should scroll off the bottom or right of the window.
|
191
|
+
</dd>
|
192
|
+
</dle>
|
193
|
+
<dle>
|
194
|
+
<dt><m>prefix</m> <b>scroll</b> <m>number</m> <b>pages</b></dt>
|
195
|
+
<dd>The widget should adjust its view by <i>number</i> pages.
|
196
|
+
It is up to the widget to define the meaning of a page; typically
|
197
|
+
it is slightly less than what fits in the window, so that there
|
198
|
+
is a slight overlap between the old and new views.
|
199
|
+
<i>Number</i> is either 1, which means the next page should
|
200
|
+
become visible, or -1, which means that the previous page should
|
201
|
+
become visible.
|
202
|
+
</dd>
|
203
|
+
</dle>
|
204
|
+
</dl>
|
205
|
+
</section>
|
206
|
+
<section>
|
207
|
+
<title>WIDGET STATES</title>
|
208
|
+
<p>The scrollbar automatically sets the <b>disabled</b> state bit.
|
209
|
+
when the entire range is visible (range is 0.0 to 1.0),
|
210
|
+
and clears it otherwise.
|
211
|
+
It also sets the <b>active</b> and <b>pressed</b> state flags
|
212
|
+
of individual elements, based on the position and state of the mouse pointer.
|
213
|
+
</p>
|
214
|
+
</section>
|
215
|
+
<section>
|
216
|
+
<title>EXAMPLE</title>
|
217
|
+
<example>
|
218
|
+
set f [frame .f]
|
219
|
+
ttk::scrollbar $f.hsb -orient horizontal -command [list $f.t xview]
|
220
|
+
ttk::scrollbar $f.vsb -orient vertical -command [list $f.t yview]
|
221
|
+
text $f.t -xscrollcommand [list $f.hsb set] -yscrollcommand [list $f.vsb set]
|
222
|
+
grid $f.t -row 0 -column 0 -sticky nsew
|
223
|
+
grid $f.vsb -row 0 -column 1 -sticky nsew
|
224
|
+
grid $f.hsb -row 1 -column 0 -sticky nsew
|
225
|
+
grid columnconfigure $f 0 -weight 1
|
226
|
+
grid rowconfigure $f 0 -weight 1
|
227
|
+
</example>
|
228
|
+
</section>
|
229
|
+
<keywords>
|
230
|
+
<keyword>scrollbar</keyword>
|
231
|
+
<keyword>widget</keyword>
|
232
|
+
</keywords>
|
233
|
+
</manpage>
|