1progressbar(n)                  Tile Widget Set                 progressbar(n)
2
3
4

NAME

6       ttk::progressbar - Provide progress feedback
7

SYNOPSIS

9       ttk::progressbar   pathName   ?options?    -class    -cursor   -takefo‐
10       cus     -style
11

OPTIONS

13       [-orient orient] One of horizontal or vertical.  Specifies the orienta‐
14       tion of the progress bar.  [-length length] Specifies the length of the
15       long axis of the progress bar (width if horizontal,  height  if  verti‐
16       cal).   [-mode mode]  One  of  determinate  or  indeterminate.  [-maxi‐
17       mum maximum] A floating point number  specifying  the  maximum  -value.
18       Defaults to 100.  [-value value] The current value of the progress bar.
19       In determinate mode, this represents the amount of work completed.   In
20       indeterminate  mode,  it  is  interpreted modulo -maximum; that is, the
21       progress bar completes one "cycle" when the -value increases by  -maxi‐
22       mum.   [-variable variable]  The name of a Tcl variable which is linked
23       to the -value.  If specified, the -value of the progress bar  is  auto‐
24       matically set to the value of the variable whenever the latter is modi‐
25       fied.  [-phase phase] Read-only option.  The widget periodically incre‐
26       ments  the  value  of this option whenever the -value is greater than 0
27       and, in determinate mode, less than -maximum.  This option may be  used
28       by the current theme to provide additional animation effects.
29

DESCRIPTION

31       A  progress  bar  widget  shows the status of a long-running operation.
32       They can operate in two modes: determinate mode shows the  amount  com‐
33       pleted  relative to the total amount of work to be done, and indetermi‐
34       nate mode provides an animated display to let the user know that  some‐
35       thing is happening.
36

WIDGET COMMAND

38       pathName cget option
39              Returns  the  current  value  of  the specified option; see wid‐
40              get(n).
41
42       pathName configure ?option? ?value option value ...?
43              Modify or query widget options; see widget(n).
44
45       pathName instate statespec ?script?
46              Test the widget state; see widget(n).
47
48       pathName start ?interval?
49              Begin autoincrement mode: schedules a recurring timer event that
50              calls  step  every  interval milliseconds.  If omitted, interval
51              defaults to 50 milliseconds (20 steps/second).
52
53       pathName state ?stateSpec?
54              Modify or query the widget state; see widget(n).
55
56       pathName step ?amount?
57              Increments the -value by amount.   amount  defaults  to  1.0  if
58              omitted.
59
60       pathName stop
61              Stop  autoincrement mode: cancels any recurring timer event ini‐
62              tiated by pathName start.
63

SEE ALSO

65       widget(n)
66
67
68
69tile                                  0.6                       progressbar(n)
Impressum