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,98 @@
|
|
|
1
|
+
<manpage cat="widget" id="frame" title="frame" version="0.7">
|
|
2
|
+
<!-- This file was automatically generated. DO NOT EDIT (yet)! -->
|
|
3
|
+
<!-- Copyright (c) 2005 Joe English
|
|
4
|
+
-->
|
|
5
|
+
<?TROFF.TH title="frame" section="n" date="0.7" source="tile" manual="Tile Widget Set" ?>
|
|
6
|
+
<namesection>
|
|
7
|
+
<name>ttk::frame</name>
|
|
8
|
+
<desc>Simple container widget</desc>
|
|
9
|
+
</namesection>
|
|
10
|
+
<synopsis>
|
|
11
|
+
<syntax>
|
|
12
|
+
<b>ttk::frame</b> <m>pathName</m> ?<m>options</m>?
|
|
13
|
+
</syntax>
|
|
14
|
+
</synopsis>
|
|
15
|
+
<section>
|
|
16
|
+
<title>DESCRIPTION</title>
|
|
17
|
+
<p>A <b cat="AMBIGUOUS widget cmd">frame</b> widget is a container, used to group other widgets together.
|
|
18
|
+
</p>
|
|
19
|
+
</section>
|
|
20
|
+
<section>
|
|
21
|
+
<title>STANDARD OPTIONS</title>
|
|
22
|
+
<sl cat="stdopt" cols="4">
|
|
23
|
+
<li>-class</li>
|
|
24
|
+
<li>-cursor</li>
|
|
25
|
+
<li>-style</li>
|
|
26
|
+
<li>-takefocus</li>
|
|
27
|
+
</sl>
|
|
28
|
+
</section>
|
|
29
|
+
<section>
|
|
30
|
+
<title>OPTIONS</title>
|
|
31
|
+
<optionlist>
|
|
32
|
+
<optiondef>
|
|
33
|
+
<name>-borderwidth</name>
|
|
34
|
+
<dbname>borderWidth</dbname>
|
|
35
|
+
<dbclass>BorderWidth</dbclass>
|
|
36
|
+
<desc>The desired width of the widget border. Defaults to 0.
|
|
37
|
+
</desc>
|
|
38
|
+
</optiondef>
|
|
39
|
+
<optiondef>
|
|
40
|
+
<name>-relief</name>
|
|
41
|
+
<dbname>relief</dbname>
|
|
42
|
+
<dbclass>Relief</dbclass>
|
|
43
|
+
<desc>One of the standard Tk border styles:
|
|
44
|
+
<b>flat</b>, <b>groove</b>, <b>raised</b>, <b>ridge</b>,
|
|
45
|
+
<b>solid</b>, or <b>sunken</b>.
|
|
46
|
+
Defaults to <b>flat</b>.
|
|
47
|
+
</desc>
|
|
48
|
+
</optiondef>
|
|
49
|
+
<optiondef>
|
|
50
|
+
<name>-padding</name>
|
|
51
|
+
<dbname>padding</dbname>
|
|
52
|
+
<dbclass>Padding</dbclass>
|
|
53
|
+
<desc>Additional padding to include inside the border.
|
|
54
|
+
</desc>
|
|
55
|
+
</optiondef>
|
|
56
|
+
<optiondef>
|
|
57
|
+
<name>-width</name>
|
|
58
|
+
<dbname>width</dbname>
|
|
59
|
+
<dbclass>Width</dbclass>
|
|
60
|
+
<desc>If specified, the widget's requested width in pixels.
|
|
61
|
+
</desc>
|
|
62
|
+
</optiondef>
|
|
63
|
+
<optiondef>
|
|
64
|
+
<name>-height</name>
|
|
65
|
+
<dbname>height</dbname>
|
|
66
|
+
<dbclass>Height</dbclass>
|
|
67
|
+
<desc>If specified, the widget's requested height in pixels.
|
|
68
|
+
</desc>
|
|
69
|
+
</optiondef>
|
|
70
|
+
</optionlist>
|
|
71
|
+
</section>
|
|
72
|
+
<section>
|
|
73
|
+
<title>WIDGET COMMAND</title>
|
|
74
|
+
<p>Supports the standard widget commands
|
|
75
|
+
<b>configure</b>, <b>cget</b>, <b>instate</b>, and <b>state</b>;
|
|
76
|
+
see <i>widget(n)</i>.
|
|
77
|
+
</p>
|
|
78
|
+
</section>
|
|
79
|
+
<section>
|
|
80
|
+
<title>NOTES</title>
|
|
81
|
+
<p>Note that if the <cmd>pack</cmd>, <cmd>grid</cmd>, or other geometry managers
|
|
82
|
+
are used to manage the children of the <b cat="AMBIGUOUS widget cmd">frame</b>,
|
|
83
|
+
by the GM's requested size will normally take precedence
|
|
84
|
+
over the <b cat="AMBIGUOUS widget cmd">frame</b> widget's <b>-width</b> and <b>-height</b> options.
|
|
85
|
+
[<b>pack propagate</b>] and [<b>grid propagate</b>] can be used
|
|
86
|
+
to change this.
|
|
87
|
+
</p>
|
|
88
|
+
</section>
|
|
89
|
+
<seealso>
|
|
90
|
+
<ref>widget(n)</ref>
|
|
91
|
+
<ref>labelframe(n)</ref>
|
|
92
|
+
</seealso>
|
|
93
|
+
<keywords>
|
|
94
|
+
<keyword>widget</keyword>
|
|
95
|
+
<keyword>frame</keyword>
|
|
96
|
+
<keyword>container</keyword>
|
|
97
|
+
</keywords>
|
|
98
|
+
</manpage>
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
<manpage cat="cmd" id="image" title="image" version="0.8">
|
|
2
|
+
<!-- This file was automatically generated. DO NOT EDIT (yet)! -->
|
|
3
|
+
<!--
|
|
4
|
+
Copyright (c) 2004 Joe English
|
|
5
|
+
image.n,v 1.3 2006/12/09 20:53:50 jenglish Exp
|
|
6
|
+
-->
|
|
7
|
+
<?TROFF.TH title="image" section="n" date="0.8" source="tile" manual="Tile Widget Set" ?>
|
|
8
|
+
<namesection>
|
|
9
|
+
<name>ttk_image</name>
|
|
10
|
+
<desc>Define an element based on an image</desc>
|
|
11
|
+
</namesection>
|
|
12
|
+
<synopsis>
|
|
13
|
+
<syntax>
|
|
14
|
+
<b>style element create</b> <m>name</m> <b cat="AMBIGUOUS canvasitemtype cmd">image</b> <m>imageSpec</m> ?<m>options</m>?
|
|
15
|
+
</syntax>
|
|
16
|
+
</synopsis>
|
|
17
|
+
<section>
|
|
18
|
+
<title>DESCRIPTION</title>
|
|
19
|
+
<p>The <i>image</i> element factory creates a new element
|
|
20
|
+
in the current theme whose visual appearance is determined
|
|
21
|
+
by Tk images.
|
|
22
|
+
<i>imageSpec</i> is a list of one or more elements.
|
|
23
|
+
The first element is the default image name.
|
|
24
|
+
The rest of the list is a sequence of <i>statespec / value</i>
|
|
25
|
+
pairs specifying other images to use when the element is
|
|
26
|
+
in a particular state or combination of states.
|
|
27
|
+
</p>
|
|
28
|
+
</section>
|
|
29
|
+
<section>
|
|
30
|
+
<title>OPTIONS</title>
|
|
31
|
+
<p>Valid <i>options</i> are:
|
|
32
|
+
</p>
|
|
33
|
+
<dl>
|
|
34
|
+
<dle>
|
|
35
|
+
<dt><b>-border</b> <m>padding</m></dt>
|
|
36
|
+
<dd><i>padding</i> is a list of up to four integers, specifying
|
|
37
|
+
the left, top, right, and bottom borders, respectively.
|
|
38
|
+
See <ref refid="image-stretching">IMAGE STRETCHING</ref>, below.
|
|
39
|
+
</dd>
|
|
40
|
+
</dle>
|
|
41
|
+
<dle>
|
|
42
|
+
<dt><b>-height</b> <m>height</m></dt>
|
|
43
|
+
<dd>Specifies a minimum height for the element.
|
|
44
|
+
If less than zero, the base image's height is used as a default.
|
|
45
|
+
</dd>
|
|
46
|
+
</dle>
|
|
47
|
+
<dle>
|
|
48
|
+
<dt><b>-padding</b> <m>padding</m></dt>
|
|
49
|
+
<dd>Specifies the element's interior padding. Defaults to
|
|
50
|
+
<i>-border</i> if not specified.
|
|
51
|
+
</dd>
|
|
52
|
+
</dle>
|
|
53
|
+
<dle>
|
|
54
|
+
<dt><b>-sticky</b> <m>spec</m></dt>
|
|
55
|
+
<dd>Specifies how the image is placed within the final parcel.
|
|
56
|
+
<i>spec</i> contains zero or more characters "n", "s", "w", or "e".
|
|
57
|
+
</dd>
|
|
58
|
+
</dle>
|
|
59
|
+
<dle>
|
|
60
|
+
<dt><b>-width</b> <m>width</m></dt>
|
|
61
|
+
<dd>Specifies a minimum width for the element.
|
|
62
|
+
If less than zero, the base image's width is used as a default.
|
|
63
|
+
|
|
64
|
+
</dd>
|
|
65
|
+
</dle>
|
|
66
|
+
</dl>
|
|
67
|
+
</section>
|
|
68
|
+
<section id="image-stretching">
|
|
69
|
+
<title>IMAGE STRETCHING</title>
|
|
70
|
+
<p>If the element's allocated parcel is larger than the image,
|
|
71
|
+
the image will be placed in the parcel based on the <b>-sticky</b> option.
|
|
72
|
+
If the image needs to stretch horizontally (i.e., <b>-sticky ew</b>)
|
|
73
|
+
or vertically (<b>-sticky ns</b>),
|
|
74
|
+
subregions of the image are replicated to fill the parcel
|
|
75
|
+
based on the <b>-border</b> option.
|
|
76
|
+
The <b>-border</b> divides the image into 9 regions:
|
|
77
|
+
four fixed corners, top and left edges (which may be tiled horizontally),
|
|
78
|
+
left and right edges (which may be tiled vertically),
|
|
79
|
+
and the central area (which may be tiled in both directions).
|
|
80
|
+
</p>
|
|
81
|
+
</section>
|
|
82
|
+
<section>
|
|
83
|
+
<title>EXAMPLE</title>
|
|
84
|
+
<example>
|
|
85
|
+
set img1 [image create photo -file button.png]
|
|
86
|
+
set img2 [image create photo -file button-pressed.png]
|
|
87
|
+
set img3 [image create photo -file button-active.png]
|
|
88
|
+
style element create Button.button image \
|
|
89
|
+
[list $img1 pressed $img2 active $img3] \
|
|
90
|
+
-border {2 4} -sticky we
|
|
91
|
+
</example>
|
|
92
|
+
</section>
|
|
93
|
+
<seealso>
|
|
94
|
+
<ref>image(n)</ref>
|
|
95
|
+
<ref>photo(n)</ref>
|
|
96
|
+
</seealso>
|
|
97
|
+
<keywords>
|
|
98
|
+
<keyword>pixmap theme</keyword>
|
|
99
|
+
<keyword>image</keyword>
|
|
100
|
+
</keywords>
|
|
101
|
+
</manpage>
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
<manpage cat="widget" id="label" title="label" 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="label" section="n" date="0.2" source="tile" manual="Tile Widget Set" ?>
|
|
7
|
+
<namesection>
|
|
8
|
+
<name>ttk::label</name>
|
|
9
|
+
<desc>Display a text string and/or image</desc>
|
|
10
|
+
</namesection>
|
|
11
|
+
<synopsis>
|
|
12
|
+
<syntax>
|
|
13
|
+
<b>ttk::label</b> <m>pathName</m> ?<m>options</m>?
|
|
14
|
+
</syntax>
|
|
15
|
+
</synopsis>
|
|
16
|
+
<section>
|
|
17
|
+
<title>DESCRIPTION</title>
|
|
18
|
+
<p>A <b cat="AMBIGUOUS widget cmd">label</b> widget displays a textual label and/or image.
|
|
19
|
+
The label may be linked to a Tcl variable
|
|
20
|
+
to automatically change the displayed text.
|
|
21
|
+
</p>
|
|
22
|
+
</section>
|
|
23
|
+
<section>
|
|
24
|
+
<title>STANDARD OPTIONS</title>
|
|
25
|
+
<sl cat="stdopt" cols="4">
|
|
26
|
+
<li>-class</li>
|
|
27
|
+
<li>-compound</li>
|
|
28
|
+
<li>-cursor</li>
|
|
29
|
+
<li>-image</li>
|
|
30
|
+
<li>-style</li>
|
|
31
|
+
<li>-takefocus</li>
|
|
32
|
+
<li>-text</li>
|
|
33
|
+
<li>-textvariable</li>
|
|
34
|
+
<li>-underline</li>
|
|
35
|
+
<li>-width</li>
|
|
36
|
+
</sl>
|
|
37
|
+
</section>
|
|
38
|
+
<section>
|
|
39
|
+
<title>OPTIONS</title>
|
|
40
|
+
<optionlist>
|
|
41
|
+
<optiondef>
|
|
42
|
+
<name>-anchor</name>
|
|
43
|
+
<dbname>anchor</dbname>
|
|
44
|
+
<dbclass>Anchor</dbclass>
|
|
45
|
+
<desc>Specifies how the information in the widget is positioned
|
|
46
|
+
relative to the inner margins. Legal values are
|
|
47
|
+
<b>n</b>, <b>ne</b>, <b>e</b>, <b>se</b>,
|
|
48
|
+
<b>s</b>, <b>sw</b>, <b>w</b>, <b>nw</b>, and <b>center</b>.
|
|
49
|
+
See also <b>-justify</b>.
|
|
50
|
+
</desc>
|
|
51
|
+
</optiondef>
|
|
52
|
+
<optiondef>
|
|
53
|
+
<name>-background</name>
|
|
54
|
+
<dbname>frameColor</dbname>
|
|
55
|
+
<dbclass>FrameColor</dbclass>
|
|
56
|
+
<desc>The widget's background color.
|
|
57
|
+
If unspecified, the theme default is used.
|
|
58
|
+
</desc>
|
|
59
|
+
</optiondef>
|
|
60
|
+
<optiondef>
|
|
61
|
+
<name>-font</name>
|
|
62
|
+
<dbname>font</dbname>
|
|
63
|
+
<dbclass>Font</dbclass>
|
|
64
|
+
<desc>Font to use for label text.
|
|
65
|
+
</desc>
|
|
66
|
+
</optiondef>
|
|
67
|
+
<optiondef>
|
|
68
|
+
<name>-foreground</name>
|
|
69
|
+
<dbname>textColor</dbname>
|
|
70
|
+
<dbclass>TextColor</dbclass>
|
|
71
|
+
<desc>The widget's foreground color.
|
|
72
|
+
If unspecified, the theme default is used.
|
|
73
|
+
</desc>
|
|
74
|
+
</optiondef>
|
|
75
|
+
<optiondef>
|
|
76
|
+
<name>-justify</name>
|
|
77
|
+
<dbname>justify</dbname>
|
|
78
|
+
<dbclass>Justify</dbclass>
|
|
79
|
+
<desc>If there are multiple lines of text, specifies how
|
|
80
|
+
the lines are laid out relative to one another.
|
|
81
|
+
One of <b>left</b>, <b>center</b>, or <b>right</b>.
|
|
82
|
+
See also <b>-anchor</b>.
|
|
83
|
+
</desc>
|
|
84
|
+
</optiondef>
|
|
85
|
+
<optiondef>
|
|
86
|
+
<name>-padding</name>
|
|
87
|
+
<dbname>padding</dbname>
|
|
88
|
+
<dbclass>Padding</dbclass>
|
|
89
|
+
<desc>Specifies the amount of extra space to allocate for the widget.
|
|
90
|
+
The padding is a list of up to four length specifications
|
|
91
|
+
<i>left top right bottom</i>.
|
|
92
|
+
If fewer than four elements are specified,
|
|
93
|
+
<i>bottom</i> defaults to <i>top</i>,
|
|
94
|
+
<i>right</i> defaults to <i>left</i>, and
|
|
95
|
+
<i>top</i> defaults to <i>left</i>.
|
|
96
|
+
</desc>
|
|
97
|
+
</optiondef>
|
|
98
|
+
<optiondef>
|
|
99
|
+
<name>-relief</name>
|
|
100
|
+
<dbname>relief</dbname>
|
|
101
|
+
<dbclass>Relief</dbclass>
|
|
102
|
+
<desc>Specifies the 3-D effect desired for the widget border.
|
|
103
|
+
Valid values are
|
|
104
|
+
<b>flat</b>, <b>groove</b>, <b>raised</b>, <b>ridge</b>, <b>solid</b>,
|
|
105
|
+
and <b>sunken</b>.
|
|
106
|
+
</desc>
|
|
107
|
+
</optiondef>
|
|
108
|
+
<optiondef>
|
|
109
|
+
<name>-text</name>
|
|
110
|
+
<dbname>text</dbname>
|
|
111
|
+
<dbclass>Text</dbclass>
|
|
112
|
+
<desc>Specifies a text string to be displayed inside the widget
|
|
113
|
+
(unless overridden by <b>-textvariable</b>).
|
|
114
|
+
</desc>
|
|
115
|
+
</optiondef>
|
|
116
|
+
<optiondef>
|
|
117
|
+
<name>-wraplength</name>
|
|
118
|
+
<dbname>wrapLength</dbname>
|
|
119
|
+
<dbclass>WrapLength</dbclass>
|
|
120
|
+
<desc>Specifies the maximum line length (in pixels).
|
|
121
|
+
If this option is less than or equal to zero,
|
|
122
|
+
then automatic wrapping is not performed; otherwise
|
|
123
|
+
the text is split into lines such that no line is longer
|
|
124
|
+
than the specified value.
|
|
125
|
+
</desc>
|
|
126
|
+
</optiondef>
|
|
127
|
+
</optionlist>
|
|
128
|
+
</section>
|
|
129
|
+
<section>
|
|
130
|
+
<title>WIDGET COMMAND</title>
|
|
131
|
+
<dl>
|
|
132
|
+
<dle>
|
|
133
|
+
<dt><m>pathName</m> <b>cget</b> <m>option</m></dt>
|
|
134
|
+
<dd/>
|
|
135
|
+
</dle>
|
|
136
|
+
<dle>
|
|
137
|
+
<dt><m>pathName</m> <b>configure</b> ?<m>option</m>? ?<m>value option value ...</m>?</dt>
|
|
138
|
+
<dd/>
|
|
139
|
+
</dle>
|
|
140
|
+
<dle>
|
|
141
|
+
<dt><m>pathName</m> <b>instate</b> <m>statespec</m> ?<m>script</m>?</dt>
|
|
142
|
+
<dd/>
|
|
143
|
+
</dle>
|
|
144
|
+
<dle>
|
|
145
|
+
<dt><m>pathName</m> <b>state</b> ?<m>stateSpec</m>?</dt>
|
|
146
|
+
<dd>See <i>widget(n)</i>
|
|
147
|
+
</dd>
|
|
148
|
+
</dle>
|
|
149
|
+
</dl>
|
|
150
|
+
</section>
|
|
151
|
+
<seealso>
|
|
152
|
+
<ref>widget(n)</ref>
|
|
153
|
+
</seealso>
|
|
154
|
+
</manpage>
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
<manpage cat="widget" id="labelframe" title="labelframe" version="0.7">
|
|
2
|
+
<!-- This file was automatically generated. DO NOT EDIT (yet)! -->
|
|
3
|
+
<!-- Copyright (c) 2005 Joe English
|
|
4
|
+
-->
|
|
5
|
+
<?TROFF.TH title="labelframe" section="n" date="0.7" source="tile" manual="Tile Widget Set" ?>
|
|
6
|
+
<namesection>
|
|
7
|
+
<name>ttk::labelframe</name>
|
|
8
|
+
<desc>Container widget with optional label</desc>
|
|
9
|
+
</namesection>
|
|
10
|
+
<synopsis>
|
|
11
|
+
<syntax>
|
|
12
|
+
<b>ttk::labelframe</b> <m>pathName</m> ?<m>options</m>?
|
|
13
|
+
</syntax>
|
|
14
|
+
</synopsis>
|
|
15
|
+
<section>
|
|
16
|
+
<title>DESCRIPTION</title>
|
|
17
|
+
<p>A <b cat="AMBIGUOUS widget cmd">labelframe</b> widget is a container used to group other widgets together.
|
|
18
|
+
It has an optional label, which may be a plain text string or another widget.
|
|
19
|
+
</p>
|
|
20
|
+
</section>
|
|
21
|
+
<section>
|
|
22
|
+
<title>STANDARD OPTIONS</title>
|
|
23
|
+
<sl cat="stdopt" cols="4">
|
|
24
|
+
<li>-class</li>
|
|
25
|
+
<li>-cursor</li>
|
|
26
|
+
<li>-style</li>
|
|
27
|
+
<li>-takefocus</li>
|
|
28
|
+
</sl>
|
|
29
|
+
</section>
|
|
30
|
+
<section>
|
|
31
|
+
<title>OPTIONS</title>
|
|
32
|
+
<optionlist>
|
|
33
|
+
<optiondef>
|
|
34
|
+
<name>-labelanchor</name>
|
|
35
|
+
<dbname>labelAnchor</dbname>
|
|
36
|
+
<dbclass>LabelAnchor</dbclass>
|
|
37
|
+
<desc>Specifies where to place the label.
|
|
38
|
+
Allowed values are (clockwise from the top upper left corner):
|
|
39
|
+
<b>nw</b>, <b>n</b>, <b>ne</b>, <b>en</b>, <b>e</b>, <b>es</b>,
|
|
40
|
+
<b>se</b>, <b>s</b>,<b>sw</b>, <b>ws</b>, <b>w</b> and <b>wn</b>.
|
|
41
|
+
The default value is theme-dependent.
|
|
42
|
+
</desc>
|
|
43
|
+
</optiondef>
|
|
44
|
+
<optiondef>
|
|
45
|
+
<name>-text</name>
|
|
46
|
+
<dbname>text</dbname>
|
|
47
|
+
<dbclass>Text</dbclass>
|
|
48
|
+
<desc>Specifies the text of the label.
|
|
49
|
+
</desc>
|
|
50
|
+
</optiondef>
|
|
51
|
+
<optiondef>
|
|
52
|
+
<name>-underline</name>
|
|
53
|
+
<dbname>underline</dbname>
|
|
54
|
+
<dbclass>Underline</dbclass>
|
|
55
|
+
<desc>If set, specifies the integer index (0-based) of a character to
|
|
56
|
+
underline in the text string.
|
|
57
|
+
The underlined character is used for mnemonic activation
|
|
58
|
+
(see <i>keynav(n)</i>).
|
|
59
|
+
Mnemonic activation for a <b>ttk::labelframe</b>
|
|
60
|
+
sets the keyboard focus to the first child of the <b>ttk::labelframe</b> widget.
|
|
61
|
+
</desc>
|
|
62
|
+
</optiondef>
|
|
63
|
+
<optiondef>
|
|
64
|
+
<name>-padding</name>
|
|
65
|
+
<dbname>padding</dbname>
|
|
66
|
+
<dbclass>Padding</dbclass>
|
|
67
|
+
<desc>Additional padding to include inside the border.
|
|
68
|
+
</desc>
|
|
69
|
+
</optiondef>
|
|
70
|
+
<optiondef>
|
|
71
|
+
<name>-labelwidget</name>
|
|
72
|
+
<dbname>labelWidget</dbname>
|
|
73
|
+
<dbclass>LabelWidget</dbclass>
|
|
74
|
+
<desc>The name of a widget to use for the label.
|
|
75
|
+
If set, overrides the <b>-text</b> option.
|
|
76
|
+
The <b>-labelwidget</b> must be a child of the <b cat="AMBIGUOUS widget cmd">labelframe</b> widget
|
|
77
|
+
or one of the <b cat="AMBIGUOUS widget cmd">labelframe</b>'s ancestors, and must belong to the
|
|
78
|
+
same top-level widget as the <b cat="AMBIGUOUS widget cmd">labelframe</b>.
|
|
79
|
+
</desc>
|
|
80
|
+
</optiondef>
|
|
81
|
+
<optiondef>
|
|
82
|
+
<name>-width</name>
|
|
83
|
+
<dbname>width</dbname>
|
|
84
|
+
<dbclass>Width</dbclass>
|
|
85
|
+
<desc>If specified, the widget's requested width in pixels.
|
|
86
|
+
</desc>
|
|
87
|
+
</optiondef>
|
|
88
|
+
<optiondef>
|
|
89
|
+
<name>-height</name>
|
|
90
|
+
<dbname>height</dbname>
|
|
91
|
+
<dbclass>Height</dbclass>
|
|
92
|
+
<desc>If specified, the widget's requested height in pixels.
|
|
93
|
+
(See <i>ttk::frame</i> for further notes on <b>-width</b> and <b>-height</b>).
|
|
94
|
+
</desc>
|
|
95
|
+
</optiondef>
|
|
96
|
+
</optionlist>
|
|
97
|
+
</section>
|
|
98
|
+
<section>
|
|
99
|
+
<title>WIDGET COMMAND</title>
|
|
100
|
+
<p>Supports the standard widget commands
|
|
101
|
+
<b>configure</b>, <b>cget</b>, <b>instate</b>, and <b>state</b>;
|
|
102
|
+
see <i>widget(n)</i>.
|
|
103
|
+
</p>
|
|
104
|
+
</section>
|
|
105
|
+
<seealso>
|
|
106
|
+
<ref>widget(n)</ref>
|
|
107
|
+
<ref>frame(n)</ref>
|
|
108
|
+
</seealso>
|
|
109
|
+
<keywords>
|
|
110
|
+
<keyword>widget</keyword>
|
|
111
|
+
<keyword>frame</keyword>
|
|
112
|
+
<keyword>container</keyword>
|
|
113
|
+
<keyword>label</keyword>
|
|
114
|
+
<keyword>groupbox</keyword>
|
|
115
|
+
</keywords>
|
|
116
|
+
</manpage>
|