arcadia 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/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,116 @@
|
|
|
1
|
+
<HTML>
|
|
2
|
+
<HEAD><TITLE>ScrolledWindow</TITLE></HEAD>
|
|
3
|
+
<BODY BGCOLOR=white>
|
|
4
|
+
<DL><DT><I><A HREF="#descr">NAME</A></I></DT>
|
|
5
|
+
<DD><B>ScrolledWindow</B>
|
|
6
|
+
- Generic scrolled widget
|
|
7
|
+
</DD></DL>
|
|
8
|
+
<DL>
|
|
9
|
+
<DT><I>CREATION</I></DT>
|
|
10
|
+
<DD><A HREF="#descr"><B>ScrolledWindow</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-relief">-relief</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="#-auto">-auto</A></TR>
|
|
28
|
+
<TD> <A HREF="#-scrollbar">-scrollbar</A></TR>
|
|
29
|
+
</TR>
|
|
30
|
+
</TABLE></DD>
|
|
31
|
+
</DL>
|
|
32
|
+
<DL>
|
|
33
|
+
<DT><I><A HREF="#wc">WIDGET COMMAND</A></I></DT>
|
|
34
|
+
<DD><I>pathName</I> <A HREF="#cget"><B>cget</B></A>
|
|
35
|
+
<I>option</I>
|
|
36
|
+
</DD>
|
|
37
|
+
<DD><I>pathName</I> <A HREF="#configure"><B>configure</B></A>
|
|
38
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
|
39
|
+
</DD>
|
|
40
|
+
<DD><I>pathName</I> <A HREF="#getframe"><B>getframe</B></A>
|
|
41
|
+
</DD>
|
|
42
|
+
<DD><I>pathName</I> <A HREF="#setwidget"><B>setwidget</B></A>
|
|
43
|
+
<I>widget</I>
|
|
44
|
+
</DD>
|
|
45
|
+
</DL>
|
|
46
|
+
<BR><HR WIDTH="100%"><BR>
|
|
47
|
+
<B><A NAME="descr"></A>DESCRIPTION</B><BR>
|
|
48
|
+
<P>
|
|
49
|
+
|
|
50
|
+
ScrolledWindow enables user to create easily a widget with its scrollbar.
|
|
51
|
+
Scrollbars are created by ScrolledWindow and scroll commands are automatically associated to
|
|
52
|
+
a scrollable widget with <B>ScrolledWindow::setwidget</B>.
|
|
53
|
+
</P>
|
|
54
|
+
<BR><HR WIDTH="50%"><BR>
|
|
55
|
+
<B><A NAME="wso">WIDGET-SPECIFIC OPTIONS</A></B><BR>
|
|
56
|
+
<DL><DT><A NAME="-auto"><B>-auto</B></A></DT>
|
|
57
|
+
<DD>
|
|
58
|
+
|
|
59
|
+
Specifies the desired auto managed scrollbar:
|
|
60
|
+
<LI><B>none</B> means scrollbar are always drawn
|
|
61
|
+
<LI><B>horizontal</B> means horizontal scrollbar is drawn as needed
|
|
62
|
+
<LI><B>vertical</B> means vertical scrollbar is drawn as needed
|
|
63
|
+
<LI><B>both</B> means horizontal and vertical scrollbars are drawn as needed
|
|
64
|
+
<LI><B>horizontal</B> means horizontal scrollbar is drawn as needed
|
|
65
|
+
</DD>
|
|
66
|
+
</DL>
|
|
67
|
+
<DL><DT><A NAME="-scrollbar"><B>-scrollbar (read-only)</B></A></DT>
|
|
68
|
+
<DD>
|
|
69
|
+
|
|
70
|
+
Specifies the desired scrollbar: <B>none</B>, <B>horizontal</B>, <B>vertical</B>
|
|
71
|
+
or <B>both</B>. This option is not modifiable with <B>ScrolledWindow::configure</B>.
|
|
72
|
+
</DD>
|
|
73
|
+
</DL>
|
|
74
|
+
<HR WIDTH="50%"><BR>
|
|
75
|
+
<B><A NAME="wc">WIDGET COMMAND</A></B><BR>
|
|
76
|
+
<DL><DT><A NAME="cget"><I>pathName</I> <B>cget</B></A>
|
|
77
|
+
<I>option</I>
|
|
78
|
+
</DT><DD>
|
|
79
|
+
|
|
80
|
+
Returns the current value of the configuration option given by <I>option</I>.
|
|
81
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
|
82
|
+
</DD></DL>
|
|
83
|
+
<DL><DT><A NAME="configure"><I>pathName</I> <B>configure</B></A>
|
|
84
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
|
85
|
+
</DT><DD>
|
|
86
|
+
|
|
87
|
+
Query or modify the configuration options of the widget. If no <I>option</I> is specified,
|
|
88
|
+
returns a list describing all of the available options for <I>pathName</I>.
|
|
89
|
+
If <I>option</I> is specified with no <I>value</I>, then the command returns a list
|
|
90
|
+
describing the one named <I>option</I> (this list will be identical to the corresponding
|
|
91
|
+
sublist of the value returned if no <I>option</I> is specified). If one or
|
|
92
|
+
more <I>option-value</I> pairs are specified, then the command modifies the given widget
|
|
93
|
+
option(s) to have the given value(s); in this case the command returns an empty string.
|
|
94
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
|
95
|
+
Read-only options are not be modified.
|
|
96
|
+
|
|
97
|
+
</DD></DL>
|
|
98
|
+
<DL><DT><A NAME="getframe"><I>pathName</I> <B>getframe</B></A>
|
|
99
|
+
</DT><DD>
|
|
100
|
+
|
|
101
|
+
Return the pathname of the frame where the scrolled widget should be created. This command
|
|
102
|
+
is no longer needed. You can directly create the scrolled widget as the child
|
|
103
|
+
of <I>pathName</I>.
|
|
104
|
+
</DD></DL>
|
|
105
|
+
<DL><DT><A NAME="setwidget"><I>pathName</I> <B>setwidget</B></A>
|
|
106
|
+
<I>widget</I>
|
|
107
|
+
</DT><DD>
|
|
108
|
+
|
|
109
|
+
Associate <I>widget</I> to the the scrollbars. <I>widget</I> becomes
|
|
110
|
+
managed by the ScrolledWindow. The user should not attempt to manage
|
|
111
|
+
<I>widget</I> until it is no longer managed by the ScrolledWindow.
|
|
112
|
+
<I>widget</I> must be a scrollable widget, i.e. have the options
|
|
113
|
+
<B>xscrollcommand</B>/<B>yscrollcommand</B> and the command <B>xview</B>/<B>yview</B>,
|
|
114
|
+
such as canvas or text.
|
|
115
|
+
</DD></DL>
|
|
116
|
+
</BODY></HTML>
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
<HTML>
|
|
2
|
+
<HEAD><TITLE>SelectColor</TITLE></HEAD>
|
|
3
|
+
<BODY BGCOLOR=white>
|
|
4
|
+
<DL><DT><I><A HREF="#descr">NAME</A></I></DT>
|
|
5
|
+
<DD><B>SelectColor</B>
|
|
6
|
+
- Color selection widget
|
|
7
|
+
</DD></DL>
|
|
8
|
+
<DL>
|
|
9
|
+
<DT><I>CREATION</I></DT>
|
|
10
|
+
<DD><A HREF="#descr"><B>SelectColor</B></A> <I>pathName</I> ?<I>option value...</I>?</DD>
|
|
11
|
+
</DL>
|
|
12
|
+
<DL>
|
|
13
|
+
<DT><I><A HREF="#wso">WIDGET-SPECIFIC OPTIONS</A></I></DT>
|
|
14
|
+
<DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
|
|
15
|
+
<TR>
|
|
16
|
+
<TD> <A HREF="#-color">-color</A></td>
|
|
17
|
+
<TD> <A HREF="#-parent">-parent</A></td>
|
|
18
|
+
</TR>
|
|
19
|
+
<TR>
|
|
20
|
+
<TD> <A HREF="#-placement">-placement</A></td>
|
|
21
|
+
<TD> <A HREF="#-title">-title</A></td>
|
|
22
|
+
</TR>
|
|
23
|
+
<TR>
|
|
24
|
+
<TD> <A HREF="#-type">-type</A></td>
|
|
25
|
+
</TR>
|
|
26
|
+
</TABLE></DD>
|
|
27
|
+
</DL>
|
|
28
|
+
<DL>
|
|
29
|
+
<DT><I><A HREF="#wc">WIDGET COMMAND</A></I></DT>
|
|
30
|
+
<DD><I>pathName</I> <A HREF="#cget"><B>cget</B></A>
|
|
31
|
+
<I>option</I>
|
|
32
|
+
</DD>
|
|
33
|
+
<DD><I>pathName</I> <A HREF="#configure"><B>configure</B></A>
|
|
34
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
|
35
|
+
</DD>
|
|
36
|
+
<DD>SelectColor::<A HREF="#dialog"><B>dialog</B></A>
|
|
37
|
+
<I>pathName</I>
|
|
38
|
+
<I>?option value ...?</I>
|
|
39
|
+
</DD>
|
|
40
|
+
<DD>SelectColor::<A HREF="#menu"><B>menu</B></A>
|
|
41
|
+
<I>pathName</I>
|
|
42
|
+
<I>placement</I>
|
|
43
|
+
<I>?option value ...?</I>
|
|
44
|
+
</DD>
|
|
45
|
+
<DD>SelectColor::<A HREF="#setcolor"><B>setcolor</B></A>
|
|
46
|
+
<I>index</I>
|
|
47
|
+
<I>color</I>
|
|
48
|
+
</DD>
|
|
49
|
+
</DL>
|
|
50
|
+
<BR><HR WIDTH="100%"><BR>
|
|
51
|
+
<B><A NAME="descr"></A>DESCRIPTION</B><BR>
|
|
52
|
+
<P>
|
|
53
|
+
|
|
54
|
+
SelectColor provides a simple way to select color. It can be displayed
|
|
55
|
+
as a dialog box or as a menubutton.
|
|
56
|
+
|
|
57
|
+
</P>
|
|
58
|
+
<BR><HR WIDTH="50%"><BR>
|
|
59
|
+
<B><A NAME="wso">WIDGET-SPECIFIC OPTIONS</A></B><BR>
|
|
60
|
+
<DL><DT><A NAME="-color"><B>-color</B></A></DT>
|
|
61
|
+
<DD>
|
|
62
|
+
|
|
63
|
+
Specifies the color value of the widget.
|
|
64
|
+
|
|
65
|
+
</DD>
|
|
66
|
+
</DL>
|
|
67
|
+
<DL><DT><A NAME="-parent"><B>-parent</B></A></DT>
|
|
68
|
+
<DD>
|
|
69
|
+
|
|
70
|
+
Parent of the Dialog. Dialog is centered in its parent. If empty, it is centered in
|
|
71
|
+
root window.
|
|
72
|
+
</DD>
|
|
73
|
+
</DL>
|
|
74
|
+
<DL><DT><A NAME="-placement"><B>-placement</B></A></DT>
|
|
75
|
+
<DD>
|
|
76
|
+
|
|
77
|
+
Where to place the <i>popup</i> color dialog when displaying it.
|
|
78
|
+
Must be any of: <b>at</b>, <b>center</b>, <b>left</b>,
|
|
79
|
+
<b>right</b>, <b>above</b>, or <b>below</b>. If <i>-parent</i> is specified,
|
|
80
|
+
placement will be in relation to the parent widget.
|
|
81
|
+
</DD>
|
|
82
|
+
</DL>
|
|
83
|
+
<DL><DT><A NAME="-title"><B>-title</B></A></DT>
|
|
84
|
+
<DD>
|
|
85
|
+
|
|
86
|
+
Title of the Dialog toplevel.
|
|
87
|
+
|
|
88
|
+
</DD>
|
|
89
|
+
</DL>
|
|
90
|
+
<DL><DT><A NAME="-type"><B>-type (read-only)</B></A></DT>
|
|
91
|
+
<DD>
|
|
92
|
+
|
|
93
|
+
Specifies the type of the SelectColor widget. Must be <B>dialog</B> or
|
|
94
|
+
<B>popup</B>. <BR>If <B>type</B> option is <I>dialog</I>,
|
|
95
|
+
SelectColor::<B>create</B> directly creates the dialog, displays it and
|
|
96
|
+
return an empty string if cancel button is pressed or if dialog is destroyed,
|
|
97
|
+
and the selected color if ok button is pressed. In all cases, dialog is
|
|
98
|
+
destroyed. <BR>If <B>type</B> option is <I>popup</I>,
|
|
99
|
+
SelectColor::<B>create</B> creates a small, popup dialog with a small set of
|
|
100
|
+
predefined colors and a button to activate a full color dialog.
|
|
101
|
+
|
|
102
|
+
</DD>
|
|
103
|
+
</DL>
|
|
104
|
+
<HR WIDTH="50%"><BR>
|
|
105
|
+
<B><A NAME="wc">WIDGET COMMAND</A></B><BR>
|
|
106
|
+
<DL><DT><A NAME="cget"><I>pathName</I> <B>cget</B></A>
|
|
107
|
+
<I>option</I>
|
|
108
|
+
</DT><DD>
|
|
109
|
+
|
|
110
|
+
Returns the current value of the configuration option given by <I>option</I>.
|
|
111
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
|
112
|
+
</DD></DL>
|
|
113
|
+
<DL><DT><A NAME="configure"><I>pathName</I> <B>configure</B></A>
|
|
114
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
|
115
|
+
</DT><DD>
|
|
116
|
+
|
|
117
|
+
Query or modify the configuration options of the widget. If no <I>option</I> is specified,
|
|
118
|
+
returns a list describing all of the available options for <I>pathName</I>.
|
|
119
|
+
If <I>option</I> is specified with no <I>value</I>, then the command returns a list
|
|
120
|
+
describing the one named <I>option</I> (this list will be identical to the corresponding
|
|
121
|
+
sublist of the value returned if no <I>option</I> is specified). If one or
|
|
122
|
+
more <I>option-value</I> pairs are specified, then the command modifies the given widget
|
|
123
|
+
option(s) to have the given value(s); in this case the command returns an empty string.
|
|
124
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
|
125
|
+
Read-only options are not be modified.
|
|
126
|
+
|
|
127
|
+
</DD></DL>
|
|
128
|
+
<DL><DT><A NAME="dialog">SelectColor::<B>dialog</B></A>
|
|
129
|
+
<I>pathName</I>
|
|
130
|
+
<I>?option value ...?</I>
|
|
131
|
+
</DT><DD>
|
|
132
|
+
|
|
133
|
+
Creates a dialog for the user to select a custom color.
|
|
134
|
+
|
|
135
|
+
</DD></DL>
|
|
136
|
+
|
|
137
|
+
<DL><DT><A NAME="dialog">SelectColor::<B>menu</B></A>
|
|
138
|
+
<I>pathName</I>
|
|
139
|
+
<I>placement</I>
|
|
140
|
+
<I>?option value ...?</I>
|
|
141
|
+
</DT><DD>
|
|
142
|
+
|
|
143
|
+
Creates a small, popup dialog for the user to select from a predefined list
|
|
144
|
+
of colors with an additional button to display a full color dialog.
|
|
145
|
+
|
|
146
|
+
<p>
|
|
147
|
+
<i>placement</i> can be any of <b>at</b>, <b>center</b>, <b>left</b>,
|
|
148
|
+
<b>right</b>, <b>above</b>, or <b>below</b>. If <i>-parent</i> is specified,
|
|
149
|
+
placement will be in relation to the parent widget.
|
|
150
|
+
</p>
|
|
151
|
+
|
|
152
|
+
</DD></DL>
|
|
153
|
+
|
|
154
|
+
</DD></DL>
|
|
155
|
+
<DL><DT><A NAME="setcolor">SelectColor::<B>setcolor</B></A>
|
|
156
|
+
<I>index</I>
|
|
157
|
+
<I>color</I>
|
|
158
|
+
</DT><DD>
|
|
159
|
+
|
|
160
|
+
Set the value of user predefined color at index <I>index</I> to <I>color</I>.
|
|
161
|
+
<I>index</I> must be between 0 and 10.
|
|
162
|
+
|
|
163
|
+
</DD></DL>
|
|
164
|
+
</BODY></HTML>
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
<HTML>
|
|
2
|
+
<HEAD><TITLE>SelectFont</TITLE></HEAD>
|
|
3
|
+
<BODY BGCOLOR=white>
|
|
4
|
+
<DL><DT><I><A HREF="#descr">NAME</A></I></DT>
|
|
5
|
+
<DD><B>SelectFont</B>
|
|
6
|
+
- Font selection widget
|
|
7
|
+
</DD></DL>
|
|
8
|
+
<DL>
|
|
9
|
+
<DT><I>CREATION</I></DT>
|
|
10
|
+
<DD><A HREF="#descr"><B>SelectFont</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-font">-font</A></TR>
|
|
18
|
+
</TR>
|
|
19
|
+
</TABLE></DD>
|
|
20
|
+
</DL>
|
|
21
|
+
<DL>
|
|
22
|
+
<DT><I><A HREF="#wso">WIDGET-SPECIFIC OPTIONS</A></I></DT>
|
|
23
|
+
<DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
|
|
24
|
+
<TR>
|
|
25
|
+
<TD> <A HREF="#-command">-command</A></TR>
|
|
26
|
+
<TD> <A HREF="#-initialcolor">-initialcolor</A></TR>
|
|
27
|
+
</TR>
|
|
28
|
+
<TR>
|
|
29
|
+
<TD> <A HREF="#-nosizes">-nosizes</A></TR>
|
|
30
|
+
<TD> <A HREF="#-parent">-parent</A></TR>
|
|
31
|
+
</TR>
|
|
32
|
+
<TR>
|
|
33
|
+
<TD> <A HREF="#-sampletext">-sampletext</A></TR>
|
|
34
|
+
<TD> <A HREF="#-title">-title</A></TR>
|
|
35
|
+
</TR>
|
|
36
|
+
<TR>
|
|
37
|
+
<TD> <A HREF="#-type">-type</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
|
+
<DD>SelectFont::<A HREF="#loadfont"><B>loadfont</B></A>
|
|
49
|
+
</DD>
|
|
50
|
+
</DL>
|
|
51
|
+
<BR><HR WIDTH="100%"><BR>
|
|
52
|
+
<B><A NAME="descr"></A>DESCRIPTION</B><BR>
|
|
53
|
+
<P>
|
|
54
|
+
|
|
55
|
+
SelectFont provides a simple way to choose font. It can be displayed
|
|
56
|
+
as a dialog box or as a toolbar.
|
|
57
|
+
<BR>Textual items in Dialog box uses <B>-name</B> options so they
|
|
58
|
+
can be translated to any language. Symbolic name used are
|
|
59
|
+
<B>ok</B>, <B>cancel</B>, <B>font</B>, <B>size</B>, <B>style</B>,
|
|
60
|
+
<B>bold</B>, <B>italic</B>, <B>underline</B> and <B>overstrike</B>.
|
|
61
|
+
|
|
62
|
+
</P>
|
|
63
|
+
<BR><HR WIDTH="50%"><BR>
|
|
64
|
+
<B><A NAME="wso">WIDGET-SPECIFIC OPTIONS</A></B><BR>
|
|
65
|
+
<DL><DT><A NAME="-command"><B>-command</B></A></DT>
|
|
66
|
+
<DD>
|
|
67
|
+
|
|
68
|
+
Specifies a command to call when user select a new font when SelectFont <B>type</B>
|
|
69
|
+
option is <I>toolbar</I>.
|
|
70
|
+
|
|
71
|
+
</DD>
|
|
72
|
+
</DL>
|
|
73
|
+
<DL><DT><A NAME="-initialcolor"><B>-initialcolor</B></A></DT>
|
|
74
|
+
<DD>
|
|
75
|
+
|
|
76
|
+
If specified, add an additional button that lets the user pick a
|
|
77
|
+
color. This option is ignored if <B>type</B> is <I>toolbar</I>.
|
|
78
|
+
</DD>
|
|
79
|
+
</DL>
|
|
80
|
+
<DL><DT><A NAME="-nosizes"><B>-nosizes</B></A></DT>
|
|
81
|
+
<DD>
|
|
82
|
+
|
|
83
|
+
If true, don't show the listbox containing valid font sizes. This
|
|
84
|
+
option is ignored if <B>type</B> is <I>toolbar</I>.
|
|
85
|
+
</DD>
|
|
86
|
+
</DL>
|
|
87
|
+
<DL><DT><A NAME="-parent"><B>-parent</B></A></DT>
|
|
88
|
+
<DD>
|
|
89
|
+
|
|
90
|
+
Parent of the Dialog. Dialog is centered in its parent. If empty, it is centered in
|
|
91
|
+
root window.
|
|
92
|
+
</DD>
|
|
93
|
+
</DL>
|
|
94
|
+
<DL><DT><A NAME="-sampletext"><B>-sampletext</B></A></DT>
|
|
95
|
+
<DD>
|
|
96
|
+
|
|
97
|
+
Specifies the text displayed in the preview area.
|
|
98
|
+
|
|
99
|
+
</DD>
|
|
100
|
+
</DL>
|
|
101
|
+
<DL><DT><A NAME="-title"><B>-title</B></A></DT>
|
|
102
|
+
<DD>
|
|
103
|
+
|
|
104
|
+
Title of the Dialog toplevel.
|
|
105
|
+
|
|
106
|
+
</DD>
|
|
107
|
+
</DL>
|
|
108
|
+
<DL><DT><A NAME="-type"><B>-type</B></A></DT>
|
|
109
|
+
<DD>
|
|
110
|
+
|
|
111
|
+
Specifies the type of the SelectFont widget. Must be <B>dialog</B> or <B>toolbar</B>.
|
|
112
|
+
<BR>If <B>type</B> option is <I>dialog</I>, SelectFont::<B>create</B> directly creates the
|
|
113
|
+
dialog, displays it and return an empty string if cancel button is
|
|
114
|
+
pressed or if dialog is destroyed, and the selected font (and color
|
|
115
|
+
if <B>initialcolor</B>) if ok button is pressed. In all cases, dialog
|
|
116
|
+
is destroyed.
|
|
117
|
+
<BR>If <B>type</B> option is <I>toolbar</I>, SelectFont::<B>create</B> returns the pathname
|
|
118
|
+
of the widget created.
|
|
119
|
+
|
|
120
|
+
</DD>
|
|
121
|
+
</DL>
|
|
122
|
+
<HR WIDTH="50%"><BR>
|
|
123
|
+
<B><A NAME="wc">WIDGET COMMAND</A></B><BR>
|
|
124
|
+
<DL><DT><A NAME="cget"><I>pathName</I> <B>cget</B></A>
|
|
125
|
+
<I>option</I>
|
|
126
|
+
</DT><DD>
|
|
127
|
+
|
|
128
|
+
Returns the current value of the configuration option given by <I>option</I>.
|
|
129
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
|
130
|
+
</DD></DL>
|
|
131
|
+
<DL><DT><A NAME="configure"><I>pathName</I> <B>configure</B></A>
|
|
132
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
|
133
|
+
</DT><DD>
|
|
134
|
+
|
|
135
|
+
Query or modify the configuration options of the widget. If no <I>option</I> is specified,
|
|
136
|
+
returns a list describing all of the available options for <I>pathName</I>.
|
|
137
|
+
If <I>option</I> is specified with no <I>value</I>, then the command returns a list
|
|
138
|
+
describing the one named <I>option</I> (this list will be identical to the corresponding
|
|
139
|
+
sublist of the value returned if no <I>option</I> is specified). If one or
|
|
140
|
+
more <I>option-value</I> pairs are specified, then the command modifies the given widget
|
|
141
|
+
option(s) to have the given value(s); in this case the command returns an empty string.
|
|
142
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
|
143
|
+
Read-only options are not be modified.
|
|
144
|
+
|
|
145
|
+
</DD></DL>
|
|
146
|
+
<DL><DT><A NAME="loadfont">SelectFont::<B>loadfont</B></A>
|
|
147
|
+
</DT><DD>
|
|
148
|
+
|
|
149
|
+
Load the font available in the system.
|
|
150
|
+
|
|
151
|
+
</DD></DL>
|
|
152
|
+
</BODY></HTML>
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
<HTML>
|
|
2
|
+
<HEAD><TITLE>Separator</TITLE></HEAD>
|
|
3
|
+
<BODY BGCOLOR=white>
|
|
4
|
+
<DL><DT><I><A HREF="#descr">NAME</A></I></DT>
|
|
5
|
+
<DD><B>Separator</B>
|
|
6
|
+
- 3D separator widget
|
|
7
|
+
</DD></DL>
|
|
8
|
+
<DL>
|
|
9
|
+
<DT><I>CREATION</I></DT>
|
|
10
|
+
<DD><A HREF="#descr"><B>Separator</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-orient">-orient</A></TR>
|
|
18
|
+
</TR>
|
|
19
|
+
</TABLE></DD>
|
|
20
|
+
</DL>
|
|
21
|
+
<DL>
|
|
22
|
+
<DT><I><A HREF="#wso">WIDGET-SPECIFIC OPTIONS</A></I></DT>
|
|
23
|
+
<DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
|
|
24
|
+
<TR>
|
|
25
|
+
<TD> <A HREF="#-relief">-relief</A></TR>
|
|
26
|
+
</TABLE></DD>
|
|
27
|
+
</DL>
|
|
28
|
+
<DL>
|
|
29
|
+
<DT><I><A HREF="#wc">WIDGET COMMAND</A></I></DT>
|
|
30
|
+
<DD><I>pathName</I> <A HREF="#cget"><B>cget</B></A>
|
|
31
|
+
<I>option</I>
|
|
32
|
+
</DD>
|
|
33
|
+
<DD><I>pathName</I> <A HREF="#configure"><B>configure</B></A>
|
|
34
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
|
35
|
+
</DD>
|
|
36
|
+
</DL>
|
|
37
|
+
<BR><HR WIDTH="100%"><BR>
|
|
38
|
+
<B><A NAME="descr"></A>DESCRIPTION</B><BR>
|
|
39
|
+
<P>
|
|
40
|
+
|
|
41
|
+
Separator is a widget that display an horizontal or vertical 3-D line.
|
|
42
|
+
|
|
43
|
+
</P>
|
|
44
|
+
<BR><HR WIDTH="50%"><BR>
|
|
45
|
+
<B><A NAME="wso">WIDGET-SPECIFIC OPTIONS</A></B><BR>
|
|
46
|
+
<DL><DT><A NAME="-relief"><B>-relief</B></A></DT>
|
|
47
|
+
<DD>
|
|
48
|
+
|
|
49
|
+
Specifies the relief of the Separator. Must be <B>groove</B> (the default) or <B>ridge</B>.
|
|
50
|
+
|
|
51
|
+
</DD>
|
|
52
|
+
</DL>
|
|
53
|
+
<HR WIDTH="50%"><BR>
|
|
54
|
+
<B><A NAME="wc">WIDGET COMMAND</A></B><BR>
|
|
55
|
+
<DL><DT><A NAME="cget"><I>pathName</I> <B>cget</B></A>
|
|
56
|
+
<I>option</I>
|
|
57
|
+
</DT><DD>
|
|
58
|
+
|
|
59
|
+
Returns the current value of the configuration option given by <I>option</I>.
|
|
60
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
|
61
|
+
</DD></DL>
|
|
62
|
+
<DL><DT><A NAME="configure"><I>pathName</I> <B>configure</B></A>
|
|
63
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
|
64
|
+
</DT><DD>
|
|
65
|
+
|
|
66
|
+
Query or modify the configuration options of the widget. If no <I>option</I> is specified,
|
|
67
|
+
returns a list describing all of the available options for <I>pathName</I>.
|
|
68
|
+
If <I>option</I> is specified with no <I>value</I>, then the command returns a list
|
|
69
|
+
describing the one named <I>option</I> (this list will be identical to the corresponding
|
|
70
|
+
sublist of the value returned if no <I>option</I> is specified). If one or
|
|
71
|
+
more <I>option-value</I> pairs are specified, then the command modifies the given widget
|
|
72
|
+
option(s) to have the given value(s); in this case the command returns an empty string.
|
|
73
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
|
74
|
+
Read-only options are not be modified.
|
|
75
|
+
|
|
76
|
+
</DD></DL>
|
|
77
|
+
</BODY></HTML>
|