diff options
author | peter.spjuth@gmail.com <pspjuth> | 2011-04-21 21:23:36 (GMT) |
---|---|---|
committer | peter.spjuth@gmail.com <pspjuth> | 2011-04-21 21:23:36 (GMT) |
commit | 24a5e4f594aac7d125f6cbabd6a51ab6aa49ba03 (patch) | |
tree | 83169cdf3c3bcdef41433b301ff89aa597d202b4 /doc | |
parent | c2a7b5a7731edeb2bb0f7ece9121003c0819ff55 (diff) | |
parent | b4057cb8325c60ef3211e1f29dd39b1ca08e886c (diff) | |
download | tk-24a5e4f594aac7d125f6cbabd6a51ab6aa49ba03.zip tk-24a5e4f594aac7d125f6cbabd6a51ab6aa49ba03.tar.gz tk-24a5e4f594aac7d125f6cbabd6a51ab6aa49ba03.tar.bz2 |
Document all variable options as global.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/checkbutton.n | 2 | ||||
-rw-r--r-- | doc/listbox.n | 2 | ||||
-rw-r--r-- | doc/menu.n | 2 | ||||
-rw-r--r-- | doc/options.n | 2 | ||||
-rw-r--r-- | doc/radiobutton.n | 2 | ||||
-rw-r--r-- | doc/ttk_combobox.n | 2 | ||||
-rw-r--r-- | doc/ttk_entry.n | 2 | ||||
-rw-r--r-- | doc/ttk_progressbar.n | 2 | ||||
-rw-r--r-- | doc/ttk_widget.n | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/doc/checkbutton.n b/doc/checkbutton.n index cd0489b..d39d466 100644 --- a/doc/checkbutton.n +++ b/doc/checkbutton.n @@ -106,7 +106,7 @@ 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 name of global variable to set to indicate whether +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). diff --git a/doc/listbox.n b/doc/listbox.n index 88c6428..ae6f828 100644 --- a/doc/listbox.n +++ b/doc/listbox.n @@ -35,7 +35,7 @@ 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 variable. The value of the variable is a list to +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 @@ -697,7 +697,7 @@ for the entry as the value to store in the variable. \fB\-variable \fIvalue\fR . Available only for checkbutton and radiobutton entries. Specifies -the name of a global value to set when the entry is selected. +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. diff --git a/doc/options.n b/doc/options.n index 6bef742..ef3ba8c 100644 --- a/doc/options.n +++ b/doc/options.n @@ -293,7 +293,7 @@ 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 variable. The value of the variable is a text +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 diff --git a/doc/radiobutton.n b/doc/radiobutton.n index c9a0f02..6a7bb05 100644 --- a/doc/radiobutton.n +++ b/doc/radiobutton.n @@ -102,7 +102,7 @@ selection, also known as the tri-state mode. Defaults to Specifies value to store in the button's associated variable whenever this button is selected. .OP \-variable variable Variable -Specifies name of global variable to set whenever this button is +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. diff --git a/doc/ttk_combobox.n b/doc/ttk_combobox.n index 84a83d0..37a5d64 100644 --- a/doc/ttk_combobox.n +++ b/doc/ttk_combobox.n @@ -46,7 +46,7 @@ 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 variable whose value is linked +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. diff --git a/doc/ttk_entry.n b/doc/ttk_entry.n index 5533e76..f8cdf2b 100644 --- a/doc/ttk_entry.n +++ b/doc/ttk_entry.n @@ -68,7 +68,7 @@ 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 variable whose value is linked +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. diff --git a/doc/ttk_progressbar.n b/doc/ttk_progressbar.n index 1d6418e..bd3208b 100644 --- a/doc/ttk_progressbar.n +++ b/doc/ttk_progressbar.n @@ -45,7 +45,7 @@ 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 Tcl variable which is linked to the \fB\-value\fR. +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. diff --git a/doc/ttk_widget.n b/doc/ttk_widget.n index cfdfb99..0bdf2bf 100644 --- a/doc/ttk_widget.n +++ b/doc/ttk_widget.n @@ -77,7 +77,7 @@ and other button-like widgets: Specifies a text string to be displayed inside the widget (unless overridden by \fB\-textvariable\fR). .OP \-textvariable textVariable Variable -Specifies the name of variable whose value will be used +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 |