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 | core-8-5-branch |
Files: | files | file ages | folders |
SHA1: |
826dd8fde70e2aed15224dc812da23eb |
User & Date: | pspjuth 2011-04-21 21:18:33 |
Context
2011-04-21
| ||
22:56 | eliminate unneeded variable displayFocusPtr check-in: 659cc90e user: jan tags: core-8-5-branch | |
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 | |
21:01 | Document all variable options as global. check-in: 6242f06c user: pspjuth tags: core-8-4-branch | |
00:17 |
Synchronize rules.vc with the version in the tcl source tree.
Signed-off-by: Pat Thoyts <[email protected]> check-in: cf3a5e70 user: patthoyts tags: core-8-5-branch | |
Changes
Changes to ChangeLog.
1 2 3 4 5 6 7 | 2011-04-04 Peter Spjuth <[email protected]> * tests/grid.test: * generic/tkGrid.c: [Bug 723765]: When a slave was removed from grid, the -in option was not remembered. 2011-04-04 Peter Spjuth <[email protected]> | > > > > > > > > > > > > | 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-04 Peter Spjuth <[email protected]> * tests/grid.test: * generic/tkGrid.c: [Bug 723765]: When a slave was removed from grid, the -in option was not remembered. 2011-04-04 Peter Spjuth <[email protected]> |
︙ | ︙ |
Changes to doc/checkbutton.n.
︙ | ︙ | |||
106 107 108 109 110 111 112 | .OP \-tristatevalue tristateValue Value .VS 8.5 Specifies the value that causes the checkbutton to display the multi-value selection, also known as the tri-state mode. Defaults to .QW "" . .VE 8.5 .OP \-variable variable Variable | | | 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | .OP \-tristatevalue tristateValue Value .VS 8.5 Specifies the value that causes the checkbutton to display the multi-value selection, also known as the tri-state mode. Defaults to .QW "" . .VE 8.5 .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.
︙ | ︙ | |||
508 509 510 511 512 513 514 | Available only for radiobutton entries. Specifies the value to 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 | | | 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 | Available only for radiobutton entries. Specifies the value to 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. .LP The \fBadd\fR widget command returns an empty string. .RE .TP |
︙ | ︙ |
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.
︙ | ︙ | |||
102 103 104 105 106 107 108 | selection, also known as the tri-state mode. Defaults to .QW "" . .VE 8.5 .OP \-value value Value Specifies value to store in the button's associated variable whenever this button is selected. .OP \-variable variable Variable | | | 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | selection, also known as the tri-state mode. Defaults to .QW "" . .VE 8.5 .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. |
︙ | ︙ |