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.
Files changed (167) hide show
  1. data/README +126 -123
  2. data/arcadia.rb +770 -756
  3. data/base/a-contracts.rb +130 -93
  4. data/base/a-ext.rb +280 -280
  5. data/base/a-libs.rb +5 -11
  6. data/base/a-utils.rb +235 -44
  7. data/conf/arcadia.conf +20 -16
  8. data/conf/arcadia.init.rb +0 -0
  9. data/conf/arcadia.res.rb +74 -0
  10. data/ext/ae-complete-code/ae-complete-code.conf +0 -0
  11. data/ext/ae-complete-code/ae-complete-code.rb +80 -79
  12. data/ext/ae-debug/ae-debug.conf +0 -0
  13. data/ext/ae-debug/ae-debug.rb +2 -6
  14. data/ext/ae-debug/debug1.57.rb +0 -0
  15. data/ext/ae-doc-code/ae-doc-code.conf +15 -0
  16. data/ext/ae-doc-code/ae-doc-code.rb +289 -0
  17. data/ext/ae-editor/ae-editor.conf +17 -8
  18. data/ext/ae-editor/ae-editor.rb +738 -396
  19. data/ext/ae-event-log/ae-event-log.conf +0 -0
  20. data/ext/ae-event-log/ae-event-log.rb +0 -0
  21. data/ext/ae-file-history/ae-file-history.conf +2 -2
  22. data/ext/ae-file-history/ae-file-history.rb +286 -290
  23. data/ext/ae-inspector/ae-inspector.conf +0 -0
  24. data/ext/ae-inspector/ae-inspector.rb +0 -0
  25. data/ext/ae-output-event/ae-output-event.conf +2 -2
  26. data/ext/ae-output/ae-output.conf +2 -2
  27. data/ext/ae-output/ae-output.rb +173 -178
  28. data/ext/ae-palette/ae-palette.conf +0 -0
  29. data/ext/ae-palette/ae-palette.rb +0 -0
  30. data/ext/ae-shell/ae-shell.conf +0 -0
  31. data/ext/ae-shell/ae-shell.rb +54 -54
  32. data/lib/tk/al-tk.rb +3076 -3082
  33. data/lib/tk/al-tk.res.rb +0 -0
  34. data/lib/tk/al-tkarcadia.rb +0 -0
  35. data/lib/tk/al-tkcustom.rb +0 -0
  36. data/lib/tkext/al-bwidget.rb +0 -0
  37. data/lib/tkext/al-iwidgets.rb +0 -0
  38. data/lib/tkext/al-tile.rb +0 -0
  39. data/lib/tkext/al-tktable.rb +0 -0
  40. data/tcl/BWidget-1.8.0/BWman/ArrowButton.html +276 -0
  41. data/tcl/BWidget-1.8.0/BWman/BWidget.html +228 -0
  42. data/tcl/BWidget-1.8.0/BWman/Button.html +273 -0
  43. data/tcl/BWidget-1.8.0/BWman/ButtonBox.html +264 -0
  44. data/tcl/BWidget-1.8.0/BWman/ComboBox.html +402 -0
  45. data/tcl/BWidget-1.8.0/BWman/Dialog.html +314 -0
  46. data/tcl/BWidget-1.8.0/BWman/DragSite.html +139 -0
  47. data/tcl/BWidget-1.8.0/BWman/DropSite.html +254 -0
  48. data/tcl/BWidget-1.8.0/BWman/DynamicHelp.html +248 -0
  49. data/tcl/BWidget-1.8.0/BWman/Entry.html +341 -0
  50. data/tcl/BWidget-1.8.0/BWman/Label.html +331 -0
  51. data/tcl/BWidget-1.8.0/BWman/LabelEntry.html +194 -0
  52. data/tcl/BWidget-1.8.0/BWman/LabelFrame.html +144 -0
  53. data/tcl/BWidget-1.8.0/BWman/ListBox.html +678 -0
  54. data/tcl/BWidget-1.8.0/BWman/MainFrame.html +283 -0
  55. data/tcl/BWidget-1.8.0/BWman/MessageDlg.html +218 -0
  56. data/tcl/BWidget-1.8.0/BWman/NoteBook.html +374 -0
  57. data/tcl/BWidget-1.8.0/BWman/PagesManager.html +180 -0
  58. data/tcl/BWidget-1.8.0/BWman/PanedWindow.html +142 -0
  59. data/tcl/BWidget-1.8.0/BWman/PanelFrame.html +153 -0
  60. data/tcl/BWidget-1.8.0/BWman/PasswdDlg.html +214 -0
  61. data/tcl/BWidget-1.8.0/BWman/ProgressBar.html +152 -0
  62. data/tcl/BWidget-1.8.0/BWman/ProgressDlg.html +145 -0
  63. data/tcl/BWidget-1.8.0/BWman/ScrollView.html +130 -0
  64. data/tcl/BWidget-1.8.0/BWman/ScrollableFrame.html +191 -0
  65. data/tcl/BWidget-1.8.0/BWman/ScrolledWindow.html +116 -0
  66. data/tcl/BWidget-1.8.0/BWman/SelectColor.html +164 -0
  67. data/tcl/BWidget-1.8.0/BWman/SelectFont.html +152 -0
  68. data/tcl/BWidget-1.8.0/BWman/Separator.html +77 -0
  69. data/tcl/BWidget-1.8.0/BWman/SpinBox.html +250 -0
  70. data/tcl/BWidget-1.8.0/BWman/StatusBar.html +147 -0
  71. data/tcl/BWidget-1.8.0/BWman/TitleFrame.html +107 -0
  72. data/tcl/BWidget-1.8.0/BWman/Tree.html +947 -0
  73. data/tcl/BWidget-1.8.0/BWman/Widget.html +502 -0
  74. data/tcl/BWidget-1.8.0/BWman/contents.html +84 -0
  75. data/tcl/BWidget-1.8.0/BWman/index.html +7 -0
  76. data/tcl/BWidget-1.8.0/BWman/navtree.html +41 -0
  77. data/tcl/BWidget-1.8.0/BWman/options.htm +458 -0
  78. data/tcl/BWidget-1.8.0/CHANGES.txt +266 -0
  79. data/tcl/BWidget-1.8.0/ChangeLog +1641 -0
  80. data/tcl/BWidget-1.8.0/LICENSE.txt +41 -0
  81. data/tcl/BWidget-1.8.0/README.txt +127 -0
  82. data/tcl/BWidget-1.8.0/arrow.tcl +551 -0
  83. data/tcl/BWidget-1.8.0/bitmap.tcl +94 -0
  84. data/tcl/BWidget-1.8.0/button.tcl +324 -0
  85. data/tcl/BWidget-1.8.0/buttonbox.tcl +403 -0
  86. data/tcl/BWidget-1.8.0/color.tcl +493 -0
  87. data/tcl/BWidget-1.8.0/combobox.tcl +809 -0
  88. data/tcl/BWidget-1.8.0/demo/basic.tcl +199 -0
  89. data/tcl/BWidget-1.8.0/demo/bwidget.xbm +46 -0
  90. data/tcl/BWidget-1.8.0/demo/demo.tcl +212 -0
  91. data/tcl/BWidget-1.8.0/demo/dnd.tcl +42 -0
  92. data/tcl/BWidget-1.8.0/demo/manager.tcl +141 -0
  93. data/tcl/BWidget-1.8.0/demo/select.tcl +59 -0
  94. data/tcl/BWidget-1.8.0/demo/tmpldlg.tcl +214 -0
  95. data/tcl/BWidget-1.8.0/demo/tree.tcl +260 -0
  96. data/tcl/BWidget-1.8.0/demo/x1.xbm +2258 -0
  97. data/tcl/BWidget-1.8.0/dialog.tcl +345 -0
  98. data/tcl/BWidget-1.8.0/dragsite.tcl +197 -0
  99. data/tcl/BWidget-1.8.0/dropsite.tcl +455 -0
  100. data/tcl/BWidget-1.8.0/dynhelp.tcl +625 -0
  101. data/tcl/BWidget-1.8.0/entry.tcl +469 -0
  102. data/tcl/BWidget-1.8.0/font.tcl +566 -0
  103. data/tcl/BWidget-1.8.0/images/bold.gif +0 -0
  104. data/tcl/BWidget-1.8.0/images/copy.gif +0 -0
  105. data/tcl/BWidget-1.8.0/images/cut.gif +0 -0
  106. data/tcl/BWidget-1.8.0/images/dragfile.gif +0 -0
  107. data/tcl/BWidget-1.8.0/images/dragicon.gif +0 -0
  108. data/tcl/BWidget-1.8.0/images/error.gif +0 -0
  109. data/tcl/BWidget-1.8.0/images/file.gif +0 -0
  110. data/tcl/BWidget-1.8.0/images/folder.gif +0 -0
  111. data/tcl/BWidget-1.8.0/images/hourglass.gif +0 -0
  112. data/tcl/BWidget-1.8.0/images/info.gif +0 -0
  113. data/tcl/BWidget-1.8.0/images/italic.gif +0 -0
  114. data/tcl/BWidget-1.8.0/images/minus.xbm +5 -0
  115. data/tcl/BWidget-1.8.0/images/new.gif +0 -0
  116. data/tcl/BWidget-1.8.0/images/opcopy.xbm +5 -0
  117. data/tcl/BWidget-1.8.0/images/open.gif +0 -0
  118. data/tcl/BWidget-1.8.0/images/openfold.gif +0 -0
  119. data/tcl/BWidget-1.8.0/images/oplink.xbm +5 -0
  120. data/tcl/BWidget-1.8.0/images/opmove.xbm +5 -0
  121. data/tcl/BWidget-1.8.0/images/overstrike.gif +0 -0
  122. data/tcl/BWidget-1.8.0/images/palette.gif +0 -0
  123. data/tcl/BWidget-1.8.0/images/passwd.gif +0 -0
  124. data/tcl/BWidget-1.8.0/images/paste.gif +0 -0
  125. data/tcl/BWidget-1.8.0/images/plus.xbm +5 -0
  126. data/tcl/BWidget-1.8.0/images/print.gif +0 -0
  127. data/tcl/BWidget-1.8.0/images/question.gif +0 -0
  128. data/tcl/BWidget-1.8.0/images/redo.gif +0 -0
  129. data/tcl/BWidget-1.8.0/images/save.gif +0 -0
  130. data/tcl/BWidget-1.8.0/images/target.xbm +9 -0
  131. data/tcl/BWidget-1.8.0/images/underline.gif +0 -0
  132. data/tcl/BWidget-1.8.0/images/undo.gif +0 -0
  133. data/tcl/BWidget-1.8.0/images/warning.gif +0 -0
  134. data/tcl/BWidget-1.8.0/init.tcl +40 -0
  135. data/tcl/BWidget-1.8.0/label.tcl +271 -0
  136. data/tcl/BWidget-1.8.0/labelentry.tcl +100 -0
  137. data/tcl/BWidget-1.8.0/labelframe.tcl +160 -0
  138. data/tcl/BWidget-1.8.0/lang/da.rc +52 -0
  139. data/tcl/BWidget-1.8.0/lang/de.rc +52 -0
  140. data/tcl/BWidget-1.8.0/lang/en.rc +52 -0
  141. data/tcl/BWidget-1.8.0/lang/es.rc +53 -0
  142. data/tcl/BWidget-1.8.0/lang/fr.rc +52 -0
  143. data/tcl/BWidget-1.8.0/listbox.tcl +1638 -0
  144. data/tcl/BWidget-1.8.0/mainframe.tcl +711 -0
  145. data/tcl/BWidget-1.8.0/messagedlg.tcl +128 -0
  146. data/tcl/BWidget-1.8.0/notebook.tcl +1164 -0
  147. data/tcl/BWidget-1.8.0/pagesmgr.tcl +294 -0
  148. data/tcl/BWidget-1.8.0/panedw.tcl +381 -0
  149. data/tcl/BWidget-1.8.0/panelframe.tcl +246 -0
  150. data/tcl/BWidget-1.8.0/passwddlg.tcl +178 -0
  151. data/tcl/BWidget-1.8.0/pkgIndex.tcl +47 -0
  152. data/tcl/BWidget-1.8.0/progressbar.tcl +208 -0
  153. data/tcl/BWidget-1.8.0/progressdlg.tcl +87 -0
  154. data/tcl/BWidget-1.8.0/scrollframe.tcl +226 -0
  155. data/tcl/BWidget-1.8.0/scrollview.tcl +254 -0
  156. data/tcl/BWidget-1.8.0/scrollw.tcl +280 -0
  157. data/tcl/BWidget-1.8.0/separator.tcl +75 -0
  158. data/tcl/BWidget-1.8.0/spinbox.tcl +331 -0
  159. data/tcl/BWidget-1.8.0/statusbar.tcl +422 -0
  160. data/tcl/BWidget-1.8.0/tests/entry.test +173 -0
  161. data/tcl/BWidget-1.8.0/titleframe.tcl +170 -0
  162. data/tcl/BWidget-1.8.0/tree.tcl +2228 -0
  163. data/tcl/BWidget-1.8.0/utils.tcl +645 -0
  164. data/tcl/BWidget-1.8.0/widget.tcl +1576 -0
  165. data/tcl/BWidget-1.8.0/wizard.tcl +1028 -0
  166. data/tcl/BWidget-1.8.0/xpm2image.tcl +115 -0
  167. metadata +141 -5
