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,91 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<link rel="stylesheet" href="manpage.css"><title>Tile package reference: labelframe</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="#SECTid8206950">OPTIONS</a> � <a href="#SECTid82072d8">WIDGET COMMAND</a> � <a href="#SECTid8207418">SEE ALSO</a> � <a href="#SECTid8207490">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::labelframe - </b><br>Container widget with optional label</p>
|
15
|
+
<h2><a name="SECTid82066d0">SYNOPSIS</a></h2><pre class="syntax">
|
16
|
+
<b>ttk::labelframe</b> <i class="m">pathName</i> ?<i class="m">options</i>?
|
17
|
+
</pre>
|
18
|
+
<h2><a name="SECTid8206798">DESCRIPTION</a></h2><p>A <b>labelframe</b> widget is a container used to group other widgets together.
|
19
|
+
It has an optional label, which may be a plain text string or another widget.
|
20
|
+
</p>
|
21
|
+
<h2><a name="SECTid8206838">STANDARD OPTIONS</a></h2><div class="menu"><table class="menu" width="100%"><tr>
|
22
|
+
<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>
|
23
|
+
</tr></table></div>
|
24
|
+
<h2><a name="SECTid8206950">OPTIONS</a></h2><div class="table"><table width="100%" rules="none" cellpadding="5%">
|
25
|
+
<thead><tr class="heading">
|
26
|
+
<th width="20%">Name</th><th width="40%">Database name</th><th width="40%">Database class</th>
|
27
|
+
</tr></thead><tr class="syntax">
|
28
|
+
<td width="20%" align="left"><a name="option_-labelanchor">-labelanchor</a></td><td width="40%" align="left">labelAnchor</td><td width="40%" align="left">LabelAnchor</td>
|
29
|
+
</tr><tr class="desc">
|
30
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">Specifies where to place the label.
|
31
|
+
Allowed values are (clockwise from the top upper left corner):
|
32
|
+
<b>nw</b>, <b>n</b>, <b>ne</b>, <b>en</b>, <b>e</b>, <b>es</b>,
|
33
|
+
<b>se</b>, <b>s</b>,<b>sw</b>, <b>ws</b>, <b>w</b> and <b>wn</b>.
|
34
|
+
The default value is theme-dependent.
|
35
|
+
</td>
|
36
|
+
</tr><tr class="syntax">
|
37
|
+
<td width="20%" align="left"><a name="option_-text">-text</a></td><td width="40%" align="left">text</td><td width="40%" align="left">Text</td>
|
38
|
+
</tr><tr class="desc">
|
39
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">Specifies the text of the label.
|
40
|
+
</td>
|
41
|
+
</tr><tr class="syntax">
|
42
|
+
<td width="20%" align="left"><a name="option_-underline">-underline</a></td><td width="40%" align="left">underline</td><td width="40%" align="left">Underline</td>
|
43
|
+
</tr><tr class="desc">
|
44
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">If set, specifies the integer index (0-based) of a character to
|
45
|
+
underline in the text string.
|
46
|
+
The underlined character is used for mnemonic activation
|
47
|
+
(see <i>keynav(n)</i>).
|
48
|
+
Mnemonic activation for a <b>ttk::labelframe</b>
|
49
|
+
sets the keyboard focus to the first child of the <b>ttk::labelframe</b> widget.
|
50
|
+
</td>
|
51
|
+
</tr><tr class="syntax">
|
52
|
+
<td width="20%" align="left"><a name="option_-padding">-padding</a></td><td width="40%" align="left">padding</td><td width="40%" align="left">Padding</td>
|
53
|
+
</tr><tr class="desc">
|
54
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">Additional padding to include inside the border.
|
55
|
+
</td>
|
56
|
+
</tr><tr class="syntax">
|
57
|
+
<td width="20%" align="left"><a name="option_-labelwidget">-labelwidget</a></td><td width="40%" align="left">labelWidget</td><td width="40%" align="left">LabelWidget</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 widget to use for the label.
|
60
|
+
If set, overrides the <b>-text</b> option.
|
61
|
+
The <b>-labelwidget</b> must be a child of the <b>labelframe</b> widget
|
62
|
+
or one of the <b>labelframe</b>'s ancestors, and must belong to the
|
63
|
+
same top-level widget as the <b>labelframe</b>.
|
64
|
+
</td>
|
65
|
+
</tr><tr class="syntax">
|
66
|
+
<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>
|
67
|
+
</tr><tr class="desc">
|
68
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">If specified, the widget's requested width in pixels.
|
69
|
+
</td>
|
70
|
+
</tr><tr class="syntax">
|
71
|
+
<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>
|
72
|
+
</tr><tr class="desc">
|
73
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">If specified, the widget's requested height in pixels.
|
74
|
+
(See <i>ttk::frame</i> for further notes on <b>-width</b> and <b>-height</b>).
|
75
|
+
</td>
|
76
|
+
</tr>
|
77
|
+
</table></div>
|
78
|
+
<h2><a name="SECTid82072d8">WIDGET COMMAND</a></h2><p>Supports the standard widget commands
|
79
|
+
<b>configure</b>, <b>cget</b>, <b>instate</b>, and <b>state</b>;
|
80
|
+
see <i>widget(n)</i>.
|
81
|
+
</p>
|
82
|
+
<h2><a name="SECTid8207418">SEE ALSO</a></h2><p class="seealso">widget(n), <a href="frame.html">frame(n)</a>
|
83
|
+
</p>
|
84
|
+
<h2><a name="SECTid8207490">KEYWORDS</a></h2><p class="keywords">
|
85
|
+
<a class="keyword" href="keyword-index.html#KW-widget">widget</a>, <a class="keyword" href="keyword-index.html#KW-frame">frame</a>, <a class="keyword" href="keyword-index.html#KW-container">container</a>, <a class="keyword" href="keyword-index.html#KW-label">label</a>, <a class="keyword" href="keyword-index.html#KW-groupbox">groupbox</a>
|
86
|
+
</p>
|
87
|
+
</div><hr class="navsep"><div class="navbar" align="center">
|
88
|
+
<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>
|
89
|
+
</div>
|
90
|
+
</body>
|
91
|
+
</html>
|
@@ -0,0 +1,212 @@
|
|
1
|
+
/*
|
2
|
+
* $Id: manpage.css,v 1.5 2004/10/01 00:10:49 jenglish Exp $
|
3
|
+
* Author: Joe English, <jenglish@flightab.com>
|
4
|
+
* Created: 26 Jun 2000
|
5
|
+
* Description: CSS stylesheet for TCL man pages
|
6
|
+
*/
|
7
|
+
|
8
|
+
HTML {
|
9
|
+
background: #FFFFFF;
|
10
|
+
color: black;
|
11
|
+
}
|
12
|
+
|
13
|
+
BODY {
|
14
|
+
background: #FFFFFF;
|
15
|
+
color: black;
|
16
|
+
}
|
17
|
+
|
18
|
+
DIV.body {
|
19
|
+
margin-left: 10%;
|
20
|
+
margin-right: 10%;
|
21
|
+
}
|
22
|
+
DIV.header,DIV.footer {
|
23
|
+
width: 100%;
|
24
|
+
margin-left: 0%;
|
25
|
+
margin-right: 0%;
|
26
|
+
}
|
27
|
+
|
28
|
+
DIV.body H1,DIV.body H2 {
|
29
|
+
margin-left: -5%;
|
30
|
+
}
|
31
|
+
|
32
|
+
/* Navigation material: */
|
33
|
+
|
34
|
+
DIV.navbar {
|
35
|
+
width: 100%;
|
36
|
+
margin-top: 5pt;
|
37
|
+
margin-bottom: 5pt;
|
38
|
+
margin-left: 0%;
|
39
|
+
margin-right: 0%;
|
40
|
+
padding-top: 5pt;
|
41
|
+
padding-bottom: 5pt;
|
42
|
+
background: #DDDDDD;
|
43
|
+
color: black;
|
44
|
+
border: 1px solid black;
|
45
|
+
text-align: center;
|
46
|
+
font-size: small;
|
47
|
+
font-family: sans-serif;
|
48
|
+
}
|
49
|
+
|
50
|
+
P.navaid {
|
51
|
+
text-align: center;
|
52
|
+
}
|
53
|
+
.navaid {
|
54
|
+
font-size: small;
|
55
|
+
font-family: sans-serif;
|
56
|
+
}
|
57
|
+
|
58
|
+
P.notice {
|
59
|
+
text-align: center;
|
60
|
+
font-size: small;
|
61
|
+
font-family: sans-serif;
|
62
|
+
font-style: italic;
|
63
|
+
color: red;
|
64
|
+
}
|
65
|
+
|
66
|
+
A.navaid:link { color: green; background: transparent; }
|
67
|
+
A.navaid:visited { color: green; background: transparent; }
|
68
|
+
A.navaid:active { color: yellow; background: transparent; }
|
69
|
+
|
70
|
+
/* For most anchors, we should leave colors up to the user's preferences. */
|
71
|
+
/*--
|
72
|
+
A:link { color: blue; background: transparent; }
|
73
|
+
A:visited { color: purple; background: transparent; }
|
74
|
+
A:active { color: red; background: transparent; }
|
75
|
+
--*/
|
76
|
+
|
77
|
+
H1, H2, H3, H4 {
|
78
|
+
margin-top: 1em;
|
79
|
+
font-family: sans-serif;
|
80
|
+
font-size: large;
|
81
|
+
color: #005A9C;
|
82
|
+
background: transparent;
|
83
|
+
text-align: left;
|
84
|
+
}
|
85
|
+
|
86
|
+
H1.title {
|
87
|
+
text-align: center;
|
88
|
+
}
|
89
|
+
|
90
|
+
UL,OL {
|
91
|
+
margin-right: 0em;
|
92
|
+
margin-top: 3pt;
|
93
|
+
margin-bottom: 3pt;
|
94
|
+
}
|
95
|
+
UL LI {
|
96
|
+
list-style: disc;
|
97
|
+
}
|
98
|
+
OL LI {
|
99
|
+
list-style: decimal;
|
100
|
+
}
|
101
|
+
|
102
|
+
DT {
|
103
|
+
padding-top: 1ex;
|
104
|
+
}
|
105
|
+
|
106
|
+
DL.toc {
|
107
|
+
font: normal 12pt/16pt sans-serif;
|
108
|
+
margin-left: 10%;
|
109
|
+
}
|
110
|
+
|
111
|
+
UL.toc,UL.toc UL, UL.toc UL UL {
|
112
|
+
font: normal 12pt/14pt sans-serif;
|
113
|
+
list-style: none;
|
114
|
+
}
|
115
|
+
LI.tocentry,LI.tocheading {
|
116
|
+
list-style: none;
|
117
|
+
margin-left: 0em;
|
118
|
+
text-indent: 0em;
|
119
|
+
padding: 0em;
|
120
|
+
}
|
121
|
+
|
122
|
+
.tocheading {
|
123
|
+
font-family: sans-serif;
|
124
|
+
font-weight: bold;
|
125
|
+
color: #005A9C;
|
126
|
+
background: transparent;
|
127
|
+
}
|
128
|
+
|
129
|
+
PRE {
|
130
|
+
display: block;
|
131
|
+
font-family: monospace;
|
132
|
+
white-space: pre;
|
133
|
+
margin: 0%;
|
134
|
+
padding-top: 0.5ex;
|
135
|
+
padding-bottom: 0.5ex;
|
136
|
+
padding-left: 1ex;
|
137
|
+
padding-right: 1ex;
|
138
|
+
width: 100%;
|
139
|
+
}
|
140
|
+
PRE.syntax {
|
141
|
+
color: black;
|
142
|
+
background: #80ffff;
|
143
|
+
border: 1px solid black;
|
144
|
+
font-family: serif;
|
145
|
+
}
|
146
|
+
PRE.example {
|
147
|
+
color: black;
|
148
|
+
background: #f5dcb3;
|
149
|
+
border: 1px solid black;
|
150
|
+
}
|
151
|
+
|
152
|
+
DIV.arglist {
|
153
|
+
border: 1px solid black;
|
154
|
+
width: 100%;
|
155
|
+
}
|
156
|
+
TH, THEAD TR, TR.heading {
|
157
|
+
color: #005A9C;
|
158
|
+
background: #DDDDDD;
|
159
|
+
text-align: center;
|
160
|
+
font-family: sans-serif;
|
161
|
+
font-weight: bold;
|
162
|
+
}
|
163
|
+
TR.syntax {
|
164
|
+
color: black;
|
165
|
+
background: #80ffff;
|
166
|
+
}
|
167
|
+
TR.desc {
|
168
|
+
color: black;
|
169
|
+
background: #f5dcb3;
|
170
|
+
}
|
171
|
+
|
172
|
+
/* TR.row[01] are used to get alternately colored table rows.
|
173
|
+
* Could probably choose better colors here...
|
174
|
+
*/
|
175
|
+
TR.row0 {
|
176
|
+
color: black;
|
177
|
+
background: #efffef;
|
178
|
+
}
|
179
|
+
|
180
|
+
TR.row1 {
|
181
|
+
color: black;
|
182
|
+
background: #efefff;
|
183
|
+
}
|
184
|
+
|
185
|
+
/* Workaround for Netscape bugs:
|
186
|
+
* Netscape doesn't seem to compute table widths properly.
|
187
|
+
* unless they're wrapped inside a DIV. (Additionally,
|
188
|
+
* it appears to require a non-zero border-width.)
|
189
|
+
*/
|
190
|
+
DIV.table {
|
191
|
+
border-width: 1px;
|
192
|
+
border-color: white;
|
193
|
+
width: 100%;
|
194
|
+
}
|
195
|
+
DIV.menu { /* Wrapper for TABLE class="menu" */
|
196
|
+
margin-top: 10px;
|
197
|
+
margin-bottom: 10px;
|
198
|
+
border: thin solid #005A9C;
|
199
|
+
width: 100%;
|
200
|
+
margin-left: 5%;
|
201
|
+
}
|
202
|
+
|
203
|
+
VAR {
|
204
|
+
font-style: italic;
|
205
|
+
}
|
206
|
+
|
207
|
+
/* For debugging: highlight unrecognized elements: */
|
208
|
+
.unrecognized {
|
209
|
+
color: red; background: green;
|
210
|
+
}
|
211
|
+
|
212
|
+
/* EOF */
|
@@ -0,0 +1,63 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<link rel="stylesheet" href="manpage.css"><title>Tile package reference: menubutton</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="#SECTid8206ea0">SEE ALSO</a> � <a href="#SECTid8206f40">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::menubutton - </b><br>Widget that pops down a menu when pressed</p>
|
15
|
+
<h2><a name="SECTid82066d0">SYNOPSIS</a></h2><pre class="syntax">
|
16
|
+
<b>ttk::menubutton</b> <i class="m">pathName</i> ?<i class="m">options</i>?
|
17
|
+
</pre>
|
18
|
+
<h2><a name="SECTid8206798">DESCRIPTION</a></h2><p>A <b>menubutton</b> widget displays a textual label and/or image,
|
19
|
+
and displays a menu when pressed.
|
20
|
+
</p>
|
21
|
+
<h2><a name="SECTid8206838">STANDARD OPTIONS</a></h2><div class="menu"><table class="menu" width="100%">
|
22
|
+
<tr>
|
23
|
+
<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>
|
24
|
+
</tr><tr>
|
25
|
+
<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>
|
26
|
+
</tr><tr>
|
27
|
+
<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>
|
28
|
+
</tr>
|
29
|
+
</table></div>
|
30
|
+
<h2><a name="SECTid8206a68">OPTIONS</a></h2><div class="table"><table width="100%" rules="none" cellpadding="5%">
|
31
|
+
<thead><tr class="heading">
|
32
|
+
<th width="20%">Name</th><th width="40%">Database name</th><th width="40%">Database class</th>
|
33
|
+
</tr></thead><tr class="syntax">
|
34
|
+
<td width="20%" align="left"><a name="option_-direction">-direction</a></td><td width="40%" align="left">direction</td><td width="40%" align="left">Direction</td>
|
35
|
+
</tr><tr class="desc">
|
36
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">Specifies where the menu is to be popped up relative
|
37
|
+
to the menubutton.
|
38
|
+
One of: <i>above</i>, <i>below</i>, <i>left</i>, <i>right</i>,
|
39
|
+
or <i>flush</i>. The default is <i>below</i>.
|
40
|
+
<i>flush</i> pops the menu up directly over the menubutton.
|
41
|
+
</td>
|
42
|
+
</tr><tr class="syntax">
|
43
|
+
<td width="20%" align="left"><a name="option_-menu">-menu</a></td><td width="40%" align="left">menu</td><td width="40%" align="left">Menu</td>
|
44
|
+
</tr><tr class="desc">
|
45
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">Specifies the path name of the menu associated with the menubutton.
|
46
|
+
To be on the safe side, the menu ought to be a direct child of the
|
47
|
+
menubutton.
|
48
|
+
</td>
|
49
|
+
</tr>
|
50
|
+
</table></div>
|
51
|
+
<h2><a name="SECTid8206d88">WIDGET COMMAND</a></h2><p>Menubutton widgets support the standard
|
52
|
+
<b>cget</b>, <b>configure</b>, <b>instate</b>, and <b>state</b>
|
53
|
+
methods. No other widget methods are used.
|
54
|
+
</p>
|
55
|
+
<h2><a name="SECTid8206ea0">SEE ALSO</a></h2><p class="seealso">widget(n), keynav(n), menu(n)</p>
|
56
|
+
<h2><a name="SECTid8206f40">KEYWORDS</a></h2><p class="keywords">
|
57
|
+
<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-menu">menu</a>
|
58
|
+
</p>
|
59
|
+
</div><hr class="navsep"><div class="navbar" align="center">
|
60
|
+
<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>
|
61
|
+
</div>
|
62
|
+
</body>
|
63
|
+
</html>
|
@@ -0,0 +1,280 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<link rel="stylesheet" href="manpage.css"><title>Tile package reference: notebook</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="#SECTid82069c8">STANDARD OPTIONS</a> � <a href="#SECTid8206ae0">WIDGET OPTIONS</a> � <a href="#SECTid8206ec8">TAB OPTIONS</a> � <a href="#SECTid8207710">WIDGET COMMAND</a> � <a href="#SECTid8208750">KEYBOARD TRAVERSAL</a> � <a href="#SECTid82089a8">TAB IDENTIFIERS</a> � <a href="#SECTid8208c28">VIRTUAL EVENTS</a> � <a href="#SECTid8208cc8">EXAMPLE</a> � <a href="#SECTid8208d40">SEE ALSO</a> � <a href="#SECTid8208db8">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::notebook - </b><br>Multi-paned container widget</p>
|
15
|
+
<h2><a name="SECTid82066d0">SYNOPSIS</a></h2><pre class="syntax">
|
16
|
+
<b>ttk::notebook</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 <b>ttk::notebook</b> widget manages a collection of windows
|
22
|
+
and displays a single one at a time.
|
23
|
+
Each slave window is associated with a <i>tab</i>,
|
24
|
+
which the user may select to change the currently-displayed window.
|
25
|
+
</p>
|
26
|
+
<h2><a name="SECTid82069c8">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="SECTid8206ae0">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_-height">-height</a></td><td width="40%" align="left">height</td><td width="40%" align="left">Height</td>
|
34
|
+
</tr><tr class="desc">
|
35
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">If present and greater than zero,
|
36
|
+
specifies the desired height of the pane area
|
37
|
+
(not including internal padding or tabs).
|
38
|
+
Otherwise, the maximum height of all panes is used.
|
39
|
+
</td>
|
40
|
+
</tr><tr class="syntax">
|
41
|
+
<td width="20%" align="left"><a name="option_-padding">-padding</a></td><td width="40%" align="left">padding</td><td width="40%" align="left">Padding</td>
|
42
|
+
</tr><tr class="desc">
|
43
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">Specifies the amount of extra space to add around the outside
|
44
|
+
of the notebook.
|
45
|
+
The padding is a list of up to four length specifications
|
46
|
+
<i>left top right bottom</i>.
|
47
|
+
If fewer than four elements are specified,
|
48
|
+
<i>bottom</i> defaults to <i>top</i>,
|
49
|
+
<i>right</i> defaults to <i>left</i>, and
|
50
|
+
<i>top</i> defaults to <i>left</i>.
|
51
|
+
</td>
|
52
|
+
</tr><tr class="syntax">
|
53
|
+
<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>
|
54
|
+
</tr><tr class="desc">
|
55
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">If present and greater than zero,
|
56
|
+
specifies the desired width of the pane area
|
57
|
+
(not including internal padding).
|
58
|
+
Otherwise, the maximum width of all panes is used.
|
59
|
+
</td>
|
60
|
+
</tr>
|
61
|
+
</table></div>
|
62
|
+
<h2><a name="SECTid8206ec8">TAB OPTIONS</a></h2><p>The following options may be specified for individual notebook panes:
|
63
|
+
</p><div class="table"><table width="100%" rules="none" cellpadding="5%">
|
64
|
+
<thead><tr class="heading">
|
65
|
+
<th width="20%">Name</th><th width="40%">Database name</th><th width="40%">Database class</th>
|
66
|
+
</tr></thead><tr class="syntax">
|
67
|
+
<td width="20%" align="left"><a name="option_-state">-state</a></td><td width="40%" align="left">state</td><td width="40%" align="left">State</td>
|
68
|
+
</tr><tr class="desc">
|
69
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">Either <b>normal</b>, <b>disabled</b> or <b>hidden</b>.
|
70
|
+
If <b>disabled</b>, then the tab is not selectable.
|
71
|
+
If <b>hidden</b>, then the tab is not shown.
|
72
|
+
</td>
|
73
|
+
</tr><tr class="syntax">
|
74
|
+
<td width="20%" align="left"><a name="option_-sticky">-sticky</a></td><td width="40%" align="left">sticky</td><td width="40%" align="left">Sticky</td>
|
75
|
+
</tr><tr class="desc">
|
76
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">Specifies how the slave window is positioned within the pane area.
|
77
|
+
Value is a string containing zero or more of the characters
|
78
|
+
<b>n, s, e,</b> or <b>w</b>.
|
79
|
+
Each letter refers to a side (north, south, east, or west)
|
80
|
+
that the slave window will "stick" to,
|
81
|
+
as per the <b class="cmd">grid</b> geometry manager.
|
82
|
+
</td>
|
83
|
+
</tr><tr class="syntax">
|
84
|
+
<td width="20%" align="left"><a name="option_-padding">-padding</a></td><td width="40%" align="left">padding</td><td width="40%" align="left">Padding</td>
|
85
|
+
</tr><tr class="desc">
|
86
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">Specifies the amount of extra space to add between the notebook and this pane.
|
87
|
+
Syntax is the same as for the widget <b>-padding</b> option.
|
88
|
+
</td>
|
89
|
+
</tr><tr class="syntax">
|
90
|
+
<td width="20%" align="left"><a name="option_-text">-text</a></td><td width="40%" align="left">text</td><td width="40%" align="left">Text</td>
|
91
|
+
</tr><tr class="desc">
|
92
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">Specifies a string to be displayed in the tab.
|
93
|
+
</td>
|
94
|
+
</tr><tr class="syntax">
|
95
|
+
<td width="20%" align="left"><a name="option_-image">-image</a></td><td width="40%" align="left">image</td><td width="40%" align="left">Image</td>
|
96
|
+
</tr><tr class="desc">
|
97
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">Specifies an image to display in the tab.
|
98
|
+
See <i>widget(n)</i> for details.
|
99
|
+
</td>
|
100
|
+
</tr><tr class="syntax">
|
101
|
+
<td width="20%" align="left"><a name="option_-compound">-compound</a></td><td width="40%" align="left">compound</td><td width="40%" align="left">Compound</td>
|
102
|
+
</tr><tr class="desc">
|
103
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">Specifies how to display the image relative to the text,
|
104
|
+
in the case both <b>-text</b> and <b>-image</b> are present.
|
105
|
+
See <i>label(n)</i> for legal values.
|
106
|
+
</td>
|
107
|
+
</tr><tr class="syntax">
|
108
|
+
<td width="20%" align="left"><a name="option_-underline">-underline</a></td><td width="40%" align="left">underline</td><td width="40%" align="left">Underline</td>
|
109
|
+
</tr><tr class="desc">
|
110
|
+
<td class="padding" width="20%">�</td><td class="argdesc" width="80%" align="left" colspan="2">Specifies the integer index (0-based) of a character to underline
|
111
|
+
in the text string.
|
112
|
+
The underlined character is used for mnemonic activation
|
113
|
+
if <b>ttk::notebook::enableTraversal</b> is called.
|
114
|
+
</td>
|
115
|
+
</tr>
|
116
|
+
</table></div>
|
117
|
+
<h2><a name="SECTid8207710">WIDGET COMMAND</a></h2><dl class="commandlist">
|
118
|
+
|
119
|
+
<dt>
|
120
|
+
<i class="m">pathname</i> <b>add</b> <i class="m">window</i> ?<i class="m">options...</i>?</dt>
|
121
|
+
<dd>Adds a new tab to the notebook.
|
122
|
+
See <a href="#SECTid8206ec8">TAB OPTIONS</a> for the list of available <i>options</i>.
|
123
|
+
If <i>window</i> is currently managed by the notebook but hidden,
|
124
|
+
it is restored to its previous position.
|
125
|
+
</dd>
|
126
|
+
|
127
|
+
|
128
|
+
<dt>
|
129
|
+
<i class="m">pathname</i> <b>configure</b> ?<i class="m">options</i>?</dt>
|
130
|
+
<dd>See <i>widget(n)</i>.
|
131
|
+
</dd>
|
132
|
+
|
133
|
+
|
134
|
+
<dt>
|
135
|
+
<i class="m">pathname</i> <b>cget</b> <i class="m">option</i>
|
136
|
+
</dt>
|
137
|
+
<dd>See <i>widget(n)</i>.
|
138
|
+
</dd>
|
139
|
+
|
140
|
+
|
141
|
+
<dt>
|
142
|
+
<i class="m">pathname</i> <b>forget</b> <i class="m">tabid</i>
|
143
|
+
</dt>
|
144
|
+
<dd>Removes the tab specified by <i>tabid</i>,
|
145
|
+
unmaps and unmanages the associated window.
|
146
|
+
</dd>
|
147
|
+
|
148
|
+
|
149
|
+
<dt>
|
150
|
+
<i class="m">pathname</i> <b>hide</b> <i class="m">tabid</i>
|
151
|
+
</dt>
|
152
|
+
<dd>Hides the tab specified by <i>tabid</i>.
|
153
|
+
The tab will not be displayed, but the associated window
|
154
|
+
remains managed by the notebook and its configuration remembered.
|
155
|
+
Hidden tabs may be restored with the <b>add</b> command.
|
156
|
+
</dd>
|
157
|
+
|
158
|
+
|
159
|
+
<dt>
|
160
|
+
<i class="m">pathname</i> <b>index</b> <i class="m">tabid</i>
|
161
|
+
</dt>
|
162
|
+
<dd>Returns the numeric index of the tab specified by <i>tabid</i>,
|
163
|
+
or the total number of tabs if <i>tabid</i> is the string "<b>end</b>".
|
164
|
+
</dd>
|
165
|
+
|
166
|
+
|
167
|
+
<dt>
|
168
|
+
<i class="m">pathname</i> <b>insert</b> <i class="m">pos</i> <i class="m">subwindow</i> <i class="m">options...</i>
|
169
|
+
</dt>
|
170
|
+
<dd>Inserts a pane at the specified position.
|
171
|
+
<i>pos</i> is either the string <b>end</b>, an integer index,
|
172
|
+
or the name of a managed subwindow.
|
173
|
+
If <i>subwindow</i> is already managed by the notebook,
|
174
|
+
moves it to the specified position.
|
175
|
+
See <a href="#SECTid8206ec8">TAB OPTIONS</a> for the list of available options.
|
176
|
+
</dd>
|
177
|
+
|
178
|
+
|
179
|
+
<dt>
|
180
|
+
<i class="m">pathname</i> <b>instate</b> <i class="m">statespec</i> ?<i class="m">script...</i>?</dt>
|
181
|
+
<dd>See <i>widget(n)</i>.
|
182
|
+
</dd>
|
183
|
+
|
184
|
+
|
185
|
+
<dt>
|
186
|
+
<i class="m">pathname</i> <b>select</b> ?<i class="m">tabid</i>?</dt>
|
187
|
+
<dd>Selects the specified tab.
|
188
|
+
The associated slave window will be displayed,
|
189
|
+
and the previously-selected window (if different) is unmapped.
|
190
|
+
If <i>tabid</i> is omitted, returns the widget name of the
|
191
|
+
currently selected pane.
|
192
|
+
</dd>
|
193
|
+
|
194
|
+
|
195
|
+
<dt>
|
196
|
+
<i class="m">pathname</i> <b>state</b> ?<i class="m">statespec</i>?</dt>
|
197
|
+
<dd>See <i>widget(n)</i>.
|
198
|
+
</dd>
|
199
|
+
|
200
|
+
|
201
|
+
<dt>
|
202
|
+
<i class="m">pathname</i> <b>tab</b> <i class="m">tabid</i> ?<i class="m">-option</i> ?<i class="m">value ...</i>
|
203
|
+
</dt>
|
204
|
+
<dd>Query or modify the options of the specific tab.
|
205
|
+
If no <i>-option</i> is specified,
|
206
|
+
returns a dictionary of the tab option values.
|
207
|
+
If one <i>-option</i> is specified,
|
208
|
+
returns the value of that <i>option</i>.
|
209
|
+
Otherwise, sets the <i>-option</i>s to the corresponding <i>value</i>s.
|
210
|
+
See <a href="#SECTid8206ec8">TAB OPTIONS</a> for the available options.
|
211
|
+
</dd>
|
212
|
+
|
213
|
+
|
214
|
+
<dt>
|
215
|
+
<i class="m">pathname</i> <b>tabs</b>
|
216
|
+
</dt>
|
217
|
+
<dd>Returns the list of windows managed by the notebook.
|
218
|
+
</dd>
|
219
|
+
|
220
|
+
</dl>
|
221
|
+
<h2><a name="SECTid8208750">KEYBOARD TRAVERSAL</a></h2><p>To enable keyboard traversal for a toplevel window
|
222
|
+
containing a notebook widget <i>$nb</i>, call:
|
223
|
+
</p><pre class="example">
|
224
|
+
ttk::notebook::enableTraversal $nb
|
225
|
+
</pre><p>This will extend the bindings for the toplevel window
|
226
|
+
containing the notebook as follows:
|
227
|
+
</p><ul>
|
228
|
+
<li>
|
229
|
+
<b>Control-Tab</b> selects the tab following the currently selected one.
|
230
|
+
</li>
|
231
|
+
<li>
|
232
|
+
<b>Shift-Control-Tab</b> selects the tab preceding the currently selected one.
|
233
|
+
</li>
|
234
|
+
<li>
|
235
|
+
<b>Alt-K</b>, where <b>K</b> is the mnemonic (underlined) character
|
236
|
+
of any tab, will select that tab.
|
237
|
+
</li>
|
238
|
+
</ul><p>Multiple notebooks in a single toplevel may be enabled for traversal,
|
239
|
+
including nested notebooks.
|
240
|
+
However, notebook traversal only works properly if all panes
|
241
|
+
are direct children of the notebook.
|
242
|
+
</p>
|
243
|
+
<h2><a name="SECTid82089a8">TAB IDENTIFIERS</a></h2><p>The <i>tabid</i> argument to the above commands may take
|
244
|
+
any of the following forms:
|
245
|
+
</p><ul>
|
246
|
+
<li>An integer between zero and the number of tabs;
|
247
|
+
</li>
|
248
|
+
<li>The name of a slave window;
|
249
|
+
</li>
|
250
|
+
<li>A positional specification of the form "@<i>x</i>,<i>y</i>",
|
251
|
+
which identifies the tab
|
252
|
+
</li>
|
253
|
+
<li>The literal string "<b>current</b>",
|
254
|
+
which identifies the currently-selected tab; or:
|
255
|
+
</li>
|
256
|
+
<li>The literal string "<b>end</b>",
|
257
|
+
which returns the number of tabs
|
258
|
+
(only valid for "<i>pathname</i> <b>index</b>").
|
259
|
+
|
260
|
+
</li>
|
261
|
+
</ul>
|
262
|
+
<h2><a name="SECTid8208c28">VIRTUAL EVENTS</a></h2><p>The notebook widget generates a <b><<NotebookTabChanged>></b>
|
263
|
+
virtual event after a new tab is selected.
|
264
|
+
</p>
|
265
|
+
<h2><a name="SECTid8208cc8">EXAMPLE</a></h2><pre class="example">
|
266
|
+
notebook .nb
|
267
|
+
.nb add [frame .nb.f1] -text "First tab"
|
268
|
+
.nb add [frame .nb.f2] -text "Second tab"
|
269
|
+
.nb select .nb.f2
|
270
|
+
ttk::notebook::enableTraversal .nb
|
271
|
+
</pre>
|
272
|
+
<h2><a name="SECTid8208d40">SEE ALSO</a></h2><p class="seealso">widget(n), grid(n)</p>
|
273
|
+
<h2><a name="SECTid8208db8">KEYWORDS</a></h2><p class="keywords">
|
274
|
+
<a class="keyword" href="keyword-index.html#KW-pane">pane</a>, <a class="keyword" href="keyword-index.html#KW-tab">tab</a>
|
275
|
+
</p>
|
276
|
+
</div><hr class="navsep"><div class="navbar" align="center">
|
277
|
+
<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>
|
278
|
+
</div>
|
279
|
+
</body>
|
280
|
+
</html>
|