Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Document all variable options as global. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
212866a0fc8a3114bc43495c80710d64 |
User & Date: | pspjuth 2011-04-21 21:23:36 |
Context
2011-04-21
| ||
23:03 | merge-mark check-in: 1dcdcb18 user: jan tags: trunk | |
21:23 | Document all variable options as global. check-in: 212866a0 user: pspjuth tags: trunk | |
21:18 | Document all variable options as global. check-in: 826dd8fd user: pspjuth tags: core-8-5-branch | |
00:22 |
Synchronize rules.vc with the version in the tcl source tree.
Signed-off-by: Pat Thoyts <[email protected]> check-in: 66b19d9c user: patthoyts tags: trunk | |
Changes
Changes to ChangeLog.
1 2 3 4 5 6 7 | 2011-04-06 Jan Nijtmans <[email protected]> * unix/tkAppInit.c: Make symbols "main" and "Tcl_AppInit" MODULE_SCOPE: there is absolutely no reason for exporting them. * unix/tcl.m4: Don't use -fvisibility=hidden with static * unix/configure libraries (--disable-shared) | > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 2011-04-21 Peter Spjuth <[email protected]> * doc/checkbutton.n: Document all variable options as global. * doc/radiobutton.n: * doc/listbox.n: * doc/menu.n: * doc/options.n: * doc/ttk_combobox.n: * doc/ttk_entry.n: * doc/ttk_progressbar.n: * doc/ttk_widget.n: 2011-04-06 Jan Nijtmans <[email protected]> * unix/tkAppInit.c: Make symbols "main" and "Tcl_AppInit" MODULE_SCOPE: there is absolutely no reason for exporting them. * unix/tcl.m4: Don't use -fvisibility=hidden with static * unix/configure libraries (--disable-shared) |
︙ | ︙ |
Changes to doc/checkbutton.n.
︙ | ︙ | |||
102 103 104 105 106 107 108 | This option is ignored unless the \fBimage\fR option has been specified. .OP \-tristatevalue tristateValue Value Specifies the value that causes the checkbutton to display the multi-value selection, also known as the tri-state mode. Defaults to .QW "" . .OP \-variable variable Variable | | | 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | This option is ignored unless the \fBimage\fR option has been specified. .OP \-tristatevalue tristateValue Value Specifies the value that causes the checkbutton to display the multi-value selection, also known as the tri-state mode. Defaults to .QW "" . .OP \-variable variable Variable Specifies the name of a global variable to set to indicate whether or not this button is selected. Defaults to the name of the button within its parent (i.e. the last element of the button window's path name). .OP \-width width Width Specifies a desired width for the button. If an image or bitmap is being displayed in the button then the value is in screen units (i.e. any of the forms acceptable to \fBTk_GetPixels\fR); |
︙ | ︙ |
Changes to doc/listbox.n.
︙ | ︙ | |||
31 32 33 34 35 36 37 | \fBunderline\fR (underline the active element). The default is \fBunderline\fR on Windows, and \fBdotbox\fR elsewhere. .OP \-height height Height Specifies the desired height for the window, in lines. If zero or less, then the desired height for the window is made just large enough to hold all the elements in the listbox. .OP \-listvariable listVariable Variable | | | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | \fBunderline\fR (underline the active element). The default is \fBunderline\fR on Windows, and \fBdotbox\fR elsewhere. .OP \-height height Height Specifies the desired height for the window, in lines. If zero or less, then the desired height for the window is made just large enough to hold all the elements in the listbox. .OP \-listvariable listVariable Variable Specifies the name of a global variable. The value of the variable is a list to be displayed inside the widget; if the variable value changes then the widget will automatically update itself to reflect the new value. Attempts to assign a variable with an invalid list value to \fB\-listvariable\fR will cause an error. Attempts to unset a variable in use as a \fB\-listvariable\fR will fail but will not generate an error. .OP \-selectmode selectMode SelectMode Specifies one of several styles for manipulating the selection. |
︙ | ︙ |
Changes to doc/menu.n.
︙ | ︙ | |||
693 694 695 696 697 698 699 | store in the entry's associated variable when the entry is selected. If an empty string is specified, then the \fB\-label\fR option for the entry as the value to store in the variable. .TP \fB\-variable \fIvalue\fR . Available only for checkbutton and radiobutton entries. Specifies | | | 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 | store in the entry's associated variable when the entry is selected. If an empty string is specified, then the \fB\-label\fR option for the entry as the value to store in the variable. .TP \fB\-variable \fIvalue\fR . Available only for checkbutton and radiobutton entries. Specifies the name of a global variable to set when the entry is selected. For checkbutton entries the variable is also set when the entry is deselected. For radiobutton entries, changing the variable causes the currently-selected entry to deselect itself. .RS .PP For checkbutton entries, the default value of this option is taken from the \fB\-label\fR option, and for radiobutton entries a single fixed value is |
︙ | ︙ |
Changes to doc/options.n.
︙ | ︙ | |||
289 290 291 292 293 294 295 | ignore the option entirely, so you can change its meaning if you redefine the keyboard traversal scripts. .OP \-text text Text Specifies a string to be displayed inside the widget. The way in which the string is displayed depends on the particular widget and may be determined by other options, such as \fBanchor\fR or \fBjustify\fR. .OP \-textvariable textVariable Variable | | | 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 | ignore the option entirely, so you can change its meaning if you redefine the keyboard traversal scripts. .OP \-text text Text Specifies a string to be displayed inside the widget. The way in which the string is displayed depends on the particular widget and may be determined by other options, such as \fBanchor\fR or \fBjustify\fR. .OP \-textvariable textVariable Variable Specifies the name of a global variable. The value of the variable is a text string to be displayed inside the widget; if the variable value changes then the widget will automatically update itself to reflect the new value. The way in which the string is displayed in the widget depends on the particular widget and may be determined by other options, such as \fBanchor\fR or \fBjustify\fR. .OP \-troughcolor troughColor Background Specifies the color to use for the rectangular trough areas |
︙ | ︙ |
Changes to doc/radiobutton.n.
︙ | ︙ | |||
98 99 100 101 102 103 104 | Specifies the value that causes the radiobutton to display the multi-value selection, also known as the tri-state mode. Defaults to .QW "" . .OP \-value value Value Specifies value to store in the button's associated variable whenever this button is selected. .OP \-variable variable Variable | | | 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | Specifies the value that causes the radiobutton to display the multi-value selection, also known as the tri-state mode. Defaults to .QW "" . .OP \-value value Value Specifies value to store in the button's associated variable whenever this button is selected. .OP \-variable variable Variable Specifies the name of a global variable to set whenever this button is selected. Changes in this variable also cause the button to select or deselect itself. Defaults to the value \fBselectedButton\fR. .OP \-width width Width Specifies a desired width for the button. If an image or bitmap is being displayed in the button, the value is in screen units (i.e. any of the forms acceptable to \fBTk_GetPixels\fR); |
︙ | ︙ |
Changes to doc/ttk_combobox.n.
︙ | ︙ | |||
42 43 44 45 46 47 48 | the value may not be edited directly, and the user can only select one of the \fB\-values\fR from the dropdown list. In the \fBnormal\fR state, the text field is directly editable. In the \fBdisabled\fR state, no interaction is possible. .OP \-textvariable textVariable TextVariable | | | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | the value may not be edited directly, and the user can only select one of the \fB\-values\fR from the dropdown list. In the \fBnormal\fR state, the text field is directly editable. In the \fBdisabled\fR state, no interaction is possible. .OP \-textvariable textVariable TextVariable Specifies the name of a global variable whose value is linked to the widget value. Whenever the variable changes value the widget value is updated, and vice versa. .OP \-values values Values Specifies the list of values to display in the drop-down listbox. .OP \-width width Width Specifies an integer value indicating the desired width of the entry window, |
︙ | ︙ |
Changes to doc/ttk_entry.n.
︙ | ︙ | |||
64 65 66 67 68 69 70 | of the entry. .OP \-state state State Compatibility option; see \fIttk::widget(n)\fR for details. Specifies one of three states for the entry, \fBnormal\fR, \fBdisabled\fR, or \fBreadonly\fR. See \fBWIDGET STATES\fR, below. .OP \-textvariable textVariable Variable | | | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | of the entry. .OP \-state state State Compatibility option; see \fIttk::widget(n)\fR for details. Specifies one of three states for the entry, \fBnormal\fR, \fBdisabled\fR, or \fBreadonly\fR. See \fBWIDGET STATES\fR, below. .OP \-textvariable textVariable Variable Specifies the name of a global variable whose value is linked to the entry widget's contents. Whenever the variable changes value, the widget's contents are updated, and vice versa. .OP \-validate validate Validate Specifies the mode in which validation should operate: \fBnone\fR, \fBfocus\fR, \fBfocusin\fR, \fBfocusout\fR, \fBkey\fR, or \fBall\fR. Default is \fBnone\fR, meaning that validation is disabled. |
︙ | ︙ |
Changes to doc/ttk_progressbar.n.
︙ | ︙ | |||
41 42 43 44 45 46 47 | The current value of the progress bar. In \fIdeterminate\fR mode, this represents the amount of work completed. In \fIindeterminate\fR mode, it is interpreted modulo \fB\-maximum\fR; that is, the progress bar completes one .QW cycle when the \fB\-value\fR increases by \fB\-maximum\fR. .OP \-variable variable Variable | | | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | The current value of the progress bar. In \fIdeterminate\fR mode, this represents the amount of work completed. In \fIindeterminate\fR mode, it is interpreted modulo \fB\-maximum\fR; that is, the progress bar completes one .QW cycle when the \fB\-value\fR increases by \fB\-maximum\fR. .OP \-variable variable Variable The name of a global Tcl variable which is linked to the \fB\-value\fR. If specified, the \fB\-value\fR of the progress bar is automatically set to the value of the variable whenever the latter is modified. .OP \-phase phase Phase Read-only option. The widget periodically increments the value of this option whenever the \fB\-value\fR is greater than 0 and, |
︙ | ︙ |
Changes to doc/ttk_widget.n.
︙ | ︙ | |||
73 74 75 76 77 78 79 | .SH "LABEL OPTIONS" The following options are supported by labels, buttons, and other button-like widgets: .OP \-text text Text Specifies a text string to be displayed inside the widget (unless overridden by \fB\-textvariable\fR). .OP \-textvariable textVariable Variable | | | 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | .SH "LABEL OPTIONS" The following options are supported by labels, buttons, and other button-like widgets: .OP \-text text Text Specifies a text string to be displayed inside the widget (unless overridden by \fB\-textvariable\fR). .OP \-textvariable textVariable Variable Specifies the name of a global variable whose value will be used in place of the \fB\-text\fR resource. .OP \-underline underline Underline If set, specifies the integer index (0-based) of a character to underline in the text string. The underlined character is used for mnemonic activation. .OP \-image image Image Specifies an image to display. |
︙ | ︙ |