1ttk::progressbar(n)            Tk Themed Widget            ttk::progressbar(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       ttk::progressbar - Provide progress feedback
9

SYNOPSIS

11       ttk::progressbar pathName ?options?
12_________________________________________________________________
13

DESCRIPTION

15       A ttk::progressbar widget shows the status of a long-running operation.
16       They can operate in two modes: determinate mode shows the  amount  com‐
17       pleted  relative to the total amount of work to be done, and indetermi‐
18       nate mode provides an animated display to let the user know that  some‐
19       thing is happening.
20

STANDARD OPTIONS

22       -class                -cursor              -takefocus
23       -style
24
25       See the ttk_widget manual entry for details on the standard options.
26

WIDGET-SPECIFIC OPTIONS

28       [-orient orient] One of horizontal or vertical.  Specifies the orienta‐
29       tion of the progress bar.  [-length length] Specifies the length of the
30       long  axis  of  the progress bar (width if horizontal, height if verti‐
31       cal).  [-mode mode]  One  of  determinate  or  indeterminate.   [-maxi‐
32       mum maximum]  A  floating  point  number specifying the maximum -value.
33       Defaults to 100.  [-value value] The current value of the progress bar.
34       In  determinate mode, this represents the amount of work completed.  In
35       indeterminate mode, it is interpreted modulo  -maximum;  that  is,  the
36       progress  bar completes one “cycle” when the -value increases by -maxi‐
37       mum.  [-variable variable] The name of a global Tcl variable  which  is
38       linked  to the -value.  If specified, the -value of the progress bar is
39       automatically set to the value of the variable whenever the  latter  is
40       modified.   [-phase phase]  Read-only  option.  The widget periodically
41       increments the value of this option whenever the -value is greater than
42       0  and,  in  determinate  mode, less than -maximum.  This option may be
43       used by the current theme to provide additional animation effects.
44

WIDGET COMMAND

46       pathName cget option
47              Returns the current value of the specified option; see ttk::wid‐
48              get(n).
49
50       pathName configure ?option? ?value option value ...?
51              Modify or query widget options; see ttk::widget(n).
52
53       pathName identify x y
54              Returns the name of the element at position x, y.  See ttk::wid‐
55              get(n).
56
57       pathName instate statespec ?script?
58              Test the widget state; see ttk::widget(n).
59
60       pathName start ?interval?
61              Begin autoincrement mode: schedules a recurring timer event that
62              calls  step  every  interval milliseconds.  If omitted, interval
63              defaults to 50 milliseconds (20 steps/second).
64
65       pathName state ?stateSpec?
66              Modify or query the widget state; see ttk::widget(n).
67
68       pathName step ?amount?
69              Increments the -value by amount.   amount  defaults  to  1.0  if
70              omitted.
71
72       pathName stop
73              Stop  autoincrement mode: cancels any recurring timer event ini‐
74              tiated by pathName start.
75

SEE ALSO

77       ttk::widget(n)
78
79
80
81Tk                                    8.5                  ttk::progressbar(n)
Impressum