diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bind.n | 5 | ||||
-rw-r--r-- | doc/event.n | 3 | ||||
-rw-r--r-- | doc/grid.n | 2 | ||||
-rw-r--r-- | doc/ttk_progressbar.n | 4 | ||||
-rw-r--r-- | doc/ttk_scale.n | 2 |
5 files changed, 11 insertions, 5 deletions
@@ -633,8 +633,9 @@ several matching sequences is more specific: an event pattern that specifies a specific button or key is more specific than one that does not; .IP (b) -a longer sequence (in terms of number -of events matched) is more specific than a shorter sequence; +a sequence with the most highest-ordered patterns (in term of highest +repetition count) is more specific than a sequence with less +highest-ordered patterns; .IP (c) if the modifiers specified in one pattern are a subset of the modifiers in another pattern, then the pattern with more modifiers diff --git a/doc/event.n b/doc/event.n index 5109794..9ab48e5 100644 --- a/doc/event.n +++ b/doc/event.n @@ -239,7 +239,8 @@ Similar to \fB%S\fR substitution for binding scripts. .TP \fB\-time\fI integer\fR \fIInteger\fR must be an integer value; it specifies the \fItime\fR field -for the event. +for the event. Additonally the special value \fBcurrent\fR is allowed, +this value will be substituted by the current event time. Valid for \fBKeyPress\fR, \fBKeyRelease\fR, \fBButtonPress\fR, \fBButtonRelease\fR, \fBEnter\fR, \fBLeave\fR, \fBMotion\fR, and \fBProperty\fR events. @@ -457,7 +457,7 @@ widths: .PP .CS button .b \-text "Foo" -entry .e \-variable foo +entry .e \-textvariable foo ; set foo "Hello World!" label .l \-text "This is a fairly long piece of text" \fBgrid\fR .b .e .l \-sticky ew diff --git a/doc/ttk_progressbar.n b/doc/ttk_progressbar.n index b0d5615..df469b6 100644 --- a/doc/ttk_progressbar.n +++ b/doc/ttk_progressbar.n @@ -57,9 +57,11 @@ 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. +If \fB\-variable\fR is set to an existing variable, specifying \fB\-value\fR +has no effect (the variable value takes precedence). .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 +If specified to an existing variable, the \fB\-value\fR of the progress bar is automatically set to the value of the variable whenever the latter is modified. .SH "WIDGET COMMAND" diff --git a/doc/ttk_scale.n b/doc/ttk_scale.n index f8f5072..aa851b9 100644 --- a/doc/ttk_scale.n +++ b/doc/ttk_scale.n @@ -42,6 +42,8 @@ Specifies a real value corresponding to the right or bottom end of the scale. This value may be either less than or greater than the \fB\-from\fR option. .OP \-value value Value Specifies the current floating-point value of the variable. +If \fB\-variable\fR is set to an existing variable, specifying \fB\-value\fR +has no effect (the variable value takes precedence). .OP \-variable variable Variable Specifies the name of a global variable to link to the scale. Whenever the value of the variable changes, the scale will update to reflect this value. |