arcadia 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README +126 -123
- data/arcadia.rb +770 -756
- data/base/a-contracts.rb +130 -93
- data/base/a-ext.rb +280 -280
- data/base/a-libs.rb +5 -11
- data/base/a-utils.rb +235 -44
- data/conf/arcadia.conf +20 -16
- data/conf/arcadia.init.rb +0 -0
- data/conf/arcadia.res.rb +74 -0
- data/ext/ae-complete-code/ae-complete-code.conf +0 -0
- data/ext/ae-complete-code/ae-complete-code.rb +80 -79
- data/ext/ae-debug/ae-debug.conf +0 -0
- data/ext/ae-debug/ae-debug.rb +2 -6
- data/ext/ae-debug/debug1.57.rb +0 -0
- data/ext/ae-doc-code/ae-doc-code.conf +15 -0
- data/ext/ae-doc-code/ae-doc-code.rb +289 -0
- data/ext/ae-editor/ae-editor.conf +17 -8
- data/ext/ae-editor/ae-editor.rb +738 -396
- data/ext/ae-event-log/ae-event-log.conf +0 -0
- data/ext/ae-event-log/ae-event-log.rb +0 -0
- data/ext/ae-file-history/ae-file-history.conf +2 -2
- data/ext/ae-file-history/ae-file-history.rb +286 -290
- data/ext/ae-inspector/ae-inspector.conf +0 -0
- data/ext/ae-inspector/ae-inspector.rb +0 -0
- data/ext/ae-output-event/ae-output-event.conf +2 -2
- data/ext/ae-output/ae-output.conf +2 -2
- data/ext/ae-output/ae-output.rb +173 -178
- data/ext/ae-palette/ae-palette.conf +0 -0
- data/ext/ae-palette/ae-palette.rb +0 -0
- data/ext/ae-shell/ae-shell.conf +0 -0
- data/ext/ae-shell/ae-shell.rb +54 -54
- data/lib/tk/al-tk.rb +3076 -3082
- data/lib/tk/al-tk.res.rb +0 -0
- data/lib/tk/al-tkarcadia.rb +0 -0
- data/lib/tk/al-tkcustom.rb +0 -0
- data/lib/tkext/al-bwidget.rb +0 -0
- data/lib/tkext/al-iwidgets.rb +0 -0
- data/lib/tkext/al-tile.rb +0 -0
- data/lib/tkext/al-tktable.rb +0 -0
- data/tcl/BWidget-1.8.0/BWman/ArrowButton.html +276 -0
- data/tcl/BWidget-1.8.0/BWman/BWidget.html +228 -0
- data/tcl/BWidget-1.8.0/BWman/Button.html +273 -0
- data/tcl/BWidget-1.8.0/BWman/ButtonBox.html +264 -0
- data/tcl/BWidget-1.8.0/BWman/ComboBox.html +402 -0
- data/tcl/BWidget-1.8.0/BWman/Dialog.html +314 -0
- data/tcl/BWidget-1.8.0/BWman/DragSite.html +139 -0
- data/tcl/BWidget-1.8.0/BWman/DropSite.html +254 -0
- data/tcl/BWidget-1.8.0/BWman/DynamicHelp.html +248 -0
- data/tcl/BWidget-1.8.0/BWman/Entry.html +341 -0
- data/tcl/BWidget-1.8.0/BWman/Label.html +331 -0
- data/tcl/BWidget-1.8.0/BWman/LabelEntry.html +194 -0
- data/tcl/BWidget-1.8.0/BWman/LabelFrame.html +144 -0
- data/tcl/BWidget-1.8.0/BWman/ListBox.html +678 -0
- data/tcl/BWidget-1.8.0/BWman/MainFrame.html +283 -0
- data/tcl/BWidget-1.8.0/BWman/MessageDlg.html +218 -0
- data/tcl/BWidget-1.8.0/BWman/NoteBook.html +374 -0
- data/tcl/BWidget-1.8.0/BWman/PagesManager.html +180 -0
- data/tcl/BWidget-1.8.0/BWman/PanedWindow.html +142 -0
- data/tcl/BWidget-1.8.0/BWman/PanelFrame.html +153 -0
- data/tcl/BWidget-1.8.0/BWman/PasswdDlg.html +214 -0
- data/tcl/BWidget-1.8.0/BWman/ProgressBar.html +152 -0
- data/tcl/BWidget-1.8.0/BWman/ProgressDlg.html +145 -0
- data/tcl/BWidget-1.8.0/BWman/ScrollView.html +130 -0
- data/tcl/BWidget-1.8.0/BWman/ScrollableFrame.html +191 -0
- data/tcl/BWidget-1.8.0/BWman/ScrolledWindow.html +116 -0
- data/tcl/BWidget-1.8.0/BWman/SelectColor.html +164 -0
- data/tcl/BWidget-1.8.0/BWman/SelectFont.html +152 -0
- data/tcl/BWidget-1.8.0/BWman/Separator.html +77 -0
- data/tcl/BWidget-1.8.0/BWman/SpinBox.html +250 -0
- data/tcl/BWidget-1.8.0/BWman/StatusBar.html +147 -0
- data/tcl/BWidget-1.8.0/BWman/TitleFrame.html +107 -0
- data/tcl/BWidget-1.8.0/BWman/Tree.html +947 -0
- data/tcl/BWidget-1.8.0/BWman/Widget.html +502 -0
- data/tcl/BWidget-1.8.0/BWman/contents.html +84 -0
- data/tcl/BWidget-1.8.0/BWman/index.html +7 -0
- data/tcl/BWidget-1.8.0/BWman/navtree.html +41 -0
- data/tcl/BWidget-1.8.0/BWman/options.htm +458 -0
- data/tcl/BWidget-1.8.0/CHANGES.txt +266 -0
- data/tcl/BWidget-1.8.0/ChangeLog +1641 -0
- data/tcl/BWidget-1.8.0/LICENSE.txt +41 -0
- data/tcl/BWidget-1.8.0/README.txt +127 -0
- data/tcl/BWidget-1.8.0/arrow.tcl +551 -0
- data/tcl/BWidget-1.8.0/bitmap.tcl +94 -0
- data/tcl/BWidget-1.8.0/button.tcl +324 -0
- data/tcl/BWidget-1.8.0/buttonbox.tcl +403 -0
- data/tcl/BWidget-1.8.0/color.tcl +493 -0
- data/tcl/BWidget-1.8.0/combobox.tcl +809 -0
- data/tcl/BWidget-1.8.0/demo/basic.tcl +199 -0
- data/tcl/BWidget-1.8.0/demo/bwidget.xbm +46 -0
- data/tcl/BWidget-1.8.0/demo/demo.tcl +212 -0
- data/tcl/BWidget-1.8.0/demo/dnd.tcl +42 -0
- data/tcl/BWidget-1.8.0/demo/manager.tcl +141 -0
- data/tcl/BWidget-1.8.0/demo/select.tcl +59 -0
- data/tcl/BWidget-1.8.0/demo/tmpldlg.tcl +214 -0
- data/tcl/BWidget-1.8.0/demo/tree.tcl +260 -0
- data/tcl/BWidget-1.8.0/demo/x1.xbm +2258 -0
- data/tcl/BWidget-1.8.0/dialog.tcl +345 -0
- data/tcl/BWidget-1.8.0/dragsite.tcl +197 -0
- data/tcl/BWidget-1.8.0/dropsite.tcl +455 -0
- data/tcl/BWidget-1.8.0/dynhelp.tcl +625 -0
- data/tcl/BWidget-1.8.0/entry.tcl +469 -0
- data/tcl/BWidget-1.8.0/font.tcl +566 -0
- data/tcl/BWidget-1.8.0/images/bold.gif +0 -0
- data/tcl/BWidget-1.8.0/images/copy.gif +0 -0
- data/tcl/BWidget-1.8.0/images/cut.gif +0 -0
- data/tcl/BWidget-1.8.0/images/dragfile.gif +0 -0
- data/tcl/BWidget-1.8.0/images/dragicon.gif +0 -0
- data/tcl/BWidget-1.8.0/images/error.gif +0 -0
- data/tcl/BWidget-1.8.0/images/file.gif +0 -0
- data/tcl/BWidget-1.8.0/images/folder.gif +0 -0
- data/tcl/BWidget-1.8.0/images/hourglass.gif +0 -0
- data/tcl/BWidget-1.8.0/images/info.gif +0 -0
- data/tcl/BWidget-1.8.0/images/italic.gif +0 -0
- data/tcl/BWidget-1.8.0/images/minus.xbm +5 -0
- data/tcl/BWidget-1.8.0/images/new.gif +0 -0
- data/tcl/BWidget-1.8.0/images/opcopy.xbm +5 -0
- data/tcl/BWidget-1.8.0/images/open.gif +0 -0
- data/tcl/BWidget-1.8.0/images/openfold.gif +0 -0
- data/tcl/BWidget-1.8.0/images/oplink.xbm +5 -0
- data/tcl/BWidget-1.8.0/images/opmove.xbm +5 -0
- data/tcl/BWidget-1.8.0/images/overstrike.gif +0 -0
- data/tcl/BWidget-1.8.0/images/palette.gif +0 -0
- data/tcl/BWidget-1.8.0/images/passwd.gif +0 -0
- data/tcl/BWidget-1.8.0/images/paste.gif +0 -0
- data/tcl/BWidget-1.8.0/images/plus.xbm +5 -0
- data/tcl/BWidget-1.8.0/images/print.gif +0 -0
- data/tcl/BWidget-1.8.0/images/question.gif +0 -0
- data/tcl/BWidget-1.8.0/images/redo.gif +0 -0
- data/tcl/BWidget-1.8.0/images/save.gif +0 -0
- data/tcl/BWidget-1.8.0/images/target.xbm +9 -0
- data/tcl/BWidget-1.8.0/images/underline.gif +0 -0
- data/tcl/BWidget-1.8.0/images/undo.gif +0 -0
- data/tcl/BWidget-1.8.0/images/warning.gif +0 -0
- data/tcl/BWidget-1.8.0/init.tcl +40 -0
- data/tcl/BWidget-1.8.0/label.tcl +271 -0
- data/tcl/BWidget-1.8.0/labelentry.tcl +100 -0
- data/tcl/BWidget-1.8.0/labelframe.tcl +160 -0
- data/tcl/BWidget-1.8.0/lang/da.rc +52 -0
- data/tcl/BWidget-1.8.0/lang/de.rc +52 -0
- data/tcl/BWidget-1.8.0/lang/en.rc +52 -0
- data/tcl/BWidget-1.8.0/lang/es.rc +53 -0
- data/tcl/BWidget-1.8.0/lang/fr.rc +52 -0
- data/tcl/BWidget-1.8.0/listbox.tcl +1638 -0
- data/tcl/BWidget-1.8.0/mainframe.tcl +711 -0
- data/tcl/BWidget-1.8.0/messagedlg.tcl +128 -0
- data/tcl/BWidget-1.8.0/notebook.tcl +1164 -0
- data/tcl/BWidget-1.8.0/pagesmgr.tcl +294 -0
- data/tcl/BWidget-1.8.0/panedw.tcl +381 -0
- data/tcl/BWidget-1.8.0/panelframe.tcl +246 -0
- data/tcl/BWidget-1.8.0/passwddlg.tcl +178 -0
- data/tcl/BWidget-1.8.0/pkgIndex.tcl +47 -0
- data/tcl/BWidget-1.8.0/progressbar.tcl +208 -0
- data/tcl/BWidget-1.8.0/progressdlg.tcl +87 -0
- data/tcl/BWidget-1.8.0/scrollframe.tcl +226 -0
- data/tcl/BWidget-1.8.0/scrollview.tcl +254 -0
- data/tcl/BWidget-1.8.0/scrollw.tcl +280 -0
- data/tcl/BWidget-1.8.0/separator.tcl +75 -0
- data/tcl/BWidget-1.8.0/spinbox.tcl +331 -0
- data/tcl/BWidget-1.8.0/statusbar.tcl +422 -0
- data/tcl/BWidget-1.8.0/tests/entry.test +173 -0
- data/tcl/BWidget-1.8.0/titleframe.tcl +170 -0
- data/tcl/BWidget-1.8.0/tree.tcl +2228 -0
- data/tcl/BWidget-1.8.0/utils.tcl +645 -0
- data/tcl/BWidget-1.8.0/widget.tcl +1576 -0
- data/tcl/BWidget-1.8.0/wizard.tcl +1028 -0
- data/tcl/BWidget-1.8.0/xpm2image.tcl +115 -0
- metadata +141 -5
@@ -0,0 +1,152 @@
|
|
1
|
+
<HTML>
|
2
|
+
<HEAD><TITLE>ProgressBar</TITLE></HEAD>
|
3
|
+
<BODY BGCOLOR=white>
|
4
|
+
<DL><DT><I><A HREF="#descr">NAME</A></I></DT>
|
5
|
+
<DD><B>ProgressBar</B>
|
6
|
+
- Progress indicator widget
|
7
|
+
</DD></DL>
|
8
|
+
<DL>
|
9
|
+
<DT><I>CREATION</I></DT>
|
10
|
+
<DD><A HREF="#descr"><B>ProgressBar</B></A> <I>pathName</I> ?<I>option value...</I>?</DD>
|
11
|
+
</DL>
|
12
|
+
<DL>
|
13
|
+
<DT><I>STANDARD OPTIONS</I></DT>
|
14
|
+
<DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
|
15
|
+
<TR>
|
16
|
+
<TD> <A HREF="options.htm#M-background">-background or -bg</A></TD>
|
17
|
+
<TD> <A HREF="options.htm#M-borderwidth">-borderwidth or -bd</A></TD>
|
18
|
+
</TR>
|
19
|
+
<TR>
|
20
|
+
<TD> <A HREF="options.htm#M-foreground">-foreground or -fg</A></TD>
|
21
|
+
<TD> <A HREF="options.htm#M-orient">-orient</A></TR>
|
22
|
+
</TR>
|
23
|
+
<TR>
|
24
|
+
<TD> <A HREF="options.htm#M-relief">-relief</A></TR>
|
25
|
+
<TD> <A HREF="options.htm#M-troughcolor">-troughcolor</A></TR>
|
26
|
+
</TR>
|
27
|
+
</TABLE></DD>
|
28
|
+
</DL>
|
29
|
+
<DL>
|
30
|
+
<DT><I><A HREF="#wso">WIDGET-SPECIFIC OPTIONS</A></I></DT>
|
31
|
+
<DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
|
32
|
+
<TR>
|
33
|
+
<TD> <A HREF="#-height">-height</A></TR>
|
34
|
+
<TD> <A HREF="#-maximum">-maximum</A></TR>
|
35
|
+
</TR>
|
36
|
+
<TR>
|
37
|
+
<TD> <A HREF="#-type">-type</A></TR>
|
38
|
+
<TD> <A HREF="#-variable">-variable</A></TR>
|
39
|
+
</TR>
|
40
|
+
<TR>
|
41
|
+
<TD> <A HREF="#-width">-width</A></TR>
|
42
|
+
</TABLE></DD>
|
43
|
+
</DL>
|
44
|
+
<DL>
|
45
|
+
<DT><I><A HREF="#wc">WIDGET COMMAND</A></I></DT>
|
46
|
+
<DD><I>pathName</I> <A HREF="#cget"><B>cget</B></A>
|
47
|
+
<I>option</I>
|
48
|
+
</DD>
|
49
|
+
<DD><I>pathName</I> <A HREF="#configure"><B>configure</B></A>
|
50
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
51
|
+
</DD>
|
52
|
+
</DL>
|
53
|
+
<BR><HR WIDTH="100%"><BR>
|
54
|
+
<B><A NAME="descr"></A>DESCRIPTION</B><BR>
|
55
|
+
<P>
|
56
|
+
|
57
|
+
ProgressBar widget indicates the user the progress of a lengthly operation.
|
58
|
+
It is used by <A HREF="MainFrame.html">MainFrame</A>
|
59
|
+
and <A HREF="ProgressDlg.html">ProgressDlg</A>.
|
60
|
+
</P>
|
61
|
+
<BR><HR WIDTH="50%"><BR>
|
62
|
+
<B><A NAME="wso">WIDGET-SPECIFIC OPTIONS</A></B><BR>
|
63
|
+
<DL><DT><A NAME="-height"><B>-height</B></A></DT>
|
64
|
+
<DD>
|
65
|
+
|
66
|
+
Specifies the desired height for the progress indicator.
|
67
|
+
</DD>
|
68
|
+
</DL>
|
69
|
+
<DL><DT><A NAME="-maximum"><B>-maximum</B></A></DT>
|
70
|
+
<DD>
|
71
|
+
|
72
|
+
Specifies the maximum value of the variable. This value must be
|
73
|
+
greater than zero.
|
74
|
+
|
75
|
+
</DD>
|
76
|
+
</DL>
|
77
|
+
<DL><DT><A NAME="-type"><B>-type</B></A></DT>
|
78
|
+
<DD>
|
79
|
+
|
80
|
+
Specifies the type of the ProgressBar. Must be one of <B>normal</B>,
|
81
|
+
<B>incremental</B>, <B>infinite</B> or <B>nonincremental_infinite</B>.
|
82
|
+
|
83
|
+
<BR><BR>If <B>type</B> is <I>normal</I>, the progress indicator is drawn
|
84
|
+
proportional to the variable value and <B>maximum</B> option each time the
|
85
|
+
variable is set.
|
86
|
+
|
87
|
+
<BR><BR>If <B>type</B> is <I>incremental</I>, the value of the progress
|
88
|
+
indicator is maintained internally, and incremented each time the variable is
|
89
|
+
set by its value. The progress indicator is drawn proportional to the internal
|
90
|
+
value and
|
91
|
+
<B>maximum</B> option.
|
92
|
+
|
93
|
+
<BR><BR>If <B>type</B> is <I>infinite</I>, the value of the progress indicator
|
94
|
+
is maintained internally, and incremented each time the variable is set by its
|
95
|
+
value. The progress indicator moves from left to right if internal value
|
96
|
+
(modulo <B>maximum</B>) is less than <B>maximum</B>/2, and from right to left
|
97
|
+
if internal value is greater than <B>maximum</B>/2.
|
98
|
+
|
99
|
+
<BR><BR>If <B>type</B> is <I>nonincremental_infinite</I>, the value of the
|
100
|
+
progress indicator taken from the variable value, The progress indicator moves
|
101
|
+
from left to right if variable value (modulo <B>maximum</B>) is less than
|
102
|
+
<B>maximum</B>/2, and from right to left if internal value is greater than
|
103
|
+
<B>maximum</B>/2.
|
104
|
+
|
105
|
+
<BR><BR>See <B>-variable</B> option for special case of its value,
|
106
|
+
|
107
|
+
<BR><BR>Default value for <B>type</B> is <I>normal</I>.
|
108
|
+
|
109
|
+
</DD>
|
110
|
+
</DL>
|
111
|
+
<DL><DT><A NAME="-variable"><B>-variable</B></A></DT>
|
112
|
+
<DD>
|
113
|
+
|
114
|
+
Specifies the variable attached to the progress indicator. Progress indicator
|
115
|
+
is updated when the value of the variable changes. If the value of the
|
116
|
+
variable is negative, the progress indicator is not displayed (it is drawn flat
|
117
|
+
with <B>background</B> color - usefull for ProgressDlg to make it
|
118
|
+
invisible). If its value 0, progress indicator is reinitialized.
|
119
|
+
|
120
|
+
</DD>
|
121
|
+
</DL>
|
122
|
+
<DL><DT><A NAME="-width"><B>-width</B></A></DT>
|
123
|
+
<DD>
|
124
|
+
|
125
|
+
Specifies the desired width for the progress indicator.
|
126
|
+
</DD>
|
127
|
+
</DL>
|
128
|
+
<HR WIDTH="50%"><BR>
|
129
|
+
<B><A NAME="wc">WIDGET COMMAND</A></B><BR>
|
130
|
+
<DL><DT><A NAME="cget"><I>pathName</I> <B>cget</B></A>
|
131
|
+
<I>option</I>
|
132
|
+
</DT><DD>
|
133
|
+
|
134
|
+
Returns the current value of the configuration option given by <I>option</I>.
|
135
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
136
|
+
</DD></DL>
|
137
|
+
<DL><DT><A NAME="configure"><I>pathName</I> <B>configure</B></A>
|
138
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
139
|
+
</DT><DD>
|
140
|
+
|
141
|
+
Query or modify the configuration options of the widget. If no <I>option</I> is specified,
|
142
|
+
returns a list describing all of the available options for <I>pathName</I>.
|
143
|
+
If <I>option</I> is specified with no <I>value</I>, then the command returns a list
|
144
|
+
describing the one named <I>option</I> (this list will be identical to the corresponding
|
145
|
+
sublist of the value returned if no <I>option</I> is specified). If one or
|
146
|
+
more <I>option-value</I> pairs are specified, then the command modifies the given widget
|
147
|
+
option(s) to have the given value(s); in this case the command returns an empty string.
|
148
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
149
|
+
Read-only options are not be modified.
|
150
|
+
|
151
|
+
</DD></DL>
|
152
|
+
</BODY></HTML>
|
@@ -0,0 +1,145 @@
|
|
1
|
+
<HTML>
|
2
|
+
<HEAD><TITLE>ProgressDlg</TITLE></HEAD>
|
3
|
+
<BODY BGCOLOR=white>
|
4
|
+
<DL><DT><I><A HREF="#descr">NAME</A></I></DT>
|
5
|
+
<DD><B>ProgressDlg</B>
|
6
|
+
- Progress indicator dialog box
|
7
|
+
</DD></DL>
|
8
|
+
<DL>
|
9
|
+
<DT><I>CREATION</I></DT>
|
10
|
+
<DD><A HREF="#descr"><B>ProgressDlg</B></A> <I>pathName</I> ?<I>option value...</I>?</DD>
|
11
|
+
</DL>
|
12
|
+
<DL>
|
13
|
+
<DT><I>STANDARD OPTIONS</I></DT>
|
14
|
+
<DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
|
15
|
+
<TR>
|
16
|
+
<TD> <A HREF="options.htm#M-font">-font</A></TR>
|
17
|
+
<TD> <A HREF="options.htm#M-textvariable">-textvariable</A></TR>
|
18
|
+
</TR>
|
19
|
+
</TABLE></DD>
|
20
|
+
</DL>
|
21
|
+
<DL>
|
22
|
+
<DT><I><A HREF="Dialog.html">OPTIONS from <B>Dialog</B></A></I></DT>
|
23
|
+
<DD><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
|
24
|
+
<TR>
|
25
|
+
<TD> -background or -bg</TD>
|
26
|
+
<TD> -parent</TD>
|
27
|
+
</TR>
|
28
|
+
<TR>
|
29
|
+
<TD> -separator</TD>
|
30
|
+
<TD> -title</TD>
|
31
|
+
</TR>
|
32
|
+
</TABLE></DD>
|
33
|
+
</DL>
|
34
|
+
<DL>
|
35
|
+
<DT><I><A HREF="ProgressBar.html">OPTIONS from <B>ProgressBar</B></A></I></DT>
|
36
|
+
<DD><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
|
37
|
+
<TR>
|
38
|
+
<TD> -background or -bg</TD>
|
39
|
+
<TD> -borderwidth or -bd</TD>
|
40
|
+
</TR>
|
41
|
+
<TR>
|
42
|
+
<TD> -foreground or -fg</TD>
|
43
|
+
<TD> -maximum</TD>
|
44
|
+
</TR>
|
45
|
+
<TR>
|
46
|
+
<TD> -relief</TD>
|
47
|
+
<TD> -troughcolor</TD>
|
48
|
+
</TR>
|
49
|
+
<TR>
|
50
|
+
<TD> -type</TD>
|
51
|
+
<TD> -variable</TD>
|
52
|
+
</TR>
|
53
|
+
</TABLE></DD>
|
54
|
+
</DL>
|
55
|
+
<DL>
|
56
|
+
<DT><I><A HREF="#wso">WIDGET-SPECIFIC OPTIONS</A></I></DT>
|
57
|
+
<DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
|
58
|
+
<TR>
|
59
|
+
<TD> <A HREF="#-command">-command</A></TR>
|
60
|
+
<TD> <A HREF="#-height">-height</A></TR>
|
61
|
+
</TR>
|
62
|
+
<TR>
|
63
|
+
<TD> <A HREF="#-stop">-stop</A></TR>
|
64
|
+
<TD> <A HREF="#-width">-width</A></TR>
|
65
|
+
</TR>
|
66
|
+
</TABLE></DD>
|
67
|
+
</DL>
|
68
|
+
<DL>
|
69
|
+
<DT><I><A HREF="#wc">WIDGET COMMAND</A></I></DT>
|
70
|
+
<DD><I>pathName</I> <A HREF="#cget"><B>cget</B></A>
|
71
|
+
<I>option</I>
|
72
|
+
</DD>
|
73
|
+
<DD><I>pathName</I> <A HREF="#configure"><B>configure</B></A>
|
74
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
75
|
+
</DD>
|
76
|
+
</DL>
|
77
|
+
<BR><HR WIDTH="100%"><BR>
|
78
|
+
<B><A NAME="descr"></A>DESCRIPTION</B><BR>
|
79
|
+
<P>
|
80
|
+
|
81
|
+
ProgressDlg provides a simple way to display a progress indicator dialog.
|
82
|
+
ProgressDlg::<B>create</B> creates the dialog, displays it, set a local
|
83
|
+
grab to it and immediatly return. The dialog is updated by modifying the
|
84
|
+
value of the variable of options <B>-textvariable</B> and <B>-variable</B>.
|
85
|
+
You have to destroy the dialog after use.
|
86
|
+
|
87
|
+
</P>
|
88
|
+
<BR><HR WIDTH="50%"><BR>
|
89
|
+
<B><A NAME="wso">WIDGET-SPECIFIC OPTIONS</A></B><BR>
|
90
|
+
<DL><DT><A NAME="-command"><B>-command</B></A></DT>
|
91
|
+
<DD>
|
92
|
+
|
93
|
+
Specifies a command to call when user press stop button. Note that it
|
94
|
+
is the program's responsibility to periodically call <B>update</B> so
|
95
|
+
that button press events can be generated.
|
96
|
+
|
97
|
+
</DD>
|
98
|
+
</DL>
|
99
|
+
<DL><DT><A NAME="-height"><B>-height</B></A></DT>
|
100
|
+
<DD>
|
101
|
+
|
102
|
+
Specifies a desired height for the label in lines of text.
|
103
|
+
|
104
|
+
</DD>
|
105
|
+
</DL>
|
106
|
+
<DL><DT><A NAME="-stop"><B>-stop</B></A></DT>
|
107
|
+
<DD>
|
108
|
+
|
109
|
+
Specifies the text of the button typically used to stop process. If empty, no button will
|
110
|
+
be drawn. This can be a symbolic name.
|
111
|
+
|
112
|
+
</DD>
|
113
|
+
</DL>
|
114
|
+
<DL><DT><A NAME="-width"><B>-width</B></A></DT>
|
115
|
+
<DD>
|
116
|
+
|
117
|
+
Specifies a desired width for the label in characters.
|
118
|
+
|
119
|
+
</DD>
|
120
|
+
</DL>
|
121
|
+
<HR WIDTH="50%"><BR>
|
122
|
+
<B><A NAME="wc">WIDGET COMMAND</A></B><BR>
|
123
|
+
<DL><DT><A NAME="cget"><I>pathName</I> <B>cget</B></A>
|
124
|
+
<I>option</I>
|
125
|
+
</DT><DD>
|
126
|
+
|
127
|
+
Returns the current value of the configuration option given by <I>option</I>.
|
128
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
129
|
+
</DD></DL>
|
130
|
+
<DL><DT><A NAME="configure"><I>pathName</I> <B>configure</B></A>
|
131
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
132
|
+
</DT><DD>
|
133
|
+
|
134
|
+
Query or modify the configuration options of the widget. If no <I>option</I> is specified,
|
135
|
+
returns a list describing all of the available options for <I>pathName</I>.
|
136
|
+
If <I>option</I> is specified with no <I>value</I>, then the command returns a list
|
137
|
+
describing the one named <I>option</I> (this list will be identical to the corresponding
|
138
|
+
sublist of the value returned if no <I>option</I> is specified). If one or
|
139
|
+
more <I>option-value</I> pairs are specified, then the command modifies the given widget
|
140
|
+
option(s) to have the given value(s); in this case the command returns an empty string.
|
141
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
142
|
+
Read-only options are not be modified.
|
143
|
+
|
144
|
+
</DD></DL>
|
145
|
+
</BODY></HTML>
|
@@ -0,0 +1,130 @@
|
|
1
|
+
<HTML>
|
2
|
+
<HEAD><TITLE>ScrollView</TITLE></HEAD>
|
3
|
+
<BODY BGCOLOR=white>
|
4
|
+
<DL><DT><I><A HREF="#descr">NAME</A></I></DT>
|
5
|
+
<DD><B>ScrollView</B>
|
6
|
+
- Display the visible area of a scrolled window
|
7
|
+
</DD></DL>
|
8
|
+
<DL>
|
9
|
+
<DT><I>CREATION</I></DT>
|
10
|
+
<DD><A HREF="#descr"><B>ScrollView</B></A> <I>pathName</I> ?<I>option value...</I>?</DD>
|
11
|
+
</DL>
|
12
|
+
<DL>
|
13
|
+
<DT><I>STANDARD OPTIONS</I></DT>
|
14
|
+
<DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
|
15
|
+
<TR>
|
16
|
+
<TD> <A HREF="options.htm#M-background">-background or -bg</A></TD>
|
17
|
+
<TD> <A HREF="options.htm#M-borderwidth">-borderwidth or -bd</A></TD>
|
18
|
+
</TR>
|
19
|
+
<TR>
|
20
|
+
<TD> <A HREF="options.htm#M-cursor">-cursor</A></TR>
|
21
|
+
<TD> <A HREF="options.htm#M-relief">-relief</A></TR>
|
22
|
+
</TR>
|
23
|
+
</TABLE></DD>
|
24
|
+
</DL>
|
25
|
+
<DL>
|
26
|
+
<DT><I><A HREF="#wso">WIDGET-SPECIFIC OPTIONS</A></I></DT>
|
27
|
+
<DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
|
28
|
+
<TR>
|
29
|
+
<TD> <A HREF="#-fill">-fill</A></TR>
|
30
|
+
<TD> <A HREF="#-foreground">-foreground or -fg</A></TD>
|
31
|
+
</TR>
|
32
|
+
<TR>
|
33
|
+
<TD> <A HREF="#-height">-height</A></TR>
|
34
|
+
<TD> <A HREF="#-width">-width</A></TR>
|
35
|
+
</TR>
|
36
|
+
<TR>
|
37
|
+
<TD> <A HREF="#-window">-window</A></TR>
|
38
|
+
</TABLE></DD>
|
39
|
+
</DL>
|
40
|
+
<DL>
|
41
|
+
<DT><I><A HREF="#wc">WIDGET COMMAND</A></I></DT>
|
42
|
+
<DD><I>pathName</I> <A HREF="#cget"><B>cget</B></A>
|
43
|
+
<I>option</I>
|
44
|
+
</DD>
|
45
|
+
<DD><I>pathName</I> <A HREF="#configure"><B>configure</B></A>
|
46
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
47
|
+
</DD>
|
48
|
+
</DL>
|
49
|
+
<BR><HR WIDTH="100%"><BR>
|
50
|
+
<B><A NAME="descr"></A>DESCRIPTION</B><BR>
|
51
|
+
<P>
|
52
|
+
|
53
|
+
ScrollView displays the visible area of a scrolled window within
|
54
|
+
its scroll region.
|
55
|
+
|
56
|
+
</P>
|
57
|
+
<BR><HR WIDTH="50%"><BR>
|
58
|
+
<B><A NAME="wso">WIDGET-SPECIFIC OPTIONS</A></B><BR>
|
59
|
+
<DL><DT><A NAME="-fill"><B>-fill</B></A></DT>
|
60
|
+
<DD>
|
61
|
+
|
62
|
+
Specifies the fill color of the rectangle.
|
63
|
+
|
64
|
+
</DD>
|
65
|
+
</DL>
|
66
|
+
<DL><DT><A NAME="-foreground"><B>-foreground</B></A></DT>
|
67
|
+
<DD>
|
68
|
+
|
69
|
+
Specifies the color of the border of the rectangle.
|
70
|
+
|
71
|
+
</DD>
|
72
|
+
</DL>
|
73
|
+
<DL><DT><A NAME="-height"><B>-height</B></A></DT>
|
74
|
+
<DD>
|
75
|
+
|
76
|
+
Specifies the desired height for the ScrollView.
|
77
|
+
</DD>
|
78
|
+
</DL>
|
79
|
+
<DL><DT><A NAME="-width"><B>-width</B></A></DT>
|
80
|
+
<DD>
|
81
|
+
|
82
|
+
Specifies the desired width for the ScrollView.
|
83
|
+
</DD>
|
84
|
+
</DL>
|
85
|
+
<DL><DT><A NAME="-window"><B>-window</B></A></DT>
|
86
|
+
<DD>
|
87
|
+
|
88
|
+
Specifies the window to view. This widget must have <B>-xscrollcommand</B> and
|
89
|
+
<B>-yscrollcommand</B> options, and respond to <B>xview</B> and <B>yview</B> command.
|
90
|
+
In order to make ScrollView working with other scrollbar, <B>-xscrollcommand</B> and
|
91
|
+
<B>-yscrollcommand</B> options of the widget must be set before the widget is passed to
|
92
|
+
the <B>-window</B> option of the ScrollView (for example, if the widget is handled by
|
93
|
+
a ScrolledWindow, call <B>setwidget</B> before setting <B>-window</B> option).
|
94
|
+
|
95
|
+
</DD>
|
96
|
+
</DL>
|
97
|
+
<HR WIDTH="50%"><BR>
|
98
|
+
<B><A NAME="wc">WIDGET COMMAND</A></B><BR>
|
99
|
+
<DL><DT><A NAME="cget"><I>pathName</I> <B>cget</B></A>
|
100
|
+
<I>option</I>
|
101
|
+
</DT><DD>
|
102
|
+
|
103
|
+
Returns the current value of the configuration option given by <I>option</I>.
|
104
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
105
|
+
</DD></DL>
|
106
|
+
<DL><DT><A NAME="configure"><I>pathName</I> <B>configure</B></A>
|
107
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
108
|
+
</DT><DD>
|
109
|
+
|
110
|
+
Query or modify the configuration options of the widget. If no <I>option</I> is specified,
|
111
|
+
returns a list describing all of the available options for <I>pathName</I>.
|
112
|
+
If <I>option</I> is specified with no <I>value</I>, then the command returns a list
|
113
|
+
describing the one named <I>option</I> (this list will be identical to the corresponding
|
114
|
+
sublist of the value returned if no <I>option</I> is specified). If one or
|
115
|
+
more <I>option-value</I> pairs are specified, then the command modifies the given widget
|
116
|
+
option(s) to have the given value(s); in this case the command returns an empty string.
|
117
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
118
|
+
Read-only options are not be modified.
|
119
|
+
|
120
|
+
</DD></DL>
|
121
|
+
<HR><BR><B>BINDINGS</B><BR><BR>
|
122
|
+
|
123
|
+
<DL><DT>If mouse button 1 is pressed and dragged over the ScrollView, the top left corner of
|
124
|
+
the visible area of the scrolled window is moved proportionally to the mouse displacement.
|
125
|
+
</DT></DL>
|
126
|
+
<DL><DT>If mouse button 3 is pressed over the ScrollView, the top left corner of the visible
|
127
|
+
area is proportionally set to this point.
|
128
|
+
</DT></DL>
|
129
|
+
|
130
|
+
</BODY></HTML>
|
@@ -0,0 +1,191 @@
|
|
1
|
+
<HTML>
|
2
|
+
<HEAD><TITLE>ScrollableFrame</TITLE></HEAD>
|
3
|
+
<BODY BGCOLOR=white>
|
4
|
+
<DL><DT><I><A HREF="#descr">NAME</A></I></DT>
|
5
|
+
<DD><B>ScrollableFrame</B>
|
6
|
+
- Scrollable frame containing widget
|
7
|
+
</DD></DL>
|
8
|
+
<DL>
|
9
|
+
<DT><I>CREATION</I></DT>
|
10
|
+
<DD><A HREF="#descr"><B>ScrollableFrame</B></A> <I>pathName</I> ?<I>option value...</I>?</DD>
|
11
|
+
</DL>
|
12
|
+
<DL>
|
13
|
+
<DT><I>STANDARD OPTIONS</I></DT>
|
14
|
+
<DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
|
15
|
+
<TR>
|
16
|
+
<TD> <A HREF="options.htm#M-background">-background or -bg</A></TD>
|
17
|
+
<TD> <A HREF="options.htm#M-xscrollcommand">-xscrollcommand</A></TR>
|
18
|
+
</TR>
|
19
|
+
<TR>
|
20
|
+
<TD> <A HREF="options.htm#M-yscrollcommand">-yscrollcommand</A></TR>
|
21
|
+
</TABLE></DD>
|
22
|
+
</DL>
|
23
|
+
<DL>
|
24
|
+
<DT><I><A HREF="#wso">WIDGET-SPECIFIC OPTIONS</A></I></DT>
|
25
|
+
<DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
|
26
|
+
<TR>
|
27
|
+
<TD> <A HREF="#-areaheight">-areaheight</A></TR>
|
28
|
+
<TD> <A HREF="#-areawidth">-areawidth</A></TR>
|
29
|
+
</TR>
|
30
|
+
<TR>
|
31
|
+
<TD> <A HREF="#-constrainedheight">-constrainedheight</A></TR>
|
32
|
+
<TD> <A HREF="#-constrainedwidth">-constrainedwidth</A></TR>
|
33
|
+
</TR>
|
34
|
+
<TR>
|
35
|
+
<TD> <A HREF="#-height">-height</A></TR>
|
36
|
+
<TD> <A HREF="#-width">-width</A></TR>
|
37
|
+
</TR>
|
38
|
+
<TR>
|
39
|
+
<TD> <A HREF="#-xscrollincrement">-xscrollincrement</A></TR>
|
40
|
+
<TD> <A HREF="#-yscrollincrement">-yscrollincrement</A></TR>
|
41
|
+
</TR>
|
42
|
+
</TABLE></DD>
|
43
|
+
</DL>
|
44
|
+
<DL>
|
45
|
+
<DT><I><A HREF="#wc">WIDGET COMMAND</A></I></DT>
|
46
|
+
<DD><I>pathName</I> <A HREF="#cget"><B>cget</B></A>
|
47
|
+
<I>option</I>
|
48
|
+
</DD>
|
49
|
+
<DD><I>pathName</I> <A HREF="#configure"><B>configure</B></A>
|
50
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
51
|
+
</DD>
|
52
|
+
<DD><I>pathName</I> <A HREF="#getframe"><B>getframe</B></A>
|
53
|
+
</DD>
|
54
|
+
<DD><I>pathName</I> <A HREF="#see"><B>see</B></A>
|
55
|
+
<I>widget</I>
|
56
|
+
?<I>vert</I>?
|
57
|
+
?<I>horz</I>?
|
58
|
+
</DD>
|
59
|
+
<DD><I>pathName</I> <A HREF="#xview"><B>xview</B></A>
|
60
|
+
?<I>arg...</I>?
|
61
|
+
</DD>
|
62
|
+
<DD><I>pathName</I> <A HREF="#yview"><B>yview</B></A>
|
63
|
+
?<I>arg...</I>?
|
64
|
+
</DD>
|
65
|
+
</DL>
|
66
|
+
<BR><HR WIDTH="100%"><BR>
|
67
|
+
<B><A NAME="descr"></A>DESCRIPTION</B><BR>
|
68
|
+
<P>
|
69
|
+
|
70
|
+
ScrollableFrame widget containing widget.
|
71
|
+
|
72
|
+
</P>
|
73
|
+
<BR><HR WIDTH="50%"><BR>
|
74
|
+
<B><A NAME="wso">WIDGET-SPECIFIC OPTIONS</A></B><BR>
|
75
|
+
<DL><DT><A NAME="-areaheight"><B>-areaheight</B></A></DT>
|
76
|
+
<DD>
|
77
|
+
|
78
|
+
Specifies the height for the scrollable area. If zero, then the height
|
79
|
+
of the scrollable area is made just large enough to hold all its children.
|
80
|
+
</DD>
|
81
|
+
</DL>
|
82
|
+
<DL><DT><A NAME="-areawidth"><B>-areawidth</B></A></DT>
|
83
|
+
<DD>
|
84
|
+
|
85
|
+
Specifies the width for the scrollable area. If zero, then the width
|
86
|
+
of the scrollable area window is made just large enough to hold all its children.
|
87
|
+
</DD>
|
88
|
+
</DL>
|
89
|
+
<DL><DT><A NAME="-constrainedheight"><B>-constrainedheight</B></A></DT>
|
90
|
+
<DD>
|
91
|
+
|
92
|
+
Specifies whether or not the scrollable area should have the same height of the
|
93
|
+
scrolled window. If true, vertical scrollbar is not needed.
|
94
|
+
|
95
|
+
</DD>
|
96
|
+
</DL>
|
97
|
+
<DL><DT><A NAME="-constrainedwidth"><B>-constrainedwidth</B></A></DT>
|
98
|
+
<DD>
|
99
|
+
|
100
|
+
Specifies whether or not the scrollable area should have the same width of the
|
101
|
+
scrolled window. If true, horizontal scrollbar is not needed.
|
102
|
+
|
103
|
+
</DD>
|
104
|
+
</DL>
|
105
|
+
<DL><DT><A NAME="-height"><B>-height</B></A></DT>
|
106
|
+
<DD>
|
107
|
+
|
108
|
+
Specifies the desired height for the window in pixels.
|
109
|
+
|
110
|
+
</DD>
|
111
|
+
</DL>
|
112
|
+
<DL><DT><A NAME="-width"><B>-width</B></A></DT>
|
113
|
+
<DD>
|
114
|
+
|
115
|
+
Specifies the desired width for the window in pixels.
|
116
|
+
|
117
|
+
</DD>
|
118
|
+
</DL>
|
119
|
+
<DL><DT><A NAME="-xscrollincrement"><B>-xscrollincrement</B></A></DT>
|
120
|
+
<DD>
|
121
|
+
|
122
|
+
See <B>xscrollincrement</B> option of <B>canvas</B> widget.
|
123
|
+
|
124
|
+
</DD>
|
125
|
+
</DL>
|
126
|
+
<DL><DT><A NAME="-yscrollincrement"><B>-yscrollincrement</B></A></DT>
|
127
|
+
<DD>
|
128
|
+
|
129
|
+
See <B>yscrollincrement</B> option of <B>canvas</B> widget.
|
130
|
+
|
131
|
+
</DD>
|
132
|
+
</DL>
|
133
|
+
<HR WIDTH="50%"><BR>
|
134
|
+
<B><A NAME="wc">WIDGET COMMAND</A></B><BR>
|
135
|
+
<DL><DT><A NAME="cget"><I>pathName</I> <B>cget</B></A>
|
136
|
+
<I>option</I>
|
137
|
+
</DT><DD>
|
138
|
+
|
139
|
+
Returns the current value of the configuration option given by <I>option</I>.
|
140
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
141
|
+
</DD></DL>
|
142
|
+
<DL><DT><A NAME="configure"><I>pathName</I> <B>configure</B></A>
|
143
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
144
|
+
</DT><DD>
|
145
|
+
|
146
|
+
Query or modify the configuration options of the widget. If no <I>option</I> is specified,
|
147
|
+
returns a list describing all of the available options for <I>pathName</I>.
|
148
|
+
If <I>option</I> is specified with no <I>value</I>, then the command returns a list
|
149
|
+
describing the one named <I>option</I> (this list will be identical to the corresponding
|
150
|
+
sublist of the value returned if no <I>option</I> is specified). If one or
|
151
|
+
more <I>option-value</I> pairs are specified, then the command modifies the given widget
|
152
|
+
option(s) to have the given value(s); in this case the command returns an empty string.
|
153
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
154
|
+
Read-only options are not be modified.
|
155
|
+
|
156
|
+
</DD></DL>
|
157
|
+
<DL><DT><A NAME="getframe"><I>pathName</I> <B>getframe</B></A>
|
158
|
+
</DT><DD>
|
159
|
+
|
160
|
+
Return the pathname of the scrolled frame where widget should be created.
|
161
|
+
|
162
|
+
</DD></DL>
|
163
|
+
<DL><DT><A NAME="see"><I>pathName</I> <B>see</B></A>
|
164
|
+
<I>widget</I>
|
165
|
+
?<I>vert</I>?
|
166
|
+
?<I>horz</I>?
|
167
|
+
</DT><DD>
|
168
|
+
|
169
|
+
Arrange scrollable area to make <I>widget</I> visible in the window.
|
170
|
+
<I>vert</I> and <I>horz</I> specify which part of <I>widget</I> must be preferably
|
171
|
+
visible, in case where <I>widget</I> is too tall or too large to be entirely visible.
|
172
|
+
<I>vert</I> must be <B>top</B> (the default) or <B>bottom</B>,
|
173
|
+
and <I>horz</I> must be <B>left</B> (the default) or <B>right</B>.
|
174
|
+
If <I>vert</I> or <I>horz</I> is not a valid value, area is not scrolled in this direction.
|
175
|
+
|
176
|
+
</DD></DL>
|
177
|
+
<DL><DT><A NAME="xview"><I>pathName</I> <B>xview</B></A>
|
178
|
+
?<I>arg...</I>?
|
179
|
+
</DT><DD>
|
180
|
+
|
181
|
+
Standard command to enable horizontal scrolling of <I>pathName</I>.
|
182
|
+
|
183
|
+
</DD></DL>
|
184
|
+
<DL><DT><A NAME="yview"><I>pathName</I> <B>yview</B></A>
|
185
|
+
?<I>arg...</I>?
|
186
|
+
</DT><DD>
|
187
|
+
|
188
|
+
Standard command to enable vertical scrolling of <I>pathName</I>.
|
189
|
+
|
190
|
+
</DD></DL>
|
191
|
+
</BODY></HTML>
|