diff options
author | fvogel <fvogelnew1@free.fr> | 2018-01-07 14:41:53 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2018-01-07 14:41:53 (GMT) |
commit | c159af0b9212afc819c8e0fadecbb086082df4a0 (patch) | |
tree | ae25219b470e643ad1d804bd431ae87cee24de77 /doc | |
parent | 3e1268bc681c4b58fcad3bde0a0dc792a259999b (diff) | |
parent | b2f1e6c5e2bf232b108da7d3aabad9c2f6d7c914 (diff) | |
download | tk-c159af0b9212afc819c8e0fadecbb086082df4a0.zip tk-c159af0b9212afc819c8e0fadecbb086082df4a0.tar.gz tk-c159af0b9212afc819c8e0fadecbb086082df4a0.tar.bz2 |
Fix [84af709826]: ttk::treeview does not support -state standard option
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ttk_button.n | 14 | ||||
-rw-r--r-- | doc/ttk_label.n | 2 | ||||
-rw-r--r-- | doc/ttk_progressbar.n | 24 | ||||
-rw-r--r-- | doc/ttk_separator.n | 3 | ||||
-rw-r--r-- | doc/ttk_sizegrip.n | 2 | ||||
-rw-r--r-- | doc/ttk_spinbox.n | 24 | ||||
-rw-r--r-- | doc/ttk_widget.n | 3 |
7 files changed, 31 insertions, 41 deletions
diff --git a/doc/ttk_button.n b/doc/ttk_button.n index b84ca48..5f3e486 100644 --- a/doc/ttk_button.n +++ b/doc/ttk_button.n @@ -39,13 +39,6 @@ The default is \fBnormal\fR. Depending on the theme, the default button may be displayed with an extra highlight ring, or with a different border color. .RE -.OP \-width width Width -If greater than zero, specifies how much space, in character widths, -to allocate for the text label. -If less than zero, specifies a minimum width. -If zero or unspecified, the natural width of the text label is used. -Note that some themes may specify a non-zero \fB\-width\fR -in the style. .\" Not documented -- may go away .\" .OP \-padding padding Padding .\" .OP \-foreground foreground Foreground @@ -64,13 +57,6 @@ Invokes the command associated with the button. .PP \fBTtk::button\fR widgets support the \fBToolbutton\fR style in all standard themes, which is useful for creating widgets for toolbars. -.SH "COMPATIBILITY OPTIONS" -.OP \-state state State -May be set to \fBnormal\fR or \fBdisabled\fR to control the -\fBdisabled\fR state bit. This is a -.QW write-only -option: setting it changes the widget state, but the \fBstate\fR -widget command does not affect the state option. .SH "SEE ALSO" ttk::widget(n), button(n) .SH "KEYWORDS" diff --git a/doc/ttk_label.n b/doc/ttk_label.n index 9c28d7c..c19641e 100644 --- a/doc/ttk_label.n +++ b/doc/ttk_label.n @@ -19,7 +19,7 @@ The label may be linked to a Tcl variable to automatically change the displayed text. .SO ttk_widget \-class \-compound \-cursor -\-image \-padding \-style \-takefocus +\-image \-padding \-state \-style \-takefocus \-text \-textvariable \-underline \-width .SE diff --git a/doc/ttk_progressbar.n b/doc/ttk_progressbar.n index 1945f70..96977a2 100644 --- a/doc/ttk_progressbar.n +++ b/doc/ttk_progressbar.n @@ -24,17 +24,24 @@ that something is happening. \-style .SE .SH "WIDGET-SPECIFIC OPTIONS" -.OP \-orient orient Orient -One of \fBhorizontal\fR or \fBvertical\fR. -Specifies the orientation of the progress bar. .OP \-length length Length Specifies the length of the long axis of the progress bar (width if horizontal, height if vertical). -.OP \-mode mode Mode -One of \fBdeterminate\fR or \fBindeterminate\fR. .OP \-maximum maximum Maximum A floating point number specifying the maximum \fB\-value\fR. Defaults to 100. +.OP \-mode mode Mode +One of \fBdeterminate\fR or \fBindeterminate\fR. +.OP \-orient orient Orient +One of \fBhorizontal\fR or \fBvertical\fR. +Specifies the orientation of the progress bar. +.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, +in \fIdeterminate\fR mode, less than \fB\-maximum\fR. +This option may be used by the current theme +to provide additional animation effects. .OP \-value value Value The current value of the progress bar. In \fIdeterminate\fR mode, this represents the amount of work completed. @@ -47,13 +54,6 @@ 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, -in \fIdeterminate\fR mode, less than \fB\-maximum\fR. -This option may be used by the current theme -to provide additional animation effects. .SH "WIDGET COMMAND" .PP .TP diff --git a/doc/ttk_separator.n b/doc/ttk_separator.n index fea2701..e1821b6 100644 --- a/doc/ttk_separator.n +++ b/doc/ttk_separator.n @@ -17,7 +17,7 @@ ttk::separator \- Separator bar A \fBttk::separator\fR widget displays a horizontal or vertical separator bar. .SO ttk_widget -\-class \-cursor \-state +\-class \-cursor \-style \-takefocus .SE .SH "WIDGET-SPECIFIC OPTIONS" @@ -29,6 +29,7 @@ Specifies the orientation of the separator. Separator widgets support the standard \fBcget\fR, \fBconfigure\fR, \fBidentify\fR, \fBinstate\fR, and \fBstate\fR methods. No other widget methods are used. +.PP .SH "SEE ALSO" ttk::widget(n) .SH "KEYWORDS" diff --git a/doc/ttk_sizegrip.n b/doc/ttk_sizegrip.n index 8b3429e..1c75eb8 100644 --- a/doc/ttk_sizegrip.n +++ b/doc/ttk_sizegrip.n @@ -18,7 +18,7 @@ A \fBttk::sizegrip\fR widget (also known as a \fIgrow box\fR) allows the user to resize the containing toplevel window by pressing and dragging the grip. .SO ttk_widget -\-class \-cursor \-state +\-class \-cursor \-style \-takefocus .SE .SH "WIDGET COMMAND" diff --git a/doc/ttk_spinbox.n b/doc/ttk_spinbox.n index 7ae586f..bf5968c 100644 --- a/doc/ttk_spinbox.n +++ b/doc/ttk_spinbox.n @@ -21,13 +21,24 @@ of the \fBttk::entry\fR widget including support of the \fB\-textvariable\fR option to link the value displayed by the widget to a Tcl variable. .SO ttk_widget -\-class \-cursor \-style +\-class \-cursor \-state \-style \-takefocus \-xscrollcommand .SE .SO ttk_entry \-validate \-validatecommand .SE .SH "WIDGET-SPECIFIC OPTIONS" +.OP \-command command Command +Specifies a Tcl command to be invoked whenever a spinbutton is invoked. +.OP \-increment increment Increment +A floating\-point value specifying the change in value to be applied each +time one of the widget spin buttons is pressed. The up button applies a +positive increment, the down button applies a negative increment. +.OP \-format format Format +Specifies an alternate format to use when setting the string value +when using the \fB\-from\fR and \fB\-to\fR range. +This must be a format specifier of the form \fB%<pad>.<pad>f\fR, +as it will format a floating-point number. .OP \-from from From A floating\-point value specifying the lowest value for the spinbox. This is used in conjunction with \fB\-to\fR and \fB\-increment\fR to set a numerical @@ -36,10 +47,6 @@ range. A floating\-point value specifying the highest permissible value for the widget. See also \fB\-from\fR and \fB\-increment\fR. range. -.OP \-increment increment Increment -A floating\-point value specifying the change in value to be applied each -time one of the widget spin buttons is pressed. The up button applies a -positive increment, the down button applies a negative increment. .OP \-values values Values This must be a Tcl list of values. If this option is set then this will override any range set using the \fB\-from\fR, \fB\-to\fR and @@ -48,13 +55,6 @@ specified beginning with the first value. .OP \-wrap wrap Wrap Must be a proper boolean value. If on, the spinbox will wrap around the values of data in the widget. -.OP \-format format Format -Specifies an alternate format to use when setting the string value -when using the \fB\-from\fR and \fB\-to\fR range. -This must be a format specifier of the form \fB%<pad>.<pad>f\fR, -as it will format a floating-point number. -.OP \-command command Command -Specifies a Tcl command to be invoked whenever a spinbutton is invoked. .SH "INDICES" .PP See the \fBttk::entry\fR manual for information about indexing characters. diff --git a/doc/ttk_widget.n b/doc/ttk_widget.n index d362bba..ad90e99 100644 --- a/doc/ttk_widget.n +++ b/doc/ttk_widget.n @@ -125,6 +125,9 @@ to allocate for the text label. If less than zero, specifies a minimum width. If zero or unspecified, the natural width of the text label is used. .SH "COMPATIBILITY OPTIONS" +This option is only available for themed widgets that have +.QW corresponding +traditional Tk widgets. .OP \-state state State May be set to \fBnormal\fR or \fBdisabled\fR to control the \fBdisabled\fR state bit. |