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,95 @@
|
|
|
1
|
+
'\" paned.n,v 1.8 2007/12/12 15:55:15 jenglish Exp
|
|
2
|
+
'\" Copyright (c) 2005 Joe English
|
|
3
|
+
.so man.macros
|
|
4
|
+
.TH panedwindow n 0.7 tile "Tile Widget Set"
|
|
5
|
+
.BS
|
|
6
|
+
.SH "NAME"
|
|
7
|
+
ttk::panedwindow \- Multi-pane container window
|
|
8
|
+
.SH SYNOPSIS
|
|
9
|
+
.nf
|
|
10
|
+
\fBttk::panedwindow\fR \fIpathName \fR?\fIoptions\fR?
|
|
11
|
+
.br
|
|
12
|
+
\fIpathName \fBadd\fR \fIwindow\fR ?\fIoptions...\fR?
|
|
13
|
+
\fIpathName \fBinsert\fR \fIindex\fR \fIwindow\fR ?\fIoptions...\fR?
|
|
14
|
+
.fi
|
|
15
|
+
.BE
|
|
16
|
+
.SH "DESCRIPTION"
|
|
17
|
+
A panedwindow widget displays a number of subwindows,
|
|
18
|
+
stacked either vertically or horizontally.
|
|
19
|
+
The user may adjust the relative sizes of the subwindows
|
|
20
|
+
by dragging the sash between panes.
|
|
21
|
+
.SO
|
|
22
|
+
\-class \-cursor \-takefocus \-style
|
|
23
|
+
.SE
|
|
24
|
+
.SH "WIDGET OPTIONS"
|
|
25
|
+
.OP \-orient orient Orient
|
|
26
|
+
Specifies the orientation of the window.
|
|
27
|
+
If \fBvertical\fR, subpanes are stacked top-to-bottom;
|
|
28
|
+
if \fBhorizontal\fR, subpanes are stacked left-to-right.
|
|
29
|
+
.OP \-width width Width
|
|
30
|
+
If present and greater than zero,
|
|
31
|
+
specifies the desired width of the widget in pixels.
|
|
32
|
+
Otherwise, the requested width is determined by the width
|
|
33
|
+
of the managed windows.
|
|
34
|
+
.OP \-height height Height
|
|
35
|
+
If present and greater than zero,
|
|
36
|
+
specifies the desired height of the widget in pixels.
|
|
37
|
+
Otherwise, the requested height is determined by the height
|
|
38
|
+
of the managed windows.
|
|
39
|
+
.SH "PANE OPTIONS"
|
|
40
|
+
The following options may be specified for each pane:
|
|
41
|
+
.OP \-weight weight Weight
|
|
42
|
+
An integer specifying the relative stretchability of the pane.
|
|
43
|
+
When the panedwindow is resized, the extra space is added
|
|
44
|
+
or subtracted to each pane proportionally to its \fB-weight\fR.
|
|
45
|
+
.SH "WIDGET COMMAND"
|
|
46
|
+
Supports the standard \fBconfigure\fR, \fBcget\fR, \fBstate\fR,
|
|
47
|
+
and \fBinstate\fR commands; see \fIwidget(n)\fR for details.
|
|
48
|
+
Additional commands:
|
|
49
|
+
.TP
|
|
50
|
+
\fIpathname\fR \fBadd\fR \fIsubwindow\fR \fIoptions...\fR
|
|
51
|
+
Adds a new pane to the window.
|
|
52
|
+
\fIsubwindow\fR must be a direct child of the panedwindow \fIpathname\fR.
|
|
53
|
+
See \fBPANE OPTIONS\fR for the list of available options.
|
|
54
|
+
.TP
|
|
55
|
+
\fIpathname \fBforget \fIpane\fR
|
|
56
|
+
Removes the specified subpane from the widget.
|
|
57
|
+
\fIpane\fR is either an integer index or the name of a managed subwindow.
|
|
58
|
+
.TP
|
|
59
|
+
\fIpathname \fBinsert\fR \fIpos\fR \fIsubwindow\fR \fIoptions...\fR
|
|
60
|
+
Inserts a pane at the specified position.
|
|
61
|
+
\fIpos\fR is either the string \fBend\fR, an integer index,
|
|
62
|
+
or the name of a managed subwindow.
|
|
63
|
+
If \fIsubwindow\fR is already managed by the panedwindow,
|
|
64
|
+
moves it to the specified position.
|
|
65
|
+
See \fBPANE OPTIONS\fR for the list of available options.
|
|
66
|
+
.TP
|
|
67
|
+
\fIpathname \fBpane \fIpane -option \fR?\fIvalue \fR?\fI-option value...\fR
|
|
68
|
+
Query or modify the options of the specified \fIpane\fR,
|
|
69
|
+
where \fIpane\fR is either an integer index or the name of a managed subwindow.
|
|
70
|
+
If no \fI-option\fR is specified, returns a dictionary of the pane
|
|
71
|
+
option values.
|
|
72
|
+
If one \fI-option\fR is specified, returns the value of that \fIoption\fR.
|
|
73
|
+
Otherwise, sets the \fI-option\fRs to the corresponding \fIvalue\fRs.
|
|
74
|
+
.TP
|
|
75
|
+
\fIpathname \fBpanes\fR
|
|
76
|
+
Returns the list of all windows managed by the widget.
|
|
77
|
+
.TP
|
|
78
|
+
\fIpathname\fR \fBsashpos\fR \fIindex\fR ?\fInewpos\fR?
|
|
79
|
+
If \fInewpos\fR is specified, sets the position
|
|
80
|
+
of sash number \fIindex\fR.
|
|
81
|
+
May adjust the positions of adjacent sashes
|
|
82
|
+
to ensure that positions are monotonically increasing.
|
|
83
|
+
Sash positions are further constrained to be between 0
|
|
84
|
+
and the total size of the widget.
|
|
85
|
+
.\" Full story: "total size" is either the -height (resp -width),
|
|
86
|
+
.\" or the actual window height (resp actual window width),
|
|
87
|
+
.\" depending on which changed most recently.
|
|
88
|
+
Returns the new position of sash number \fIindex\fR.
|
|
89
|
+
.\" Full story: new position may be different than the requested position.
|
|
90
|
+
.TP
|
|
91
|
+
\fIpathname\fR \fBidentify\fR \fIx y\fR
|
|
92
|
+
Returns the index of the sash at point \fIx,y\fR,
|
|
93
|
+
or the empty string if \fIx,y\fR is not over a sash.
|
|
94
|
+
.SH "SEE ALSO"
|
|
95
|
+
widget(n), notebook(n)
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
'\"
|
|
2
|
+
'\" Copyright (c) 2005 Joe English
|
|
3
|
+
'\"
|
|
4
|
+
.so man.macros
|
|
5
|
+
.TH progressbar n 0.6 tile "Tile Widget Set"
|
|
6
|
+
.BS
|
|
7
|
+
.SH NAME
|
|
8
|
+
ttk::progressbar \- Provide progress feedback
|
|
9
|
+
.SH SYNOPSIS
|
|
10
|
+
\fBttk::progressbar\fR \fIpathName \fR?\fIoptions\fR?
|
|
11
|
+
.SO
|
|
12
|
+
\-class \-cursor \-takefocus \-style
|
|
13
|
+
.SE
|
|
14
|
+
.SH "OPTIONS"
|
|
15
|
+
.OP \-orient orient Orient
|
|
16
|
+
One of \fBhorizontal\fR or \fBvertical\fR.
|
|
17
|
+
Specifies the orientation of the progress bar.
|
|
18
|
+
.OP \-length length Length
|
|
19
|
+
Specifies the length of the long axis of the progress bar
|
|
20
|
+
(width if horizontal, height if vertical).
|
|
21
|
+
.OP \-mode mode Mode
|
|
22
|
+
One of \fBdeterminate\fR or \fBindeterminate\fR.
|
|
23
|
+
.OP \-maximum maximum Maximum
|
|
24
|
+
A floating point number specifying the maximum \fB-value\fR.
|
|
25
|
+
Defaults to 100.
|
|
26
|
+
.OP \-value value Value
|
|
27
|
+
The current value of the progress bar.
|
|
28
|
+
In \fIdeterminate\fR mode, this represents the amount of work completed.
|
|
29
|
+
In \fIindeterminate\fR mode, it is interpreted modulo \fB-maximum\fR;
|
|
30
|
+
that is, the progress bar completes one "cycle" when
|
|
31
|
+
the \fB-value\fR increases by \fB-maximum\fR.
|
|
32
|
+
.OP \-variable variable Variable
|
|
33
|
+
The name of a Tcl variable which is linked to the \fB-value\fR.
|
|
34
|
+
If specified, the \fB-value\fR of the progress bar is
|
|
35
|
+
automatically set to the value of the variable whenever
|
|
36
|
+
the latter is modified.
|
|
37
|
+
.OP \-phase phase Phase
|
|
38
|
+
Read-only option.
|
|
39
|
+
The widget periodically increments the value of this option
|
|
40
|
+
whenever the \fB-value\fR is greater than 0 and,
|
|
41
|
+
in \fIdeterminate\fR mode, less than \fB-maximum\fR.
|
|
42
|
+
This option may be used by the current theme
|
|
43
|
+
to provide additional animation effects.
|
|
44
|
+
.BE
|
|
45
|
+
.SH "DESCRIPTION"
|
|
46
|
+
A progress bar widget shows the status of a long-running operation.
|
|
47
|
+
They can operate in two modes: \fIdeterminate\fR mode shows the
|
|
48
|
+
amount completed relative to the total amount of work to be done,
|
|
49
|
+
and \fIindeterminate\fR mode provides an animated display to
|
|
50
|
+
let the user know that something is happening.
|
|
51
|
+
.SH "WIDGET COMMAND"
|
|
52
|
+
.TP
|
|
53
|
+
\fIpathName \fBcget\fR \fIoption\fR
|
|
54
|
+
Returns the current value of the specified \fIoption\fR; see \fIwidget(n)\fR.
|
|
55
|
+
.TP
|
|
56
|
+
\fIpathName \fBconfigure\fR ?\fIoption\fR? ?\fIvalue option value ...\fR?
|
|
57
|
+
Modify or query widget options; see \fIwidget(n)\fR.
|
|
58
|
+
.TP
|
|
59
|
+
\fIpathName \fBinstate \fIstatespec\fR ?\fIscript\fR?
|
|
60
|
+
Test the widget state; see \fIwidget(n)\fR.
|
|
61
|
+
.TP
|
|
62
|
+
\fIpathName \fBstart\fR ?\fIinterval\fR?
|
|
63
|
+
Begin autoincrement mode:
|
|
64
|
+
schedules a recurring timer event that calls \fBstep\fR
|
|
65
|
+
every \fIinterval\fR milliseconds.
|
|
66
|
+
If omitted, \fIinterval\fR defaults to 50 milliseconds (20 steps/second).
|
|
67
|
+
.TP
|
|
68
|
+
\fIpathName \fBstate\fR ?\fIstateSpec\fR?
|
|
69
|
+
Modify or query the widget state; see \fIwidget(n)\fR.
|
|
70
|
+
.TP
|
|
71
|
+
\fIpathName \fBstep\fR ?\fIamount\fR?
|
|
72
|
+
Increments the \fB-value\fR by \fIamount\fR.
|
|
73
|
+
\fIamount\fR defaults to 1.0 if omitted.
|
|
74
|
+
.TP
|
|
75
|
+
\fIpathName \fBstop\fR
|
|
76
|
+
Stop autoincrement mode:
|
|
77
|
+
cancels any recurring timer event initiated by \fIpathName \fBstart\fR.
|
|
78
|
+
.SH "SEE ALSO"
|
|
79
|
+
widget(n)
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
'\"
|
|
2
|
+
'\" Copyright (c) 2004 Joe English
|
|
3
|
+
'\"
|
|
4
|
+
.so man.macros
|
|
5
|
+
.TH radiobutton n 0.2 tile "Tile Widget Set"
|
|
6
|
+
.BS
|
|
7
|
+
.SH NAME
|
|
8
|
+
ttk::radiobutton \- Mutually exclusive option widget
|
|
9
|
+
.SH SYNOPSIS
|
|
10
|
+
\fBttk::radiobutton\fR \fIpathName \fR?\fIoptions\fR?
|
|
11
|
+
.BE
|
|
12
|
+
.SH DESCRIPTION
|
|
13
|
+
\fBradiobutton\fR widgets are used in groups to show or change
|
|
14
|
+
a set of mutually-exclusive options.
|
|
15
|
+
Radiobuttons are linked to a Tcl variable,
|
|
16
|
+
and have an associated value; when a radiobutton is clicked,
|
|
17
|
+
it sets the variable to its associated value.
|
|
18
|
+
.SO
|
|
19
|
+
\-class \-compound \-cursor \-image
|
|
20
|
+
\-state \-style \-takefocus \-text
|
|
21
|
+
\-textvariable \-underline \-width
|
|
22
|
+
.SE
|
|
23
|
+
.SH "OPTIONS"
|
|
24
|
+
.OP \-command command Command
|
|
25
|
+
A Tcl script to evaluate whenever the widget is invoked.
|
|
26
|
+
.OP \-value Value Value
|
|
27
|
+
The value to store in the associated \fI-variable\fR
|
|
28
|
+
when the widget is selected.
|
|
29
|
+
.OP \-variable variable Variable
|
|
30
|
+
The name of a global variable whose value is linked to the widget.
|
|
31
|
+
Default value is \fB::selectedButton\fR.
|
|
32
|
+
.SH "WIDGET COMMAND"
|
|
33
|
+
In addition to the standard
|
|
34
|
+
\fBcget\fR, \fBconfigure\fR, \fBinstate\fR, and \fBstate\fR
|
|
35
|
+
commands, radiobuttons support the following additional
|
|
36
|
+
widget commands:
|
|
37
|
+
.TP
|
|
38
|
+
\fIpathname\fR invoke
|
|
39
|
+
Sets the \fI-variable\fR to the \fI-value\fR, selects the widget,
|
|
40
|
+
and evaluates the associated \fI-command\fR.
|
|
41
|
+
Returns the result of the \fI-command\fR, or the empty
|
|
42
|
+
string if no \fI-command\fR is specified.
|
|
43
|
+
.\" Missing: select, deselect. Useful?
|
|
44
|
+
.\" Missing: flash. This is definitely not useful.
|
|
45
|
+
.SH "WIDGET STATES"
|
|
46
|
+
The widget does not respond to user input if the \fBdisabled\fR state is set.
|
|
47
|
+
The widget sets the \fBselected\fR state whenever
|
|
48
|
+
the linked \fB-variable\fR is set to the widget's \fB-value\fR,
|
|
49
|
+
and clears it otherwise.
|
|
50
|
+
The widget sets the \fBalternate\fR state whenever the
|
|
51
|
+
linked \fB-variable\fR is unset.
|
|
52
|
+
(The \fBalternate\fR state may be used to indicate a ``tri-state''
|
|
53
|
+
or ``indeterminate'' selection.)
|
|
54
|
+
.SH "SEE ALSO"
|
|
55
|
+
widget(n), keynav(n), checkbutton(n)
|
|
56
|
+
.SH "KEYWORDS"
|
|
57
|
+
widget, button, option
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
'\"
|
|
2
|
+
'\" SOURCE: tk/doc/scrollbar.n, r1.4
|
|
3
|
+
'\"
|
|
4
|
+
'\" Copyright (c) 1990-1994 The Regents of the University of California.
|
|
5
|
+
'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
|
|
6
|
+
'\" Copyright (c) 2004 Joe English
|
|
7
|
+
'\"
|
|
8
|
+
'\" See the file "license.terms" for information on usage and redistribution
|
|
9
|
+
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
|
10
|
+
'\"
|
|
11
|
+
'\" scrollbar.n,v 1.4 2006/11/27 05:45:02 jenglish Exp
|
|
12
|
+
'\"
|
|
13
|
+
.so man.macros
|
|
14
|
+
.TH scrollbar n 0.5 tile "Tile Widget Set"
|
|
15
|
+
.BS
|
|
16
|
+
.SH NAME
|
|
17
|
+
ttk::scrollbar \- Control the viewport of a scrollable widget
|
|
18
|
+
.SH SYNOPSIS
|
|
19
|
+
\fBttk::scrollbar\fR \fIpathName \fR?\fIoptions...\fR?
|
|
20
|
+
.SO
|
|
21
|
+
\-class \-cursor \-style \-takefocus
|
|
22
|
+
.SE
|
|
23
|
+
.SH "WIDGET-SPECIFIC OPTIONS"
|
|
24
|
+
.OP \-command command Command
|
|
25
|
+
A Tcl script prefix to evaluate
|
|
26
|
+
to change the view in the widget associated with the scrollbar.
|
|
27
|
+
Additional arguments are appended to the value of this option,
|
|
28
|
+
as described in \fBSCROLLING COMMANDS\fR below,
|
|
29
|
+
whenever the user requests a view change by manipulating the scrollbar.
|
|
30
|
+
.br
|
|
31
|
+
This option typically consists of a two-element list,
|
|
32
|
+
containing the name of a scrollable widget followed by
|
|
33
|
+
either \fBxview\fR (for horizontal scrollbars)
|
|
34
|
+
or \fByview\fR (for vertical scrollbars).
|
|
35
|
+
.OP \-orient orient Orient
|
|
36
|
+
One of \fBhorizontal\fR or \fBvertical\fR.
|
|
37
|
+
Specifies the orientation of the scrollbar.
|
|
38
|
+
.BE
|
|
39
|
+
|
|
40
|
+
.SH DESCRIPTION
|
|
41
|
+
Scrollbar widgets are typically linked to an associated window
|
|
42
|
+
that displays a document of some sort,
|
|
43
|
+
such as a file being edited or a drawing.
|
|
44
|
+
A scrollbar displays a \fIthumb\fR in the
|
|
45
|
+
middle portion of the scrollbar,
|
|
46
|
+
whose position and size provides information
|
|
47
|
+
about the portion of the document visible in
|
|
48
|
+
the associated window.
|
|
49
|
+
The thumb may be dragged by the user to control the
|
|
50
|
+
visible region.
|
|
51
|
+
Depending on the theme, two or more arrow buttons may also be present;
|
|
52
|
+
these are used to scroll the visible region in discrete units.
|
|
53
|
+
.SH "WIDGET COMMAND"
|
|
54
|
+
.TP
|
|
55
|
+
\fIpathName \fBcget\fR \fIoption\fR
|
|
56
|
+
Returns the current value of the specified \fIoption\fR; see \fIwidget(n)\fR.
|
|
57
|
+
.TP
|
|
58
|
+
\fIpathName \fBconfigure\fR ?\fIoption\fR? ?\fIvalue option value ...\fR?
|
|
59
|
+
Modify or query widget options; see \fIwidget(n)\fR.
|
|
60
|
+
.TP
|
|
61
|
+
\fIpathName \fBget\fR
|
|
62
|
+
Returns the scrollbar settings in the form of a list whose
|
|
63
|
+
elements are the arguments to the most recent \fBset\fR widget command.
|
|
64
|
+
.TP
|
|
65
|
+
\fIpathName \fBinstate \fIstatespec\fR ?\fIscript\fR?
|
|
66
|
+
Test the widget state; see \fIwidget(n)\fR.
|
|
67
|
+
.TP
|
|
68
|
+
\fIpathName \fBset\fR \fIfirst last\fR
|
|
69
|
+
This command is normally invoked by the scrollbar's associated widget
|
|
70
|
+
from an \fB-xscrollcommand\fR or \fB-yscrollcommand\fR callback.
|
|
71
|
+
Specifies the visible range to be displayed.
|
|
72
|
+
\fIfirst\fR and \fIlast\fR are real fractions between 0 and 1.
|
|
73
|
+
.TP
|
|
74
|
+
\fIpathName \fBstate\fR ?\fIstateSpec\fR?
|
|
75
|
+
Modify or query the widget state; see \fIwidget(n)\fR.
|
|
76
|
+
.SH "INTERNAL COMMANDS"
|
|
77
|
+
The following widget commands are used internally
|
|
78
|
+
by the TScrollbar widget class bindings.
|
|
79
|
+
.TP
|
|
80
|
+
\fIpathName \fBdelta \fIdeltaX deltaY\fR
|
|
81
|
+
Returns a real number indicating the fractional change in
|
|
82
|
+
the scrollbar setting that corresponds to a given change
|
|
83
|
+
in thumb position. For example, if the scrollbar is horizontal,
|
|
84
|
+
the result indicates how much the scrollbar setting must change
|
|
85
|
+
to move the thumb \fIdeltaX\fR pixels to the right (\fIdeltaY\fR is
|
|
86
|
+
ignored in this case).
|
|
87
|
+
If the scrollbar is vertical, the result indicates how much the
|
|
88
|
+
scrollbar setting must change to move the thumb \fIdeltaY\fR pixels
|
|
89
|
+
down. The arguments and the result may be zero or negative.
|
|
90
|
+
.TP
|
|
91
|
+
\fIpathName \fBfraction \fIx y\fR
|
|
92
|
+
Returns a real number between 0 and 1 indicating where the point
|
|
93
|
+
given by \fIx\fR and \fIy\fR lies in the trough area of the scrollbar,
|
|
94
|
+
where 0.0 corresponds to the top or left of the trough
|
|
95
|
+
and 1.0 corresponds to the bottom or right.
|
|
96
|
+
\fIX\fR and \fIy\fR are pixel coordinates relative to the scrollbar
|
|
97
|
+
widget.
|
|
98
|
+
If \fIx\fR and \fIy\fR refer to a point outside the trough, the closest
|
|
99
|
+
point in the trough is used.
|
|
100
|
+
.TP
|
|
101
|
+
\fIpathName \fBidentify\fR \fIx y\fR
|
|
102
|
+
Returns the name of the element under the point given
|
|
103
|
+
by \fIx\fR and \fIy\fR, or an empty string if the point does
|
|
104
|
+
not lie in any element of the scrollbar.
|
|
105
|
+
\fIX\fR and \fIy\fR are pixel coordinates relative to the scrollbar widget.
|
|
106
|
+
.SH "SCROLLING COMMANDS"
|
|
107
|
+
When the user interacts with the scrollbar, for example by dragging
|
|
108
|
+
the thumb, the scrollbar notifies the associated widget that it
|
|
109
|
+
must change its view.
|
|
110
|
+
The scrollbar makes the notification by evaluating a Tcl command
|
|
111
|
+
generated from the scrollbar's \fB\-command\fR option.
|
|
112
|
+
The command may take any of the following forms.
|
|
113
|
+
In each case, \fIprefix\fR is the contents of the
|
|
114
|
+
\fB\-command\fR option, which usually has a form like \fB.t yview\fR
|
|
115
|
+
.TP
|
|
116
|
+
\fIprefix \fBmoveto \fIfraction\fR
|
|
117
|
+
\fIFraction\fR is a real number between 0 and 1.
|
|
118
|
+
The widget should adjust its view so that the point given
|
|
119
|
+
by \fIfraction\fR appears at the beginning of the widget.
|
|
120
|
+
If \fIfraction\fR is 0 it refers to the beginning of the
|
|
121
|
+
document. 1.0 refers to the end of the document, 0.333
|
|
122
|
+
refers to a point one-third of the way through the document,
|
|
123
|
+
and so on.
|
|
124
|
+
.TP
|
|
125
|
+
\fIprefix \fBscroll \fInumber \fBunits\fR
|
|
126
|
+
The widget should adjust its view by \fInumber\fR units.
|
|
127
|
+
The units are defined in whatever way makes sense for the widget,
|
|
128
|
+
such as characters or lines in a text widget.
|
|
129
|
+
\fINumber\fR is either 1, which means one unit should scroll off
|
|
130
|
+
the top or left of the window, or \-1, which means that one unit
|
|
131
|
+
should scroll off the bottom or right of the window.
|
|
132
|
+
.TP
|
|
133
|
+
\fIprefix \fBscroll \fInumber \fBpages\fR
|
|
134
|
+
The widget should adjust its view by \fInumber\fR pages.
|
|
135
|
+
It is up to the widget to define the meaning of a page; typically
|
|
136
|
+
it is slightly less than what fits in the window, so that there
|
|
137
|
+
is a slight overlap between the old and new views.
|
|
138
|
+
\fINumber\fR is either 1, which means the next page should
|
|
139
|
+
become visible, or \-1, which means that the previous page should
|
|
140
|
+
become visible.
|
|
141
|
+
.SH "WIDGET STATES"
|
|
142
|
+
The scrollbar automatically sets the \fBdisabled\fR state bit.
|
|
143
|
+
when the entire range is visible (range is 0.0 to 1.0),
|
|
144
|
+
and clears it otherwise.
|
|
145
|
+
It also sets the \fBactive\fR and \fBpressed\fR state flags
|
|
146
|
+
of individual elements, based on the position and state of the mouse pointer.
|
|
147
|
+
.SH EXAMPLE
|
|
148
|
+
.CS
|
|
149
|
+
set f [frame .f]
|
|
150
|
+
ttk::scrollbar $f.hsb -orient horizontal -command [list $f.t xview]
|
|
151
|
+
ttk::scrollbar $f.vsb -orient vertical -command [list $f.t yview]
|
|
152
|
+
text $f.t -xscrollcommand [list $f.hsb set] -yscrollcommand [list $f.vsb set]
|
|
153
|
+
grid $f.t -row 0 -column 0 -sticky nsew
|
|
154
|
+
grid $f.vsb -row 0 -column 1 -sticky nsew
|
|
155
|
+
grid $f.hsb -row 1 -column 0 -sticky nsew
|
|
156
|
+
grid columnconfigure $f 0 -weight 1
|
|
157
|
+
grid rowconfigure $f 0 -weight 1
|
|
158
|
+
.CE
|
|
159
|
+
.SH KEYWORDS
|
|
160
|
+
scrollbar, widget
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'\" separator.n,v 1.5 2006/11/27 05:45:02 jenglish Exp
|
|
2
|
+
'\"
|
|
3
|
+
'\" Copyright (c) 2004 Joe English
|
|
4
|
+
'\"
|
|
5
|
+
.so man.macros
|
|
6
|
+
.TH separator n 0.5 tile "Tile Widget Set"
|
|
7
|
+
.BS
|
|
8
|
+
.SH NAME
|
|
9
|
+
ttk::separator \- Separator bar
|
|
10
|
+
.SH SYNOPSIS
|
|
11
|
+
\fBttk::separator\fR \fIpathName \fR?\fIoptions\fR?
|
|
12
|
+
.BE
|
|
13
|
+
.SH DESCRIPTION
|
|
14
|
+
A \fBseparator\fR widget displays a horizontal or vertical separator bar.
|
|
15
|
+
.SO
|
|
16
|
+
\-class \-cursor \-state \-style
|
|
17
|
+
\-takefocus
|
|
18
|
+
.SE
|
|
19
|
+
.SH "OPTIONS"
|
|
20
|
+
.OP \-orient orient Orient
|
|
21
|
+
One of \fBhorizontal\fR or \fBvertical\fR.
|
|
22
|
+
Specifies the orientation of the separator.
|
|
23
|
+
.SH "WIDGET COMMAND"
|
|
24
|
+
Separator widgets support the standard
|
|
25
|
+
\fBcget\fR, \fBconfigure\fR, \fBinstate\fR, and \fBstate\fR
|
|
26
|
+
methods. No other widget methods are used.
|
|
27
|
+
.SH "SEE ALSO"
|
|
28
|
+
widget(n)
|
|
29
|
+
.SH "KEYWORDS"
|
|
30
|
+
widget, separator
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
'\" sizegrip.n,v 1.5 2007/10/16 00:59:23 jenglish Exp
|
|
2
|
+
'\"
|
|
3
|
+
'\" Copyright (c) 2006 Joe English
|
|
4
|
+
'\"
|
|
5
|
+
.so man.macros
|
|
6
|
+
.TH sizegrip n 0.8 tile "Tile Widget Set"
|
|
7
|
+
.BS
|
|
8
|
+
.SH NAME
|
|
9
|
+
ttk::sizegrip \- A silly widget
|
|
10
|
+
.SH SYNOPSIS
|
|
11
|
+
\fBttk::sizegrip\fR \fIpathName \fR?\fIoptions\fR?
|
|
12
|
+
.BE
|
|
13
|
+
.SH DESCRIPTION
|
|
14
|
+
A \fBsizegrip\fR widget (also known as a \fIgrow box\fR)
|
|
15
|
+
allows the user to resize the containing toplevel window
|
|
16
|
+
by pressing and dragging the grip.
|
|
17
|
+
.SO
|
|
18
|
+
\-class \-cursor \-state \-style
|
|
19
|
+
\-takefocus
|
|
20
|
+
.SE
|
|
21
|
+
.SH "WIDGET COMMAND"
|
|
22
|
+
Sizegrip widgets support the standard
|
|
23
|
+
\fBcget\fR, \fBconfigure\fR, \fBinstate\fR, and \fBstate\fR
|
|
24
|
+
methods. No other widget methods are used.
|
|
25
|
+
.SH "PLATFORM-SPECIFIC NOTES"
|
|
26
|
+
On Mac OSX, toplevel windows automatically include a built-in
|
|
27
|
+
size grip by default.
|
|
28
|
+
Adding an \fBttk::sizegrip\fR there is harmless, since
|
|
29
|
+
the built-in grip will just mask the widget.
|
|
30
|
+
.SH EXAMPLES
|
|
31
|
+
.CS
|
|
32
|
+
# Using pack:
|
|
33
|
+
pack [ttk::frame $top.statusbar] -side bottom -fill x
|
|
34
|
+
pack [ttk::sizegrip $top.statusbar.grip] -side right -anchor se
|
|
35
|
+
|
|
36
|
+
# Using grid:
|
|
37
|
+
grid [ttk::sizegrip $top.statusbar.grip] \
|
|
38
|
+
-row $lastRow -column $lastColumn -sticky se
|
|
39
|
+
# ... optional: add vertical scrollbar in $lastColumn,
|
|
40
|
+
# ... optional: add horizontal scrollbar in $lastRow
|
|
41
|
+
.CE
|
|
42
|
+
.SH "BUGS"
|
|
43
|
+
If the containing toplevel's position was specified
|
|
44
|
+
relative to the right or bottom of the screen
|
|
45
|
+
(e.g., \fB[wm geometry ... \fIw\fBx\fIh\fB-\fIx\fB-\fIy\fB]\fR
|
|
46
|
+
instead of \fB[wm geometry ... \fIw\fBx\fIh\fB+\fIx\fB+\fIy\fB]\fR),
|
|
47
|
+
the sizegrip widget will not resize the window.
|
|
48
|
+
.PP
|
|
49
|
+
ttk::sizegrip widgets only support "southeast" resizing.
|
|
50
|
+
.SH "SEE ALSO"
|
|
51
|
+
widget(n)
|
|
52
|
+
.SH "KEYWORDS"
|
|
53
|
+
widget, sizegrip, grow box
|