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,149 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<link rel="stylesheet" href="manpage.css"><title>Tile package reference: panedwindow</title><meta name="xsl-processor" content="Jochen Loewer (loewerj@hotmail.com), Rolf Ade (rolf@pointsman.de) et. al."><meta name="generator" content="$RCSfile: tmml-html.xsl,v $ $Revision: 1.12 $">
|
4
|
+
</head><body>
|
5
|
+
<div class="header">
|
6
|
+
<div class="navbar" align="center">
|
7
|
+
<a href="#SECTid8206658">NAME</a> � <a href="#SECTid82066d0">SYNOPSIS</a> � <a href="#SECTid8206900">DESCRIPTION</a> � <a href="#SECTid8206978">STANDARD OPTIONS</a> � <a href="#SECTid8206a90">WIDGET OPTIONS</a> � <a href="#SECTid8206db0">PANE OPTIONS</a> � <a href="#SECTid8206f40">WIDGET COMMAND</a> � <a href="#SECTid8207b20">SEE ALSO</a>
|
8
|
+
</div><hr class="navsep">
|
9
|
+
</div><div class="body">
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
<h2><a name="SECTid8206658">NAME</a></h2><p class="namesection">
|
14
|
+
<b class="names">ttk::panedwindow - </b><br>Multi-pane container window</p>
|
15
|
+
<h2><a name="SECTid82066d0">SYNOPSIS</a></h2><pre class="syntax">
|
16
|
+
<b>ttk::panedwindow</b> <i class="m">pathName</i> ?<i class="m">options</i>?
|
17
|
+
|
18
|
+
<i class="m">pathName</i> <b>add</b> <i class="m">window</i> ?<i class="m">options...</i>?
|
19
|
+
<i class="m">pathName</i> <b>insert</b> <i class="m">index</i> <i class="m">window</i> ?<i class="m">options...</i>?
|
20
|
+
</pre>
|
21
|
+
<h2><a name="SECTid8206900">DESCRIPTION</a></h2><p>A panedwindow widget displays a number of subwindows,
|
22
|
+
stacked either vertically or horizontally.
|
23
|
+
The user may adjust the relative sizes of the subwindows
|
24
|
+
by dragging the sash between panes.
|
25
|
+
</p>
|
26
|
+
<h2><a name="SECTid8206978">STANDARD OPTIONS</a></h2><div class="menu"><table class="menu" width="100%"><tr>
|
27
|
+
<td width="25%"><a href="widget.html#stdopt_-class">-class</a></td><td width="25%"><a href="widget.html#stdopt_-cursor">-cursor</a></td><td width="25%"><a href="widget.html#stdopt_-style">-style</a></td><td width="25%"><a href="widget.html#stdopt_-takefocus">-takefocus</a></td>
|
28
|
+
</tr></table></div>
|
29
|
+
<h2><a name="SECTid8206a90">WIDGET OPTIONS</a></h2><div class="table"><table width="100%" rules="none" cellpadding="5%">
|
30
|
+
<thead><tr class="heading">
|
31
|
+
<th width="20%">Name</th><th width="40%">Database name</th><th width="40%">Database class</th>
|
32
|
+
</tr></thead><tr class="syntax">
|
33
|
+
<td width="20%" align="left"><a name="option_-orient">-orient</a></td><td width="40%" align="left">orient</td><td width="40%" align="left">Orient</td>
|
34
|
+
</tr><tr class="desc">
|
35
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">Specifies the orientation of the window.
|
36
|
+
If <b>vertical</b>, subpanes are stacked top-to-bottom;
|
37
|
+
if <b>horizontal</b>, subpanes are stacked left-to-right.
|
38
|
+
</td>
|
39
|
+
</tr><tr class="syntax">
|
40
|
+
<td width="20%" align="left"><a name="option_-width">-width</a></td><td width="40%" align="left">width</td><td width="40%" align="left">Width</td>
|
41
|
+
</tr><tr class="desc">
|
42
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">If present and greater than zero,
|
43
|
+
specifies the desired width of the widget in pixels.
|
44
|
+
Otherwise, the requested width is determined by the width
|
45
|
+
of the managed windows.
|
46
|
+
</td>
|
47
|
+
</tr><tr class="syntax">
|
48
|
+
<td width="20%" align="left"><a name="option_-height">-height</a></td><td width="40%" align="left">height</td><td width="40%" align="left">Height</td>
|
49
|
+
</tr><tr class="desc">
|
50
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">If present and greater than zero,
|
51
|
+
specifies the desired height of the widget in pixels.
|
52
|
+
Otherwise, the requested height is determined by the height
|
53
|
+
of the managed windows.
|
54
|
+
</td>
|
55
|
+
</tr>
|
56
|
+
</table></div>
|
57
|
+
<h2><a name="SECTid8206db0">PANE OPTIONS</a></h2><p>The following options may be specified for each pane:
|
58
|
+
</p><div class="table"><table width="100%" rules="none" cellpadding="5%">
|
59
|
+
<thead><tr class="heading">
|
60
|
+
<th width="20%">Name</th><th width="40%">Database name</th><th width="40%">Database class</th>
|
61
|
+
</tr></thead><tr class="syntax">
|
62
|
+
<td width="20%" align="left"><a name="option_-weight">-weight</a></td><td width="40%" align="left">weight</td><td width="40%" align="left">Weight</td>
|
63
|
+
</tr><tr class="desc">
|
64
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">An integer specifying the relative stretchability of the pane.
|
65
|
+
When the panedwindow is resized, the extra space is added
|
66
|
+
or subtracted to each pane proportionally to its <b>-weight</b>.
|
67
|
+
</td>
|
68
|
+
</tr>
|
69
|
+
</table></div>
|
70
|
+
<h2><a name="SECTid8206f40">WIDGET COMMAND</a></h2><p>Supports the standard <b>configure</b>, <b>cget</b>, <b>state</b>,
|
71
|
+
and <b>instate</b> commands; see <i>widget(n)</i> for details.
|
72
|
+
Additional commands:
|
73
|
+
</p><dl class="commandlist">
|
74
|
+
|
75
|
+
<dt>
|
76
|
+
<i class="m">pathname</i> <b>add</b> <i class="m">subwindow</i> <i class="m">options...</i>
|
77
|
+
</dt>
|
78
|
+
<dd>Adds a new pane to the window.
|
79
|
+
<i>subwindow</i> must be a direct child of the panedwindow <i>pathname</i>.
|
80
|
+
See <a href="#SECTid8206db0">PANE OPTIONS</a> for the list of available options.
|
81
|
+
</dd>
|
82
|
+
|
83
|
+
|
84
|
+
<dt>
|
85
|
+
<i class="m">pathname</i> <b>forget</b> <i class="m">pane</i>
|
86
|
+
</dt>
|
87
|
+
<dd>Removes the specified subpane from the widget.
|
88
|
+
<i>pane</i> is either an integer index or the name of a managed subwindow.
|
89
|
+
</dd>
|
90
|
+
|
91
|
+
|
92
|
+
<dt>
|
93
|
+
<i class="m">pathname</i> <b>insert</b> <i class="m">pos</i> <i class="m">subwindow</i> <i class="m">options...</i>
|
94
|
+
</dt>
|
95
|
+
<dd>Inserts a pane at the specified position.
|
96
|
+
<i>pos</i> is either the string <b>end</b>, an integer index,
|
97
|
+
or the name of a managed subwindow.
|
98
|
+
If <i>subwindow</i> is already managed by the panedwindow,
|
99
|
+
moves it to the specified position.
|
100
|
+
See <a href="#SECTid8206db0">PANE OPTIONS</a> for the list of available options.
|
101
|
+
</dd>
|
102
|
+
|
103
|
+
|
104
|
+
<dt>
|
105
|
+
<i class="m">pathname</i> <b>pane</b> <i class="m">pane -option</i> ?<i class="m">value</i> ?<i class="m">-option value...</i>
|
106
|
+
</dt>
|
107
|
+
<dd>Query or modify the options of the specified <i>pane</i>,
|
108
|
+
where <i>pane</i> is either an integer index or the name of a managed subwindow.
|
109
|
+
If no <i>-option</i> is specified, returns a dictionary of the pane
|
110
|
+
option values.
|
111
|
+
If one <i>-option</i> is specified, returns the value of that <i>option</i>.
|
112
|
+
Otherwise, sets the <i>-option</i>s to the corresponding <i>value</i>s.
|
113
|
+
</dd>
|
114
|
+
|
115
|
+
|
116
|
+
<dt>
|
117
|
+
<i class="m">pathname</i> <b>panes</b>
|
118
|
+
</dt>
|
119
|
+
<dd>Returns the list of all windows managed by the widget.
|
120
|
+
</dd>
|
121
|
+
|
122
|
+
|
123
|
+
<dt>
|
124
|
+
<i class="m">pathname</i> <b>sashpos</b> <i class="m">index</i> ?<i class="m">newpos</i>?</dt>
|
125
|
+
<dd>If <i>newpos</i> is specified, sets the position
|
126
|
+
of sash number <i>index</i>.
|
127
|
+
May adjust the positions of adjacent sashes
|
128
|
+
to ensure that positions are monotonically increasing.
|
129
|
+
Sash positions are further constrained to be between 0
|
130
|
+
and the total size of the widget.
|
131
|
+
Returns the new position of sash number <i>index</i>.
|
132
|
+
</dd>
|
133
|
+
|
134
|
+
|
135
|
+
<dt>
|
136
|
+
<i class="m">pathname</i> <b>identify</b> <i class="m">x y</i>
|
137
|
+
</dt>
|
138
|
+
<dd>Returns the index of the sash at point <i>x,y</i>,
|
139
|
+
or the empty string if <i>x,y</i> is not over a sash.
|
140
|
+
</dd>
|
141
|
+
|
142
|
+
</dl>
|
143
|
+
<h2><a name="SECTid8207b20">SEE ALSO</a></h2><p class="seealso">widget(n), <a href="notebook.html">notebook(n)</a>
|
144
|
+
</p>
|
145
|
+
</div><hr class="navsep"><div class="navbar" align="center">
|
146
|
+
<a class="navaid" href="index.html">Contents</a> � <a class="navaid" href="category-index.html">Index</a> � <a class="navaid" href="keyword-index.html">Keywords</a>
|
147
|
+
</div>
|
148
|
+
</body>
|
149
|
+
</html>
|
@@ -0,0 +1,138 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<link rel="stylesheet" href="manpage.css"><title>Tile package reference: progressbar</title><meta name="xsl-processor" content="Jochen Loewer (loewerj@hotmail.com), Rolf Ade (rolf@pointsman.de) et. al."><meta name="generator" content="$RCSfile: tmml-html.xsl,v $ $Revision: 1.12 $">
|
4
|
+
</head><body>
|
5
|
+
<div class="header">
|
6
|
+
<div class="navbar" align="center">
|
7
|
+
<a href="#SECTid8206658">NAME</a> � <a href="#SECTid82066d0">SYNOPSIS</a> � <a href="#SECTid8206798">STANDARD OPTIONS</a> � <a href="#SECTid82068b0">OPTIONS</a> � <a href="#SECTid82070f8">DESCRIPTION</a> � <a href="#SECTid82071c0">WIDGET COMMAND</a> � <a href="#SECTid8207af8">SEE ALSO</a>
|
8
|
+
</div><hr class="navsep">
|
9
|
+
</div><div class="body">
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
<h2><a name="SECTid8206658">NAME</a></h2><p class="namesection">
|
14
|
+
<b class="names">ttk::progressbar - </b><br>Provide progress feedback</p>
|
15
|
+
<h2><a name="SECTid82066d0">SYNOPSIS</a></h2><pre class="syntax">
|
16
|
+
<b>ttk::progressbar</b> <i class="m">pathName</i> ?<i class="m">options</i>?
|
17
|
+
</pre>
|
18
|
+
<h2><a name="SECTid8206798">STANDARD OPTIONS</a></h2><div class="menu"><table class="menu" width="100%"><tr>
|
19
|
+
<td width="25%"><a href="widget.html#stdopt_-class">-class</a></td><td width="25%"><a href="widget.html#stdopt_-cursor">-cursor</a></td><td width="25%"><a href="widget.html#stdopt_-style">-style</a></td><td width="25%"><a href="widget.html#stdopt_-takefocus">-takefocus</a></td>
|
20
|
+
</tr></table></div>
|
21
|
+
<h2><a name="SECTid82068b0">OPTIONS</a></h2><div class="table"><table width="100%" rules="none" cellpadding="5%">
|
22
|
+
<thead><tr class="heading">
|
23
|
+
<th width="20%">Name</th><th width="40%">Database name</th><th width="40%">Database class</th>
|
24
|
+
</tr></thead><tr class="syntax">
|
25
|
+
<td width="20%" align="left"><a name="option_-orient">-orient</a></td><td width="40%" align="left">orient</td><td width="40%" align="left">Orient</td>
|
26
|
+
</tr><tr class="desc">
|
27
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">One of <b>horizontal</b> or <b>vertical</b>.
|
28
|
+
Specifies the orientation of the progress bar.
|
29
|
+
</td>
|
30
|
+
</tr><tr class="syntax">
|
31
|
+
<td width="20%" align="left"><a name="option_-length">-length</a></td><td width="40%" align="left">length</td><td width="40%" align="left">Length</td>
|
32
|
+
</tr><tr class="desc">
|
33
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">Specifies the length of the long axis of the progress bar
|
34
|
+
(width if horizontal, height if vertical).
|
35
|
+
</td>
|
36
|
+
</tr><tr class="syntax">
|
37
|
+
<td width="20%" align="left"><a name="option_-mode">-mode</a></td><td width="40%" align="left">mode</td><td width="40%" align="left">Mode</td>
|
38
|
+
</tr><tr class="desc">
|
39
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">One of <b>determinate</b> or <b>indeterminate</b>.
|
40
|
+
</td>
|
41
|
+
</tr><tr class="syntax">
|
42
|
+
<td width="20%" align="left"><a name="option_-maximum">-maximum</a></td><td width="40%" align="left">maximum</td><td width="40%" align="left">Maximum</td>
|
43
|
+
</tr><tr class="desc">
|
44
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">A floating point number specifying the maximum <b>-value</b>.
|
45
|
+
Defaults to 100.
|
46
|
+
</td>
|
47
|
+
</tr><tr class="syntax">
|
48
|
+
<td width="20%" align="left"><a name="option_-value">-value</a></td><td width="40%" align="left">value</td><td width="40%" align="left">Value</td>
|
49
|
+
</tr><tr class="desc">
|
50
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">The current value of the progress bar.
|
51
|
+
In <i>determinate</i> mode, this represents the amount of work completed.
|
52
|
+
In <i>indeterminate</i> mode, it is interpreted modulo <b>-maximum</b>;
|
53
|
+
that is, the progress bar completes one "cycle" when
|
54
|
+
the <b>-value</b> increases by <b>-maximum</b>.
|
55
|
+
</td>
|
56
|
+
</tr><tr class="syntax">
|
57
|
+
<td width="20%" align="left"><a name="option_-variable">-variable</a></td><td width="40%" align="left">variable</td><td width="40%" align="left">Variable</td>
|
58
|
+
</tr><tr class="desc">
|
59
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">The name of a Tcl variable which is linked to the <b>-value</b>.
|
60
|
+
If specified, the <b>-value</b> of the progress bar is
|
61
|
+
automatically set to the value of the variable whenever
|
62
|
+
the latter is modified.
|
63
|
+
</td>
|
64
|
+
</tr><tr class="syntax">
|
65
|
+
<td width="20%" align="left"><a name="option_-phase">-phase</a></td><td width="40%" align="left">phase</td><td width="40%" align="left">Phase</td>
|
66
|
+
</tr><tr class="desc">
|
67
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">Read-only option.
|
68
|
+
The widget periodically increments the value of this option
|
69
|
+
whenever the <b>-value</b> is greater than 0 and,
|
70
|
+
in <i>determinate</i> mode, less than <b>-maximum</b>.
|
71
|
+
This option may be used by the current theme
|
72
|
+
to provide additional animation effects.
|
73
|
+
</td>
|
74
|
+
</tr>
|
75
|
+
</table></div>
|
76
|
+
<h2><a name="SECTid82070f8">DESCRIPTION</a></h2><p>A progress bar widget shows the status of a long-running operation.
|
77
|
+
They can operate in two modes: <i>determinate</i> mode shows the
|
78
|
+
amount completed relative to the total amount of work to be done,
|
79
|
+
and <i>indeterminate</i> mode provides an animated display to
|
80
|
+
let the user know that something is happening.
|
81
|
+
</p>
|
82
|
+
<h2><a name="SECTid82071c0">WIDGET COMMAND</a></h2><dl>
|
83
|
+
|
84
|
+
<dt>
|
85
|
+
<i class="m">pathName</i> <b>cget</b> <i class="m">option</i>
|
86
|
+
</dt>
|
87
|
+
<dd>Returns the current value of the specified <i>option</i>; see <i>widget(n)</i>.
|
88
|
+
</dd>
|
89
|
+
|
90
|
+
|
91
|
+
<dt>
|
92
|
+
<i class="m">pathName</i> <b>configure</b> ?<i class="m">option</i>? ?<i class="m">value option value ...</i>?</dt>
|
93
|
+
<dd>Modify or query widget options; see <i>widget(n)</i>.
|
94
|
+
</dd>
|
95
|
+
|
96
|
+
|
97
|
+
<dt>
|
98
|
+
<i class="m">pathName</i> <b>instate</b> <i class="m">statespec</i> ?<i class="m">script</i>?</dt>
|
99
|
+
<dd>Test the widget state; see <i>widget(n)</i>.
|
100
|
+
</dd>
|
101
|
+
|
102
|
+
|
103
|
+
<dt>
|
104
|
+
<i class="m">pathName</i> <b>start</b> ?<i class="m">interval</i>?</dt>
|
105
|
+
<dd>Begin autoincrement mode:
|
106
|
+
schedules a recurring timer event that calls <b>step</b>
|
107
|
+
every <i>interval</i> milliseconds.
|
108
|
+
If omitted, <i>interval</i> defaults to 50 milliseconds (20 steps/second).
|
109
|
+
</dd>
|
110
|
+
|
111
|
+
|
112
|
+
<dt>
|
113
|
+
<i class="m">pathName</i> <b>state</b> ?<i class="m">stateSpec</i>?</dt>
|
114
|
+
<dd>Modify or query the widget state; see <i>widget(n)</i>.
|
115
|
+
</dd>
|
116
|
+
|
117
|
+
|
118
|
+
<dt>
|
119
|
+
<i class="m">pathName</i> <b>step</b> ?<i class="m">amount</i>?</dt>
|
120
|
+
<dd>Increments the <b>-value</b> by <i>amount</i>.
|
121
|
+
<i>amount</i> defaults to 1.0 if omitted.
|
122
|
+
</dd>
|
123
|
+
|
124
|
+
|
125
|
+
<dt>
|
126
|
+
<i class="m">pathName</i> <b>stop</b>
|
127
|
+
</dt>
|
128
|
+
<dd>Stop autoincrement mode:
|
129
|
+
cancels any recurring timer event initiated by <i>pathName</i> <b>start</b>.
|
130
|
+
</dd>
|
131
|
+
|
132
|
+
</dl>
|
133
|
+
<h2><a name="SECTid8207af8">SEE ALSO</a></h2><p class="seealso">widget(n)</p>
|
134
|
+
</div><hr class="navsep"><div class="navbar" align="center">
|
135
|
+
<a class="navaid" href="index.html">Contents</a> � <a class="navaid" href="category-index.html">Index</a> � <a class="navaid" href="keyword-index.html">Keywords</a>
|
136
|
+
</div>
|
137
|
+
</body>
|
138
|
+
</html>
|
@@ -0,0 +1,89 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<link rel="stylesheet" href="manpage.css"><title>Tile package reference: radiobutton</title><meta name="xsl-processor" content="Jochen Loewer (loewerj@hotmail.com), Rolf Ade (rolf@pointsman.de) et. al."><meta name="generator" content="$RCSfile: tmml-html.xsl,v $ $Revision: 1.12 $">
|
4
|
+
</head><body>
|
5
|
+
<div class="header">
|
6
|
+
<div class="navbar" align="center">
|
7
|
+
<a href="#SECTid8206658">NAME</a> � <a href="#SECTid82066d0">SYNOPSIS</a> � <a href="#SECTid8206798">DESCRIPTION</a> � <a href="#SECTid8206838">STANDARD OPTIONS</a> � <a href="#SECTid8206a68">OPTIONS</a> � <a href="#SECTid8206d88">WIDGET COMMAND</a> � <a href="#SECTid8207030">WIDGET STATES</a> � <a href="#SECTid82071c0">SEE ALSO</a> � <a href="#SECTid8207260">KEYWORDS</a>
|
8
|
+
</div><hr class="navsep">
|
9
|
+
</div><div class="body">
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
<h2><a name="SECTid8206658">NAME</a></h2><p class="namesection">
|
14
|
+
<b class="names">ttk::radiobutton - </b><br>Mutually exclusive option widget</p>
|
15
|
+
<h2><a name="SECTid82066d0">SYNOPSIS</a></h2><pre class="syntax">
|
16
|
+
<b>ttk::radiobutton</b> <i class="m">pathName</i> ?<i class="m">options</i>?
|
17
|
+
</pre>
|
18
|
+
<h2><a name="SECTid8206798">DESCRIPTION</a></h2><p>
|
19
|
+
<b>radiobutton</b> widgets are used in groups to show or change
|
20
|
+
a set of mutually-exclusive options.
|
21
|
+
Radiobuttons are linked to a Tcl variable,
|
22
|
+
and have an associated value; when a radiobutton is clicked,
|
23
|
+
it sets the variable to its associated value.
|
24
|
+
</p>
|
25
|
+
<h2><a name="SECTid8206838">STANDARD OPTIONS</a></h2><div class="menu"><table class="menu" width="100%">
|
26
|
+
<tr>
|
27
|
+
<td width="25%"><a href="widget.html#stdopt_-class">-class</a></td><td width="25%"><a href="widget.html#stdopt_-compound">-compound</a></td><td width="25%"><a href="widget.html#stdopt_-cursor">-cursor</a></td><td width="25%"><a href="widget.html#stdopt_-image">-image</a></td>
|
28
|
+
</tr><tr>
|
29
|
+
<td width="25%"><a href="widget.html#stdopt_-state">-state</a></td><td width="25%"><a href="widget.html#stdopt_-style">-style</a></td><td width="25%"><a href="widget.html#stdopt_-takefocus">-takefocus</a></td><td width="25%"><a href="widget.html#stdopt_-text">-text</a></td>
|
30
|
+
</tr><tr>
|
31
|
+
<td width="25%"><a href="widget.html#stdopt_-textvariable">-textvariable</a></td><td width="25%"><a href="widget.html#stdopt_-underline">-underline</a></td><td width="25%"><a href="widget.html#stdopt_-width">-width</a></td>
|
32
|
+
</tr>
|
33
|
+
</table></div>
|
34
|
+
<h2><a name="SECTid8206a68">OPTIONS</a></h2><div class="table"><table width="100%" rules="none" cellpadding="5%">
|
35
|
+
<thead><tr class="heading">
|
36
|
+
<th width="20%">Name</th><th width="40%">Database name</th><th width="40%">Database class</th>
|
37
|
+
</tr></thead><tr class="syntax">
|
38
|
+
<td width="20%" align="left"><a name="option_-command">-command</a></td><td width="40%" align="left">command</td><td width="40%" align="left">Command</td>
|
39
|
+
</tr><tr class="desc">
|
40
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">A Tcl script to evaluate whenever the widget is invoked.
|
41
|
+
</td>
|
42
|
+
</tr><tr class="syntax">
|
43
|
+
<td width="20%" align="left"><a name="option_-value">-value</a></td><td width="40%" align="left">Value</td><td width="40%" align="left">Value</td>
|
44
|
+
</tr><tr class="desc">
|
45
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">The value to store in the associated <i>-variable</i>
|
46
|
+
when the widget is selected.
|
47
|
+
</td>
|
48
|
+
</tr><tr class="syntax">
|
49
|
+
<td width="20%" align="left"><a name="option_-variable">-variable</a></td><td width="40%" align="left">variable</td><td width="40%" align="left">Variable</td>
|
50
|
+
</tr><tr class="desc">
|
51
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">The name of a global variable whose value is linked to the widget.
|
52
|
+
Default value is <b>::selectedButton</b>.
|
53
|
+
</td>
|
54
|
+
</tr>
|
55
|
+
</table></div>
|
56
|
+
<h2><a name="SECTid8206d88">WIDGET COMMAND</a></h2><p>In addition to the standard
|
57
|
+
<b>cget</b>, <b>configure</b>, <b>instate</b>, and <b>state</b>
|
58
|
+
commands, radiobuttons support the following additional
|
59
|
+
widget commands:
|
60
|
+
</p><dl>
|
61
|
+
|
62
|
+
<dt>
|
63
|
+
<i class="m">pathname</i> invoke</dt>
|
64
|
+
<dd>Sets the <i>-variable</i> to the <i>-value</i>, selects the widget,
|
65
|
+
and evaluates the associated <i>-command</i>.
|
66
|
+
Returns the result of the <i>-command</i>, or the empty
|
67
|
+
string if no <i>-command</i> is specified.
|
68
|
+
</dd>
|
69
|
+
|
70
|
+
</dl>
|
71
|
+
<h2><a name="SECTid8207030">WIDGET STATES</a></h2><p>The widget does not respond to user input if the <b>disabled</b> state is set.
|
72
|
+
The widget sets the <b>selected</b> state whenever
|
73
|
+
the linked <b>-variable</b> is set to the widget's <b>-value</b>,
|
74
|
+
and clears it otherwise.
|
75
|
+
The widget sets the <b>alternate</b> state whenever the
|
76
|
+
linked <b>-variable</b> is unset.
|
77
|
+
(The <b>alternate</b> state may be used to indicate a ``tri-state''
|
78
|
+
or ``indeterminate'' selection.)
|
79
|
+
</p>
|
80
|
+
<h2><a name="SECTid82071c0">SEE ALSO</a></h2><p class="seealso">widget(n), keynav(n), <a href="checkbutton.html">checkbutton(n)</a>
|
81
|
+
</p>
|
82
|
+
<h2><a name="SECTid8207260">KEYWORDS</a></h2><p class="keywords">
|
83
|
+
<a class="keyword" href="keyword-index.html#KW-widget">widget</a>, <a class="keyword" href="keyword-index.html#KW-button">button</a>, <a class="keyword" href="keyword-index.html#KW-option">option</a>
|
84
|
+
</p>
|
85
|
+
</div><hr class="navsep"><div class="navbar" align="center">
|
86
|
+
<a class="navaid" href="index.html">Contents</a> � <a class="navaid" href="category-index.html">Index</a> � <a class="navaid" href="keyword-index.html">Keywords</a>
|
87
|
+
</div>
|
88
|
+
</body>
|
89
|
+
</html>
|
@@ -0,0 +1,221 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<link rel="stylesheet" href="manpage.css"><title>Tile package reference: scrollbar</title><meta name="xsl-processor" content="Jochen Loewer (loewerj@hotmail.com), Rolf Ade (rolf@pointsman.de) et. al."><meta name="generator" content="$RCSfile: tmml-html.xsl,v $ $Revision: 1.12 $">
|
4
|
+
</head><body>
|
5
|
+
<div class="header">
|
6
|
+
<div class="navbar" align="center">
|
7
|
+
<a href="#SECTid8206658">NAME</a> � <a href="#SECTid82066d0">SYNOPSIS</a> � <a href="#SECTid8206798">STANDARD OPTIONS</a> � <a href="#SECTid82068b0">WIDGET-SPECIFIC OPTIONS</a> � <a href="#SECTid8206ba8">DESCRIPTION</a> � <a href="#SECTid8206c48">WIDGET COMMAND</a> � <a href="#SECTid8207418">INTERNAL COMMANDS</a> � <a href="#SECTid8207990">SCROLLING COMMANDS</a> � <a href="#SECTid8207f08">WIDGET STATES</a> � <a href="#SECTid8207ff8">EXAMPLE</a> � <a href="#SECTid8208070">KEYWORDS</a>
|
8
|
+
</div><hr class="navsep">
|
9
|
+
</div><div class="body">
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
<h2><a name="SECTid8206658">NAME</a></h2><p class="namesection">
|
14
|
+
<b class="names">ttk::scrollbar - </b><br>Control the viewport of a scrollable widget</p>
|
15
|
+
<h2><a name="SECTid82066d0">SYNOPSIS</a></h2><pre class="syntax">
|
16
|
+
<b>ttk::scrollbar</b> <i class="m">pathName</i> ?<i class="m">options...</i>?
|
17
|
+
</pre>
|
18
|
+
<h2><a name="SECTid8206798">STANDARD OPTIONS</a></h2><div class="menu"><table class="menu" width="100%"><tr>
|
19
|
+
<td width="25%"><a href="widget.html#stdopt_-class">-class</a></td><td width="25%"><a href="widget.html#stdopt_-cursor">-cursor</a></td><td width="25%"><a href="widget.html#stdopt_-style">-style</a></td><td width="25%"><a href="widget.html#stdopt_-takefocus">-takefocus</a></td>
|
20
|
+
</tr></table></div>
|
21
|
+
<h2><a name="SECTid82068b0">WIDGET-SPECIFIC OPTIONS</a></h2><div class="table"><table width="100%" rules="none" cellpadding="5%">
|
22
|
+
<thead><tr class="heading">
|
23
|
+
<th width="20%">Name</th><th width="40%">Database name</th><th width="40%">Database class</th>
|
24
|
+
</tr></thead><tr class="syntax">
|
25
|
+
<td width="20%" align="left"><a name="option_-command">-command</a></td><td width="40%" align="left">command</td><td width="40%" align="left">Command</td>
|
26
|
+
</tr><tr class="desc">
|
27
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">A Tcl script prefix to evaluate
|
28
|
+
to change the view in the widget associated with the scrollbar.
|
29
|
+
Additional arguments are appended to the value of this option,
|
30
|
+
as described in <a href="#SECTid8207990">SCROLLING COMMANDS</a> below,
|
31
|
+
whenever the user requests a view change by manipulating the scrollbar.
|
32
|
+
<br>This option typically consists of a two-element list,
|
33
|
+
containing the name of a scrollable widget followed by
|
34
|
+
either <b>xview</b> (for horizontal scrollbars)
|
35
|
+
or <b>yview</b> (for vertical scrollbars).
|
36
|
+
</td>
|
37
|
+
</tr><tr class="syntax">
|
38
|
+
<td width="20%" align="left"><a name="option_-orient">-orient</a></td><td width="40%" align="left">orient</td><td width="40%" align="left">Orient</td>
|
39
|
+
</tr><tr class="desc">
|
40
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">One of <b>horizontal</b> or <b>vertical</b>.
|
41
|
+
Specifies the orientation of the scrollbar.
|
42
|
+
</td>
|
43
|
+
</tr>
|
44
|
+
</table></div>
|
45
|
+
|
46
|
+
|
47
|
+
<h2><a name="SECTid8206ba8">DESCRIPTION</a></h2><p>Scrollbar widgets are typically linked to an associated window
|
48
|
+
that displays a document of some sort,
|
49
|
+
such as a file being edited or a drawing.
|
50
|
+
A scrollbar displays a <i>thumb</i> in the
|
51
|
+
middle portion of the scrollbar,
|
52
|
+
whose position and size provides information
|
53
|
+
about the portion of the document visible in
|
54
|
+
the associated window.
|
55
|
+
The thumb may be dragged by the user to control the
|
56
|
+
visible region.
|
57
|
+
Depending on the theme, two or more arrow buttons may also be present;
|
58
|
+
these are used to scroll the visible region in discrete units.
|
59
|
+
</p>
|
60
|
+
<h2><a name="SECTid8206c48">WIDGET COMMAND</a></h2><dl>
|
61
|
+
|
62
|
+
<dt>
|
63
|
+
<i class="m">pathName</i> <b>cget</b> <i class="m">option</i>
|
64
|
+
</dt>
|
65
|
+
<dd>Returns the current value of the specified <i>option</i>; see <i>widget(n)</i>.
|
66
|
+
</dd>
|
67
|
+
|
68
|
+
|
69
|
+
<dt>
|
70
|
+
<i class="m">pathName</i> <b>configure</b> ?<i class="m">option</i>? ?<i class="m">value option value ...</i>?</dt>
|
71
|
+
<dd>Modify or query widget options; see <i>widget(n)</i>.
|
72
|
+
</dd>
|
73
|
+
|
74
|
+
|
75
|
+
<dt>
|
76
|
+
<i class="m">pathName</i> <b>get</b>
|
77
|
+
</dt>
|
78
|
+
<dd>Returns the scrollbar settings in the form of a list whose
|
79
|
+
elements are the arguments to the most recent <b>set</b> widget command.
|
80
|
+
</dd>
|
81
|
+
|
82
|
+
|
83
|
+
<dt>
|
84
|
+
<i class="m">pathName</i> <b>instate</b> <i class="m">statespec</i> ?<i class="m">script</i>?</dt>
|
85
|
+
<dd>Test the widget state; see <i>widget(n)</i>.
|
86
|
+
</dd>
|
87
|
+
|
88
|
+
|
89
|
+
<dt>
|
90
|
+
<i class="m">pathName</i> <b>set</b> <i class="m">first last</i>
|
91
|
+
</dt>
|
92
|
+
<dd>This command is normally invoked by the scrollbar's associated widget
|
93
|
+
from an <b>-xscrollcommand</b> or <b>-yscrollcommand</b> callback.
|
94
|
+
Specifies the visible range to be displayed.
|
95
|
+
<i>first</i> and <i>last</i> are real fractions between 0 and 1.
|
96
|
+
</dd>
|
97
|
+
|
98
|
+
|
99
|
+
<dt>
|
100
|
+
<i class="m">pathName</i> <b>state</b> ?<i class="m">stateSpec</i>?</dt>
|
101
|
+
<dd>Modify or query the widget state; see <i>widget(n)</i>.
|
102
|
+
</dd>
|
103
|
+
|
104
|
+
</dl>
|
105
|
+
<h2><a name="SECTid8207418">INTERNAL COMMANDS</a></h2><p>The following widget commands are used internally
|
106
|
+
by the TScrollbar widget class bindings.
|
107
|
+
</p><dl>
|
108
|
+
|
109
|
+
<dt>
|
110
|
+
<i class="m">pathName</i> <b>delta</b> <i class="m">deltaX deltaY</i>
|
111
|
+
</dt>
|
112
|
+
<dd>Returns a real number indicating the fractional change in
|
113
|
+
the scrollbar setting that corresponds to a given change
|
114
|
+
in thumb position. For example, if the scrollbar is horizontal,
|
115
|
+
the result indicates how much the scrollbar setting must change
|
116
|
+
to move the thumb <i>deltaX</i> pixels to the right (<i>deltaY</i> is
|
117
|
+
ignored in this case).
|
118
|
+
If the scrollbar is vertical, the result indicates how much the
|
119
|
+
scrollbar setting must change to move the thumb <i>deltaY</i> pixels
|
120
|
+
down. The arguments and the result may be zero or negative.
|
121
|
+
</dd>
|
122
|
+
|
123
|
+
|
124
|
+
<dt>
|
125
|
+
<i class="m">pathName</i> <b>fraction</b> <i class="m">x y</i>
|
126
|
+
</dt>
|
127
|
+
<dd>Returns a real number between 0 and 1 indicating where the point
|
128
|
+
given by <i>x</i> and <i>y</i> lies in the trough area of the scrollbar,
|
129
|
+
where 0.0 corresponds to the top or left of the trough
|
130
|
+
and 1.0 corresponds to the bottom or right.
|
131
|
+
<i>X</i> and <i>y</i> are pixel coordinates relative to the scrollbar
|
132
|
+
widget.
|
133
|
+
If <i>x</i> and <i>y</i> refer to a point outside the trough, the closest
|
134
|
+
point in the trough is used.
|
135
|
+
</dd>
|
136
|
+
|
137
|
+
|
138
|
+
<dt>
|
139
|
+
<i class="m">pathName</i> <b>identify</b> <i class="m">x y</i>
|
140
|
+
</dt>
|
141
|
+
<dd>Returns the name of the element under the point given
|
142
|
+
by <i>x</i> and <i>y</i>, or an empty string if the point does
|
143
|
+
not lie in any element of the scrollbar.
|
144
|
+
<i>X</i> and <i>y</i> are pixel coordinates relative to the scrollbar widget.
|
145
|
+
</dd>
|
146
|
+
|
147
|
+
</dl>
|
148
|
+
<h2><a name="SECTid8207990">SCROLLING COMMANDS</a></h2><p>When the user interacts with the scrollbar, for example by dragging
|
149
|
+
the thumb, the scrollbar notifies the associated widget that it
|
150
|
+
must change its view.
|
151
|
+
The scrollbar makes the notification by evaluating a Tcl command
|
152
|
+
generated from the scrollbar's <b>-command</b> option.
|
153
|
+
The command may take any of the following forms.
|
154
|
+
In each case, <i>prefix</i> is the contents of the
|
155
|
+
<b>-command</b> option, which usually has a form like <b>.t yview</b>
|
156
|
+
</p><dl>
|
157
|
+
|
158
|
+
<dt>
|
159
|
+
<i class="m">prefix</i> <b>moveto</b> <i class="m">fraction</i>
|
160
|
+
</dt>
|
161
|
+
<dd>
|
162
|
+
<i>Fraction</i> is a real number between 0 and 1.
|
163
|
+
The widget should adjust its view so that the point given
|
164
|
+
by <i>fraction</i> appears at the beginning of the widget.
|
165
|
+
If <i>fraction</i> is 0 it refers to the beginning of the
|
166
|
+
document. 1.0 refers to the end of the document, 0.333
|
167
|
+
refers to a point one-third of the way through the document,
|
168
|
+
and so on.
|
169
|
+
</dd>
|
170
|
+
|
171
|
+
|
172
|
+
<dt>
|
173
|
+
<i class="m">prefix</i> <b>scroll</b> <i class="m">number</i> <b>units</b>
|
174
|
+
</dt>
|
175
|
+
<dd>The widget should adjust its view by <i>number</i> units.
|
176
|
+
The units are defined in whatever way makes sense for the widget,
|
177
|
+
such as characters or lines in a text widget.
|
178
|
+
<i>Number</i> is either 1, which means one unit should scroll off
|
179
|
+
the top or left of the window, or -1, which means that one unit
|
180
|
+
should scroll off the bottom or right of the window.
|
181
|
+
</dd>
|
182
|
+
|
183
|
+
|
184
|
+
<dt>
|
185
|
+
<i class="m">prefix</i> <b>scroll</b> <i class="m">number</i> <b>pages</b>
|
186
|
+
</dt>
|
187
|
+
<dd>The widget should adjust its view by <i>number</i> pages.
|
188
|
+
It is up to the widget to define the meaning of a page; typically
|
189
|
+
it is slightly less than what fits in the window, so that there
|
190
|
+
is a slight overlap between the old and new views.
|
191
|
+
<i>Number</i> is either 1, which means the next page should
|
192
|
+
become visible, or -1, which means that the previous page should
|
193
|
+
become visible.
|
194
|
+
</dd>
|
195
|
+
|
196
|
+
</dl>
|
197
|
+
<h2><a name="SECTid8207f08">WIDGET STATES</a></h2><p>The scrollbar automatically sets the <b>disabled</b> state bit.
|
198
|
+
when the entire range is visible (range is 0.0 to 1.0),
|
199
|
+
and clears it otherwise.
|
200
|
+
It also sets the <b>active</b> and <b>pressed</b> state flags
|
201
|
+
of individual elements, based on the position and state of the mouse pointer.
|
202
|
+
</p>
|
203
|
+
<h2><a name="SECTid8207ff8">EXAMPLE</a></h2><pre class="example">
|
204
|
+
set f [frame .f]
|
205
|
+
ttk::scrollbar $f.hsb -orient horizontal -command [list $f.t xview]
|
206
|
+
ttk::scrollbar $f.vsb -orient vertical -command [list $f.t yview]
|
207
|
+
text $f.t -xscrollcommand [list $f.hsb set] -yscrollcommand [list $f.vsb set]
|
208
|
+
grid $f.t -row 0 -column 0 -sticky nsew
|
209
|
+
grid $f.vsb -row 0 -column 1 -sticky nsew
|
210
|
+
grid $f.hsb -row 1 -column 0 -sticky nsew
|
211
|
+
grid columnconfigure $f 0 -weight 1
|
212
|
+
grid rowconfigure $f 0 -weight 1
|
213
|
+
</pre>
|
214
|
+
<h2><a name="SECTid8208070">KEYWORDS</a></h2><p class="keywords">
|
215
|
+
<a class="keyword" href="keyword-index.html#KW-scrollbar">scrollbar</a>, <a class="keyword" href="keyword-index.html#KW-widget">widget</a>
|
216
|
+
</p>
|
217
|
+
</div><hr class="navsep"><div class="navbar" align="center">
|
218
|
+
<a class="navaid" href="index.html">Contents</a> � <a class="navaid" href="category-index.html">Index</a> � <a class="navaid" href="keyword-index.html">Keywords</a>
|
219
|
+
</div>
|
220
|
+
</body>
|
221
|
+
</html>
|