@@ -0,0 +1,84 @@
1
+ <HTML><BODY BGCOLOR=white target=Manual>
2
+ <BR><BR><DT><B>Simple Widgets</B>
3
+ <DD><TABLE BORDER=0 CELLSPACING=0>
4
+ <TR><TD><A HREF="Label.html">Label</A></TD>
5
+ <TD>Label widget with <B>state</B> option, dynamic help and drag and drop facilities</TD></TR>
6
+ <TR><TD><A HREF="Entry.html">Entry</A></TD>
7
+ <TD>Entry widget with <B>state</B> option, dynamic help and drag and drop facilities</TD></TR>
8
+ <TR><TD><A HREF="Button.html">Button</A></TD>
9
+ <TD>Button widget with enhanced options</TD></TR>
10
+ <TR><TD><A HREF="ArrowButton.html">ArrowButton</A></TD>
11
+ <TD>Button widget with an arrow shape.</TD></TR>
12
+ <TR><TD><A HREF="ProgressBar.html">ProgressBar</A></TD>
13
+ <TD>Progress indicator widget</TD></TR>
14
+ <TR><TD><A HREF="ScrollView.html">ScrollView</A></TD>
15
+ <TD>Display the visible area of a scrolled window</TD></TR>
16
+ <TR><TD><A HREF="Separator.html">Separator</A></TD>
17
+ <TD>3D separator widget</TD></TR>
18
+ </TABLE>
19
+ <BR><BR><DT><B>Manager Widgets</B>
20
+ <DD><TABLE BORDER=0 CELLSPACING=0>
21
+ <TR><TD><A HREF="MainFrame.html">MainFrame</A></TD>
22
+ <TD>Manage toplevel with menu, toolbar and statusbar </TD></TR>
23
+ <TR><TD><A HREF="LabelFrame.html">LabelFrame</A></TD>
24
+ <TD>Frame with a Label</TD></TR>
25
+ <TR><TD><A HREF="TitleFrame.html">TitleFrame</A></TD>
26
+ <TD>Frame with a title (consider Tk 8.4+ labelframe instead)</TD></TR>
27
+ <TR><TD><A HREF="PanelFrame.html">PanelFrame</A></TD>
28
+ <TD>Frame with a boxed title area</TD></TR>
29
+ <TR><TD><A HREF="ScrolledWindow.html">ScrolledWindow</A></TD>
30
+ <TD>Generic scrolled widget</TD></TR>
31
+ <TR><TD><A HREF="ScrollableFrame.html">ScrollableFrame</A></TD>
32
+ <TD>Scrollable frame containing widget</TD></TR>
33
+ <TR><TD><A HREF="PanedWindow.html">PanedWindow</A></TD>
34
+ <TD>Tiled layout manager widget (consider Tk 8.4+ panedwindow instead)</TD></TR>
35
+ <TR><TD><A HREF="ButtonBox.html">ButtonBox</A></TD>
36
+ <TD>Set of buttons with horizontal or vertical layout</TD></TR>
37
+ <TR><TD><A HREF="PagesManager.html">PagesManager</A></TD>
38
+ <TD>Pages manager widget</TD></TR>
39
+ <TR><TD><A HREF="NoteBook.html">NoteBook</A></TD>
40
+ <TD>Notebook manager widget</TD></TR>
41
+ <TR><TD><A HREF="Dialog.html">Dialog</A></TD>
42
+ <TD>Dialog abstraction with custom buttons</TD></TR>
43
+ <TR><TD><A HREF="StatusBar.html">StatusBar</A></TD>
44
+ <TD>Status bar widget with resize control</TD></TR>
45
+ </TABLE>
46
+ <BR><BR><DT><B>Composite Widgets</B>
47
+ <DD><TABLE BORDER=0 CELLSPACING=0>
48
+ <TR><TD><A HREF="LabelEntry.html">LabelEntry</A></TD>
49
+ <TD>
50
+ LabelFrame containing an Entry widget.
51
+ </TD></TR>
52
+ <TR><TD><A HREF="ComboBox.html">ComboBox</A></TD>
53
+ <TD>ComboBox widget</TD></TR>
54
+ <TR><TD><A HREF="SpinBox.html">SpinBox</A></TD>
55
+ <TD>SpinBox widget (consider Tk 8.4+ spinbox instead)</TD></TR>
56
+ <TR><TD><A HREF="Tree.html">Tree</A></TD>
57
+ <TD>Tree widget</TD></TR>
58
+ <TR><TD><A HREF="ListBox.html">ListBox</A></TD>
59
+ <TD>ListBox widget</TD></TR>
60
+ <TR><TD><A HREF="MessageDlg.html">MessageDlg</A></TD>
61
+ <TD>Message dialog box</TD></TR>
62
+ <TR><TD><A HREF="ProgressDlg.html">ProgressDlg</A></TD>
63
+ <TD>Progress indicator dialog box</TD></TR>
64
+ <TR><TD><A HREF="PasswdDlg.html">PasswdDlg</A></TD>
65
+ <TD>Login/Password dialog box</TD></TR>
66
+ <TR><TD><A HREF="SelectFont.html">SelectFont</A></TD>
67
+ <TD>Font selection widget</TD></TR>
68
+ <TR><TD><A HREF="SelectColor.html">SelectColor</A></TD>
69
+ <TD>Color selection widget</TD></TR>
70
+ </TABLE>
71
+ <BR><BR><DT><B>Commands Classes</B>
72
+ <DD><TABLE BORDER=0 CELLSPACING=0>
73
+ <TR><TD><A HREF="Widget.html">Widget</A></TD>
74
+ <TD>The Widget base class</TD></TR>
75
+ <TR><TD><A HREF="DynamicHelp.html">DynamicHelp</A></TD>
76
+ <TD>Provide help to Tk widget or BWidget</TD></TR>
77
+ <TR><TD><A HREF="DragSite.html">DragSite</A></TD>
78
+ <TD>Commands set for Drag facilities</TD></TR>
79
+ <TR><TD><A HREF="DropSite.html">DropSite</A></TD>
80
+ <TD>Commands set for Drop facilities</TD></TR>
81
+ <TR><TD><A HREF="BWidget.html">BWidget</A></TD>
82
+ <TD>Description text</TD></TR>
83
+ </TABLE>
84
+ </DD></BODY></HTML>
@@ -0,0 +1,7 @@
1
+ <HTML>
2
+ <HEAD><TITLE>BWidget Manual Pages</TITLE></HEAD>
3
+ <FRAMESET COLS="180,*" BORDER=0>
4
+ <FRAME SRC=navtree.html NAME="Menu" SCROLLING=AUTO>
5
+ <FRAME SRC=contents.html NAME="Manual" SCROLLING=AUTO>
6
+ </FRAMESET>
7
+ </HTML>
@@ -0,0 +1,41 @@
1
+ <HTML><BODY BGCOLOR=white>
2
+ <FONT SIZE=1><STRONG><A HREF="contents.html" TARGET=Manual>Brief description</A></STRONG></FONT><BR>
3
+ <FONT SIZE=1><STRONG>Simple Widgets</STRONG></FONT><BR>
4
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="Label.html" TARGET=Manual>Label</A></FONT><BR>
5
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="Entry.html" TARGET=Manual>Entry</A></FONT><BR>
6
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="Button.html" TARGET=Manual>Button</A></FONT><BR>
7
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="ArrowButton.html" TARGET=Manual>ArrowButton</A></FONT><BR>
8
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="ProgressBar.html" TARGET=Manual>ProgressBar</A></FONT><BR>
9
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="ScrollView.html" TARGET=Manual>ScrollView</A></FONT><BR>
10
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="Separator.html" TARGET=Manual>Separator</A></FONT><BR>
11
+ <FONT SIZE=1><STRONG>Manager Widgets</STRONG></FONT><BR>
12
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="MainFrame.html" TARGET=Manual>MainFrame</A></FONT><BR>
13
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="LabelFrame.html" TARGET=Manual>LabelFrame</A></FONT><BR>
14
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="TitleFrame.html" TARGET=Manual>TitleFrame</A></FONT><BR>
15
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="PanelFrame.html" TARGET=Manual>PanelFrame</A></FONT><BR>
16
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="ScrolledWindow.html" TARGET=Manual>ScrolledWindow</A></FONT><BR>
17
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="ScrollableFrame.html" TARGET=Manual>ScrollableFrame</A></FONT><BR>
18
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="PanedWindow.html" TARGET=Manual>PanedWindow</A></FONT><BR>
19
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="ButtonBox.html" TARGET=Manual>ButtonBox</A></FONT><BR>
20
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="PagesManager.html" TARGET=Manual>PagesManager</A></FONT><BR>
21
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="NoteBook.html" TARGET=Manual>NoteBook</A></FONT><BR>
22
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="Dialog.html" TARGET=Manual>Dialog</A></FONT><BR>
23
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="StatusBar.html" TARGET=Manual>StatusBar</A></FONT><BR>
24
+ <FONT SIZE=1><STRONG>Composite Widgets</STRONG></FONT><BR>
25
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="LabelEntry.html" TARGET=Manual>LabelEntry</A></FONT><BR>
26
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="ComboBox.html" TARGET=Manual>ComboBox</A></FONT><BR>
27
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="SpinBox.html" TARGET=Manual>SpinBox</A></FONT><BR>
28
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="Tree.html" TARGET=Manual>Tree</A></FONT><BR>
29
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="ListBox.html" TARGET=Manual>ListBox</A></FONT><BR>
30
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="MessageDlg.html" TARGET=Manual>MessageDlg</A></FONT><BR>
31
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="ProgressDlg.html" TARGET=Manual>ProgressDlg</A></FONT><BR>
32
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="PasswdDlg.html" TARGET=Manual>PasswdDlg</A></FONT><BR>
33
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="SelectFont.html" TARGET=Manual>SelectFont</A></FONT><BR>
34
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="SelectColor.html" TARGET=Manual>SelectColor</A></FONT><BR>
35
+ <FONT SIZE=1><STRONG>Commands Classes</STRONG></FONT><BR>
36
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="Widget.html" TARGET=Manual>Widget</A></FONT><BR>
37
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="DynamicHelp.html" TARGET=Manual>DynamicHelp</A></FONT><BR>
38
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="DragSite.html" TARGET=Manual>DragSite</A></FONT><BR>
39
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="DropSite.html" TARGET=Manual>DropSite</A></FONT><BR>
40
+ &nbsp;&nbsp;<FONT SIZE=1><A HREF="BWidget.html" TARGET=Manual>BWidget</A></FONT><BR>
41
+ </BODY></HTML>
@@ -0,0 +1,458 @@
1
+ <HTML><HEAD><TITLE>Tk Built-In Commands - options manual page</TITLE></HEAD>
2
+ <BODY BGCOLOR=white>
3
+ <DL>
4
+ <DD><A HREF="options.htm#M2" NAME="L2">NAME</A>
5
+ <DL><DD>options - Standard options supported by widgets</DL>
6
+ <DD><A HREF="options.htm#M3" NAME="L3">DESCRIPTION</A>
7
+ <DL>
8
+ <DD><A HREF="options.htm#M-activebackground" NAME="L4">-activebackground, activeBackground, Foreground</A>
9
+ <DD><A HREF="options.htm#M-activeborderwidth" NAME="L5">-activeborderwidth, activeBorderWidth, BorderWidth</A>
10
+ <DD><A HREF="options.htm#M-activeforeground" NAME="L6">-activeforeground, activeForeground, Background</A>
11
+ <DD><A HREF="options.htm#M-anchor" NAME="L7">-anchor, anchor, Anchor</A>
12
+ <DD><A HREF="options.htm#M-background" NAME="L8">-background or -bg, background, Background</A>
13
+ <DD><A HREF="options.htm#M-bitmap" NAME="L9">-bitmap, bitmap, Bitmap</A>
14
+ <DD><A HREF="options.htm#M-borderwidth" NAME="L10">-borderwidth or -bd, borderWidth, BorderWidth</A>
15
+ <DD><A HREF="options.htm#M-cursor" NAME="L11">-cursor, cursor, Cursor</A>
16
+ <DD><A HREF="options.htm#M-disabledbackground" NAME="L12">-disabledbackground, disabledBackground, DisabledBackground</A>
17
+ <DD><A HREF="options.htm#M-disabledforeground" NAME="L12">-disabledforeground, disabledForeground, DisabledForeground</A>
18
+ <DD><A HREF="options.htm#M-exportselection" NAME="L13">-exportselection, exportSelection, ExportSelection</A>
19
+ <DD><A HREF="options.htm#M-font" NAME="L14">-font, font, Font</A>
20
+ <DD><A HREF="options.htm#M-foreground" NAME="L15">-foreground or -fg, foreground, Foreground</A>
21
+ <DD><A HREF="options.htm#M-highlightbackground" NAME="L16">-highlightbackground, highlightBackground, HighlightBackground</A>
22
+ <DD><A HREF="options.htm#M-highlightcolor" NAME="L17">-highlightcolor, highlightColor, HighlightColor</A>
23
+ <DD><A HREF="options.htm#M-highlightthickness" NAME="L18">-highlightthickness, highlightThickness, HighlightThickness</A>
24
+ <DD><A HREF="options.htm#M-image" NAME="L19">-image, image, Image</A>
25
+ <DD><A HREF="options.htm#M-insertbackground" NAME="L20">-insertbackground, insertBackground, Foreground</A>
26
+ <DD><A HREF="options.htm#M-insertborderwidth" NAME="L21">-insertborderwidth, insertBorderWidth, BorderWidth</A>
27
+ <DD><A HREF="options.htm#M-insertofftime" NAME="L22">-insertofftime, insertOffTime, OffTime</A>
28
+ <DD><A HREF="options.htm#M-insertontime" NAME="L23">-insertontime, insertOnTime, OnTime</A>
29
+ <DD><A HREF="options.htm#M-insertwidth" NAME="L24">-insertwidth, insertWidth, InsertWidth</A>
30
+ <DD><A HREF="options.htm#M-jump" NAME="L25">-jump, jump, Jump</A>
31
+ <DD><A HREF="options.htm#M-justify" NAME="L26">-justify, justify, Justify</A>
32
+ <DD><A HREF="options.htm#M-orient" NAME="L27">-orient, orient, Orient</A>
33
+ <DD><A HREF="options.htm#M-padx" NAME="L28">-padx, padX, Pad</A>
34
+ <DD><A HREF="options.htm#M-pady" NAME="L29">-pady, padY, Pad</A>
35
+ <DD><A HREF="options.htm#M-relief" NAME="L30">-relief, relief, Relief</A>
36
+ <DD><A HREF="options.htm#M-repeatdelay" NAME="L31">-repeatdelay, repeatDelay, RepeatDelay</A>
37
+ <DD><A HREF="options.htm#M-repeatinterval" NAME="L32">-repeatinterval, repeatInterval, RepeatInterval</A>
38
+ <DD><A HREF="options.htm#M-selectbackground" NAME="L33">-selectbackground, selectBackground, Foreground</A>
39
+ <DD><A HREF="options.htm#M-selectborderwidth" NAME="L34">-selectborderwidth, selectBorderWidth, BorderWidth</A>
40
+ <DD><A HREF="options.htm#M-selectforeground" NAME="L35">-selectforeground, selectForeground, Background</A>
41
+ <DD><A HREF="options.htm#M-setgrid" NAME="L36">-setgrid, setGrid, SetGrid</A>
42
+ <DD><A HREF="options.htm#M-takefocus" NAME="L37">-takefocus, takeFocus, TakeFocus</A>
43
+ <DD><A HREF="options.htm#M-text" NAME="L38">-text, text, Text</A>
44
+ <DD><A HREF="options.htm#M-textvariable" NAME="L39">-textvariable, textVariable, Variable</A>
45
+ <DD><A HREF="options.htm#M-troughcolor" NAME="L40">-troughcolor, troughColor, Background</A>
46
+ <DD><A HREF="options.htm#M-underline" NAME="L41">-underline, underline, Underline</A>
47
+ <DD><A HREF="options.htm#M-wraplength" NAME="L42">-wraplength, wrapLength, WrapLength</A>
48
+ <DD><A HREF="options.htm#M-xscrollcommand" NAME="L43">-xscrollcommand, xScrollCommand, ScrollCommand</A>
49
+ <DD><A HREF="options.htm#M-yscrollcommand" NAME="L44">-yscrollcommand, yScrollCommand, ScrollCommand</A>
50
+ </DL>
51
+ <DD><A HREF="options.htm#M4" NAME="L45">KEYWORDS</A>
52
+ </DL><HR>
53
+ <H3><A NAME="M2">NAME</A></H3>
54
+ options - Standard options supported by widgets
55
+ <H3><A NAME="M3">DESCRIPTION</A></H3>
56
+ This manual entry describes the common configuration options supported
57
+ by widgets in the Tk toolkit. Every widget does not necessarily support
58
+ every option (see the manual entries for individual widgets for a list
59
+ of the standard options supported by that widget), but if a widget does
60
+ support an option with one of the names listed below, then the option
61
+ has exactly the effect described below.
62
+ <P>
63
+ In the descriptions below, ``Command-Line Name'' refers to the
64
+ switch used in class commands and <B>configure</B> widget commands to
65
+ set this value. For example, if an option's command-line switch is
66
+ <B>-foreground</B> and there exists a widget <B>.a.b.c</B>, then the
67
+ command
68
+ <PRE><B>.a.b.c configure -foreground black</B></PRE>
69
+ may be used to specify the value <B>black</B> for the option in the
70
+ the widget <B>.a.b.c</B>. Command-line switches may be abbreviated,
71
+ as long as the abbreviation is unambiguous.
72
+ ``Database Name'' refers to the option's name in the option database (e.g.
73
+ in .Xdefaults files). ``Database Class'' refers to the option's class value
74
+ in the option database.
75
+ <DL>
76
+ <DT>Command-Line Name: <B><A NAME="M-activebackground">-activebackground</A></B>
77
+ <DT>Database Name: <B>activeBackground</B>
78
+ <DT>Database Class: <B>Foreground</B>
79
+ <DD>Specifies background color to use when drawing active elements.
80
+ An element (a widget or portion of a widget) is active if the
81
+ mouse cursor is positioned over the element and pressing a mouse button
82
+ will cause some action to occur.
83
+ If strict Motif compliance has been requested by setting the
84
+ <B>tk_strictMotif</B> variable, this option will normally be
85
+ ignored; the normal background color will be used instead.
86
+ For some elements on Windows and Macintosh systems, the active color
87
+ will only be used while mouse button 1 is pressed over the element.
88
+ <P><DT>Command-Line Name: <B><A NAME="M-activeborderwidth">-activeborderwidth</A></B>
89
+ <DT>Database Name: <B>activeBorderWidth</B>
90
+ <DT>Database Class: <B>BorderWidth</B>
91
+ <DD>Specifies a non-negative value indicating
92
+ the width of the 3-D border drawn around active elements. See above for
93
+ definition of active elements.
94
+ The value may have any of the forms acceptable to <B><A HREF="../TkLib/GetPixels.htm">Tk_GetPixels</A></B>.
95
+ This option is typically only available in widgets displaying more
96
+ than one element at a time (e.g. menus but not buttons).
97
+ <P><DT>Command-Line Name: <B><A NAME="M-activeforeground">-activeforeground</A></B>
98
+ <DT>Database Name: <B>activeForeground</B>
99
+ <DT>Database Class: <B>Background</B>
100
+ <DD>Specifies foreground color to use when drawing active elements.
101
+ See above for definition of active elements.
102
+ <P><DT>Command-Line Name: <B><A NAME="M-anchor">-anchor</A></B>
103
+ <DT>Database Name: <B>anchor</B>
104
+ <DT>Database Class: <B>Anchor</B>
105
+ <DD>Specifies how the information in a widget (e.g. text or a bitmap)
106
+ is to be displayed in the widget.
107
+ Must be one of the values <B>n</B>, <B>ne</B>, <B>e</B>, <B>se</B>,
108
+ <B>s</B>, <B>sw</B>, <B>w</B>, <B>nw</B>, or <B>center</B>.
109
+ For example, <B>nw</B> means display the information such that its
110
+ top-left corner is at the top-left corner of the widget.
111
+ <P><DT>Command-Line Name: <B><A NAME="M-background">-background or -bg</A></B>
112
+ <DT>Database Name: <B>background</B>
113
+ <DT>Database Class: <B>Background</B>
114
+ <DD>Specifies the normal background color to use when displaying the
115
+ widget.
116
+ <P><DT>Command-Line Name: <B><A NAME="M-bitmap">-bitmap</A></B>
117
+ <DT>Database Name: <B>bitmap</B>
118
+ <DT>Database Class: <B>Bitmap</B>
119
+ <DD>Specifies a bitmap to display in the widget, in any of the forms
120
+ acceptable to <B><A HREF="../TkLib/GetBitmap.htm">Tk_GetBitmap</A></B>.
121
+ The exact way in which the bitmap is displayed may be affected by
122
+ other options such as <B>anchor</B> or <B>justify</B>.
123
+ Typically, if this option is specified then it overrides other
124
+ options that specify a textual value to display in the widget;
125
+ the <B>bitmap</B> option may be reset to an empty string to re-enable
126
+ a text display.
127
+ In widgets that support both <B>bitmap</B> and <B>image</B> options,
128
+ <B>image</B> will usually override <B>bitmap</B>.
129
+ <P><DT>Command-Line Name: <B><A NAME="M-borderwidth">-borderwidth or -bd</A></B>
130
+ <DT>Database Name: <B>borderWidth</B>
131
+ <DT>Database Class: <B>BorderWidth</B>
132
+ <DD>Specifies a non-negative value indicating the width
133
+ of the 3-D border to draw around the outside of the widget (if such a
134
+ border is being drawn; the <B>relief</B> option typically determines
135
+ this). The value may also be used when drawing 3-D effects in the
136
+ interior of the widget.
137
+ The value may have any of the forms acceptable to <B><A HREF="../TkLib/GetPixels.htm">Tk_GetPixels</A></B>.
138
+ <P><DT>Command-Line Name: <B><A NAME="M-cursor">-cursor</A></B>
139
+ <DT>Database Name: <B>cursor</B>
140
+ <DT>Database Class: <B>Cursor</B>
141
+ <DD>Specifies the mouse cursor to be used for the widget.
142
+ The value may have any of the forms acceptable to <B><A HREF="../TkLib/GetCursor.htm">Tk_GetCursor</A></B>.
143
+ <P><DT>Command-Line Name: <B><A NAME="M-disabledforeground">-disabledforeground</A></B>
144
+ <P><DT>Command-Line Name: <B><A NAME="M-disabledbackground">-disabledbackground</A></B>
145
+ <DT>Database Name: <B>disabledBackground</B>
146
+ <DT>Database Class: <B>DisabledBackground</B>
147
+ <DD>Specifies background color to use when drawing a disabled element.
148
+ If the option is specified as an empty string (which is typically the
149
+ case on monochrome displays), disabled elements are drawn with the
150
+ normal background color but they are dimmed by drawing them
151
+ with a stippled fill pattern.
152
+ <DT>Database Name: <B>disabledForeground</B>
153
+ <DT>Database Class: <B>DisabledForeground</B>
154
+ <DD>Specifies foreground color to use when drawing a disabled element.
155
+ If the option is specified as an empty string (which is typically the
156
+ case on monochrome displays), disabled elements are drawn with the
157
+ normal foreground color but they are dimmed by drawing them
158
+ with a stippled fill pattern.
159
+ <P><DT>Command-Line Name: <B><A NAME="M-exportselection">-exportselection</A></B>
160
+ <DT>Database Name: <B>exportSelection</B>
161
+ <DT>Database Class: <B>ExportSelection</B>
162
+ <DD>Specifies whether or not a selection in the widget should also be
163
+ the X selection.
164
+ The value may have any of the forms accepted by <B><A HREF="../TclLib/GetInt.htm">Tcl_GetBoolean</A></B>,
165
+ such as <B>true</B>, <B>false</B>, <B>0</B>, <B>1</B>, <B>yes</B>, or <B>no</B>.
166
+ If the selection is exported, then selecting in the widget deselects
167
+ the current X selection, selecting outside the widget deselects any
168
+ widget selection, and the widget will respond to selection retrieval
169
+ requests when it has a selection. The default is usually for widgets
170
+ to export selections.
171
+ <P><DT>Command-Line Name: <B><A NAME="M-font">-font</A></B>
172
+ <DT>Database Name: <B><A HREF="../TkCmd/font.htm">font</A></B>
173
+ <DT>Database Class: <B><A HREF="../TkCmd/font.htm">Font</A></B>
174
+ <DD>Specifies the font to use when drawing text inside the widget.
175
+ <P><DT>Command-Line Name: <B><A NAME="M-foreground">-foreground or -fg</A></B>
176
+ <DT>Database Name: <B>foreground</B>
177
+ <DT>Database Class: <B>Foreground</B>
178
+ <DD>Specifies the normal foreground color to use when displaying the widget.
179
+ <P><DT>Command-Line Name: <B><A NAME="M-highlightbackground">-highlightbackground</A></B>
180
+ <DT>Database Name: <B>highlightBackground</B>
181
+ <DT>Database Class: <B>HighlightBackground</B>
182
+ <DD>Specifies the color to display in the traversal highlight region when
183
+ the widget does not have the input focus.
184
+ <P><DT>Command-Line Name: <B><A NAME="M-highlightcolor">-highlightcolor</A></B>
185
+ <DT>Database Name: <B>highlightColor</B>
186
+ <DT>Database Class: <B>HighlightColor</B>
187
+ <DD>Specifies the color to use for the traversal highlight rectangle that is
188
+ drawn around the widget when it has the input focus.
189
+ <P><DT>Command-Line Name: <B><A NAME="M-highlightthickness">-highlightthickness</A></B>
190
+ <DT>Database Name: <B>highlightThickness</B>
191
+ <DT>Database Class: <B>HighlightThickness</B>
192
+ <DD>Specifies a non-negative value indicating the width of the highlight
193
+ rectangle to draw around the outside of the widget when it has the
194
+ input focus.
195
+ The value may have any of the forms acceptable to <B><A HREF="../TkLib/GetPixels.htm">Tk_GetPixels</A></B>.
196
+ If the value is zero, no focus highlight is drawn around the widget.
197
+ <P><DT>Command-Line Name: <B><A NAME="M-image">-image</A></B>
198
+ <DT>Database Name: <B>image</B>
199
+ <DT>Database Class: <B>Image</B>
200
+ <DD>Specifies an image to display in the widget, which must have been
201
+ created with the <B><A HREF="../TkCmd/image.htm">image create</A></B> command.
202
+ Typically, if the <B>image</B> option is specified then it overrides other
203
+ options that specify a bitmap or textual value to display in the widget;
204
+ the <B>image</B> option may be reset to an empty string to re-enable
205
+ a bitmap or text display.
206
+ <P><DT>Command-Line Name: <B><A NAME="M-insertbackground">-insertbackground</A></B>
207
+ <DT>Database Name: <B>insertBackground</B>
208
+ <DT>Database Class: <B>Foreground</B>
209
+ <DD>Specifies the color to use as background in the area covered by the
210
+ insertion cursor. This color will normally override either the normal
211
+ background for the widget (or the selection background if the insertion
212
+ cursor happens to fall in the selection).
213
+ <P><DT>Command-Line Name: <B><A NAME="M-insertborderwidth">-insertborderwidth</A></B>
214
+ <DT>Database Name: <B>insertBorderWidth</B>
215
+ <DT>Database Class: <B>BorderWidth</B>
216
+ <DD>Specifies a non-negative value indicating the width
217
+ of the 3-D border to draw around the insertion cursor.
218
+ The value may have any of the forms acceptable to <B><A HREF="../TkLib/GetPixels.htm">Tk_GetPixels</A></B>.
219
+ <P><DT>Command-Line Name: <B><A NAME="M-insertofftime">-insertofftime</A></B>
220
+ <DT>Database Name: <B>insertOffTime</B>
221
+ <DT>Database Class: <B>OffTime</B>
222
+ <DD>Specifies a non-negative integer value indicating the number of
223
+ milliseconds the insertion cursor should remain ``off'' in each blink cycle.
224
+ If this option is zero then the cursor doesn't blink: it is on
225
+ all the time.
226
+ <P><DT>Command-Line Name: <B><A NAME="M-insertontime">-insertontime</A></B>
227
+ <DT>Database Name: <B>insertOnTime</B>
228
+ <DT>Database Class: <B>OnTime</B>
229
+ <DD>Specifies a non-negative integer value indicating the number of
230
+ milliseconds the insertion cursor should remain ``on'' in each blink cycle.
231
+ <P><DT>Command-Line Name: <B><A NAME="M-insertwidth">-insertwidth</A></B>
232
+ <DT>Database Name: <B>insertWidth</B>
233
+ <DT>Database Class: <B>InsertWidth</B>
234
+ <DD>Specifies a value indicating the total width of the insertion cursor.
235
+ The value may have any of the forms acceptable to <B><A HREF="../TkLib/GetPixels.htm">Tk_GetPixels</A></B>.
236
+ If a border has been specified for the insertion
237
+ cursor (using the <B>insertBorderWidth</B> option), the border
238
+ will be drawn inside the width specified by the <B>insertWidth</B>
239
+ option.
240
+ <P><DT>Command-Line Name: <B><A NAME="M-jump">-jump</A></B>
241
+ <DT>Database Name: <B>jump</B>
242
+ <DT>Database Class: <B>Jump</B>
243
+ <DD>For widgets with a slider that can be dragged to adjust a value,
244
+ such as scrollbars, this option determines when
245
+ notifications are made about changes in the value.
246
+ The option's value must be a boolean of the form accepted by
247
+ <B><A HREF="../TclLib/GetInt.htm">Tcl_GetBoolean</A></B>.
248
+ If the value is false, updates are made continuously as the
249
+ slider is dragged.
250
+ If the value is true, updates are delayed until the mouse button
251
+ is released to end the drag; at that point a single notification
252
+ is made (the value ``jumps'' rather than changing smoothly).
253
+ <P><DT>Command-Line Name: <B><A NAME="M-justify">-justify</A></B>
254
+ <DT>Database Name: <B>justify</B>
255
+ <DT>Database Class: <B>Justify</B>
256
+ <DD>When there are multiple lines of text displayed in a widget, this
257
+ option determines how the lines line up with each other.
258
+ Must be one of <B>left</B>, <B>center</B>, or <B>right</B>.
259
+ <B>Left</B> means that the lines' left edges all line up, <B>center</B>
260
+ means that the lines' centers are aligned, and <B>right</B> means
261
+ that the lines' right edges line up.
262
+ <P><DT>Command-Line Name: <B><A NAME="M-orient">-orient</A></B>
263
+ <DT>Database Name: <B>orient</B>
264
+ <DT>Database Class: <B>Orient</B>
265
+ <DD>For widgets that can lay themselves out with either a horizontal
266
+ or vertical orientation, such as scrollbars, this option specifies
267
+ which orientation should be used. Must be either <B>horizontal</B>
268
+ or <B>vertical</B> or an abbreviation of one of these.
269
+ <P><DT>Command-Line Name: <B><A NAME="M-padx">-padx</A></B>
270
+ <DT>Database Name: <B>padX</B>
271
+ <DT>Database Class: <B>Pad</B>
272
+ <DD>Specifies a non-negative value indicating how much extra space
273
+ to request for the widget in the X-direction.
274
+ The value may have any of the forms acceptable to <B><A HREF="../TkLib/GetPixels.htm">Tk_GetPixels</A></B>.
275
+ When computing how large a window it needs, the widget will
276
+ add this amount to the width it would normally need (as determined
277
+ by the width of the things displayed in the widget); if the geometry
278
+ manager can satisfy this request, the widget will end up with extra
279
+ internal space to the left and/or right of what it displays inside.
280
+ Most widgets only use this option for padding text: if they are
281
+ displaying a bitmap or image, then they usually ignore padding
282
+ options.
283
+ <P><DT>Command-Line Name: <B><A NAME="M-pady">-pady</A></B>
284
+ <DT>Database Name: <B>padY</B>
285
+ <DT>Database Class: <B>Pad</B>
286
+ <DD>Specifies a non-negative value indicating how much extra space
287
+ to request for the widget in the Y-direction.
288
+ The value may have any of the forms acceptable to <B><A HREF="../TkLib/GetPixels.htm">Tk_GetPixels</A></B>.
289
+ When computing how large a window it needs, the widget will add
290
+ this amount to the height it would normally need (as determined by
291
+ the height of the things displayed in the widget); if the geometry
292
+ manager can satisfy this request, the widget will end up with extra
293
+ internal space above and/or below what it displays inside.
294
+ Most widgets only use this option for padding text: if they are
295
+ displaying a bitmap or image, then they usually ignore padding
296
+ options.
297
+ <P><DT>Command-Line Name: <B><A NAME="M-relief">-relief</A></B>
298
+ <DT>Database Name: <B>relief</B>
299
+ <DT>Database Class: <B>Relief</B>
300
+ <DD>Specifies the 3-D effect desired for the widget. Acceptable
301
+ values are <B>raised</B>, <B>sunken</B>, <B>flat</B>, <B>ridge</B>,
302
+ <B>solid</B>, and <B>groove</B>.
303
+ The value
304
+ indicates how the interior of the widget should appear relative
305
+ to its exterior; for example, <B>raised</B> means the interior of
306
+ the widget should appear to protrude from the screen, relative to
307
+ the exterior of the widget.
308
+ <P><DT>Command-Line Name: <B><A NAME="M-repeatdelay">-repeatdelay</A></B>
309
+ <DT>Database Name: <B>repeatDelay</B>
310
+ <DT>Database Class: <B>RepeatDelay</B>
311
+ <DD>Specifies the number of milliseconds a button or key must be held
312
+ down before it begins to auto-repeat. Used, for example, on the
313
+ up- and down-arrows in scrollbars.
314
+ <P><DT>Command-Line Name: <B><A NAME="M-repeatinterval">-repeatinterval</A></B>
315
+ <DT>Database Name: <B>repeatInterval</B>
316
+ <DT>Database Class: <B>RepeatInterval</B>
317
+ <DD>Used in conjunction with <B>repeatDelay</B>: once auto-repeat
318
+ begins, this option determines the number of milliseconds between
319
+ auto-repeats.
320
+ <P><DT>Command-Line Name: <B><A NAME="M-selectbackground">-selectbackground</A></B>
321
+ <DT>Database Name: <B>selectBackground</B>
322
+ <DT>Database Class: <B>Foreground</B>
323
+ <DD>Specifies the background color to use when displaying selected
324
+ items.
325
+ <P><DT>Command-Line Name: <B><A NAME="M-selectborderwidth">-selectborderwidth</A></B>
326
+ <DT>Database Name: <B>selectBorderWidth</B>
327
+ <DT>Database Class: <B>BorderWidth</B>
328
+ <DD>Specifies a non-negative value indicating the width
329
+ of the 3-D border to draw around selected items.
330
+ The value may have any of the forms acceptable to <B><A HREF="../TkLib/GetPixels.htm">Tk_GetPixels</A></B>.
331
+ <P><DT>Command-Line Name: <B><A NAME="M-selectforeground">-selectforeground</A></B>
332
+ <DT>Database Name: <B>selectForeground</B>
333
+ <DT>Database Class: <B>Background</B>
334
+ <DD>Specifies the foreground color to use when displaying selected
335
+ items.
336
+ <P><DT>Command-Line Name: <B><A NAME="M-setgrid">-setgrid</A></B>
337
+ <DT>Database Name: <B>setGrid</B>
338
+ <DT>Database Class: <B>SetGrid</B>
339
+ <DD>Specifies a boolean value that determines whether this widget controls the
340
+ resizing grid for its top-level window.
341
+ This option is typically used in text widgets, where the information
342
+ in the widget has a natural size (the size of a character) and it makes
343
+ sense for the window's dimensions to be integral numbers of these units.
344
+ These natural window sizes form a grid.
345
+ If the <B>setGrid</B> option is set to true then the widget will
346
+ communicate with the window manager so that when the user interactively
347
+ resizes the top-level window that contains the widget, the dimensions of
348
+ the window will be displayed to the user in grid units and the window
349
+ size will be constrained to integral numbers of grid units.
350
+ See the section GRIDDED GEOMETRY MANAGEMENT in the <B><A HREF="../TkCmd/wm.htm">wm</A></B> manual
351
+ entry for more details.
352
+ <P><DT>Command-Line Name: <B><A NAME="M-takefocus">-takefocus</A></B>
353
+ <DT>Database Name: <B>takeFocus</B>
354
+ <DT>Database Class: <B>TakeFocus</B>
355
+ <DD>Determines whether the window accepts the focus during keyboard
356
+ traversal (e.g., Tab and Shift-Tab).
357
+ Before setting the focus to a window, the traversal scripts
358
+ consult the value of the <B>takeFocus</B> option.
359
+ A value of <B>0</B> means that the window should be skipped entirely
360
+ during keyboard traversal.
361
+ <B>1</B> means that the window should receive the input
362
+ focus as long as it is viewable (it and all of its ancestors are mapped).
363
+ An empty value for the option means that the traversal scripts make
364
+ the decision about whether or not to focus on the window: the current
365
+ algorithm is to skip the window if it is
366
+ disabled, if it has no key bindings, or if it is not viewable.
367
+ If the value has any other form, then the traversal scripts take
368
+ the value, append the name of the window to it (with a separator space),
369
+ and evaluate the resulting string as a Tcl script.
370
+ The script must return <B>0</B>, <B>1</B>, or an empty string: a
371
+ <B>0</B> or <B>1</B> value specifies whether the window will receive
372
+ the input focus, and an empty string results in the default decision
373
+ described above.
374
+ Note: this interpretation of the option is defined entirely by
375
+ the Tcl scripts that implement traversal: the widget implementations
376
+ ignore the option entirely, so you can change its meaning if you
377
+ redefine the keyboard traversal scripts.
378
+ <P><DT>Command-Line Name: <B><A NAME="M-text">-text</A></B>
379
+ <DT>Database Name: <B><A HREF="../TkCmd/text.htm">text</A></B>
380
+ <DT>Database Class: <B><A HREF="../TkCmd/text.htm">Text</A></B>
381
+ <DD>Specifies a string to be displayed inside the widget. The way in which
382
+ the string is displayed depends on the particular widget and may be
383
+ determined by other options, such as <B>anchor</B> or <B>justify</B>.
384
+ <P><DT>Command-Line Name: <B><A NAME="M-textvariable">-textvariable</A></B>
385
+ <DT>Database Name: <B>textVariable</B>
386
+ <DT>Database Class: <B><A HREF="../TclCmd/variable.htm">Variable</A></B>
387
+ <DD>Specifies the name of a variable. The value of the variable is a text
388
+ string to be displayed inside the widget; if the variable value changes
389
+ then the widget will automatically update itself to reflect the new value.
390
+ The way in which the string is displayed in the widget depends on the
391
+ particular widget and may be determined by other options, such as
392
+ <B>anchor</B> or <B>justify</B>.
393
+ <P><DT>Command-Line Name: <B><A NAME="M-troughcolor">-troughcolor</A></B>
394
+ <DT>Database Name: <B>troughColor</B>
395
+ <DT>Database Class: <B>Background</B>
396
+ <DD>Specifies the color to use for the rectangular trough areas
397
+ in widgets such as scrollbars and scales.
398
+ <P><DT>Command-Line Name: <B><A NAME="M-underline">-underline</A></B>
399
+ <DT>Database Name: <B>underline</B>
400
+ <DT>Database Class: <B>Underline</B>
401
+ <DD>Specifies the integer index of a character to underline in the widget.
402
+ This option is used by the default bindings to implement keyboard
403
+ traversal for menu buttons and menu entries.
404
+ 0 corresponds to the first character of the text displayed in the
405
+ widget, 1 to the next character, and so on.
406
+ <P><DT>Command-Line Name: <B><A NAME="M-wraplength">-wraplength</A></B>
407
+ <DT>Database Name: <B>wrapLength</B>
408
+ <DT>Database Class: <B>WrapLength</B>
409
+ <DD>For widgets that can perform word-wrapping, this option specifies
410
+ the maximum line length.
411
+ Lines that would exceed this length are wrapped onto the next line,
412
+ so that no line is longer than the specified length.
413
+ The value may be specified in any of the standard forms for
414
+ screen distances.
415
+ If this value is less than or equal to 0 then no wrapping is done: lines
416
+ will break only at newline characters in the text.
417
+ <P><DT>Command-Line Name: <B><A NAME="M-xscrollcommand">-xscrollcommand</A></B>
418
+ <DT>Database Name: <B>xScrollCommand</B>
419
+ <DT>Database Class: <B>ScrollCommand</B>
420
+ <DD>Specifies the prefix for a command used to communicate with horizontal
421
+ scrollbars.
422
+ When the view in the widget's window changes (or
423
+ whenever anything else occurs that could change the display in a
424
+ scrollbar, such as a change in the total size of the widget's
425
+ contents), the widget will
426
+ generate a Tcl command by concatenating the scroll command and
427
+ two numbers.
428
+ Each of the numbers is a fraction between 0 and 1, which indicates
429
+ a position in the document. 0 indicates the beginning of the document,
430
+ 1 indicates the end, .333 indicates a position one third the way through
431
+ the document, and so on.
432
+ The first fraction indicates the first information in the document
433
+ that is visible in the window, and the second fraction indicates
434
+ the information just after the last portion that is visible.
435
+ The command is
436
+ then passed to the Tcl interpreter for execution. Typically the
437
+ <B>xScrollCommand</B> option consists of the path name of a scrollbar
438
+ widget followed by ``set'', e.g. ``.x.scrollbar set'': this will cause
439
+ the scrollbar to be updated whenever the view in the window changes.
440
+ If this option is not specified, then no command will be executed.
441
+ <P><DT>Command-Line Name: <B><A NAME="M-yscrollcommand">-yscrollcommand</A></B>
442
+ <DT>Database Name: <B>yScrollCommand</B>
443
+ <DT>Database Class: <B>ScrollCommand</B>
444
+ <DD>Specifies the prefix for a command used to communicate with vertical
445
+ scrollbars. This option is treated in the same way as the
446
+ <B>xScrollCommand</B> option, except that it is used for vertical
447
+ scrollbars and is provided by widgets that support vertical scrolling.
448
+ See the description of <B>xScrollCommand</B> for details
449
+ on how this option is used.
450
+
451
+ </DL>
452
+ <H3><A NAME="M4">KEYWORDS</A></H3>
453
+ <A href="../Keywords/C.htm#class">class</A>, <A href="../Keywords/N.htm#name">name</A>, <A href="../Keywords/S.htm#standard option">standard option</A>, <A href="../Keywords/S.htm#switch">switch</A>
454
+ <HR><PRE>
455
+ <A HREF="../copyright.htm">Copyright</A> &#169; 1990-1994 The Regents of the University of California.
456
+ <A HREF="../copyright.htm">Copyright</A> &#169; 1994-1996 Sun Microsystems, Inc.
457
+ <A HREF="../copyright.htm">Copyright</A> &#169; 1995-1997 Roger E. Critchlow Jr.</PRE>
458
+ </BODY></HTML>