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       Command-Line Name:-orient
29       Database Name:  orient
30       Database Class: Orient
31
32              One of horizontal or vertical.  Specifies the orientation of the
33              progress bar.
34
35       Command-Line Name:-length
36       Database Name:  length
37       Database Class: Length
38
39              Specifies the length of the long axis of the progress bar (width
40              if horizontal, height if vertical).
41
42       Command-Line Name:-mode
43       Database Name:  mode
44       Database Class: Mode
45
46              One of determinate or indeterminate.
47
48       Command-Line Name:-maximum
49       Database Name:  maximum
50       Database Class: Maximum
51
52              A floating point number specifying the maximum -value.  Defaults
53              to 100.
54
55       Command-Line Name:-value
56       Database Name:  value
57       Database Class: Value
58
59              The current value of the progress  bar.   In  determinate  mode,
60              this  represents the amount of work completed.  In indeterminate
61              mode, it is interpreted modulo -maximum; that is,  the  progress
62              bar completes one “cycle” when the -value increases by -maximum.
63
64       Command-Line Name:-variable
65       Database Name:  variable
66       Database Class: Variable
67
68              The name of a global Tcl variable which is linked to the -value.
69              If specified, the -value of the progress  bar  is  automatically
70              set  to  the  value of the variable whenever the latter is modi‐
71              fied.
72
73       Command-Line Name:-phase
74       Database Name:  phase
75       Database Class: Phase
76
77              Read-only option.  The widget periodically increments the  value
78              of  this  option  whenever  the -value is greater than 0 and, in
79              determinate mode, less than -maximum.  This option may  be  used
80              by the current theme to provide additional animation effects.
81

WIDGET COMMAND

83       pathName cget option
84              Returns the current value of the specified option; see ttk::wid‐
85              get(n).
86
87       pathName configure ?option? ?value option value ...?
88              Modify or query widget options; see ttk::widget(n).
89
90       pathName identify x y
91              Returns the name of the element at position x, y.  See ttk::wid‐
92              get(n).
93
94       pathName instate statespec ?script?
95              Test the widget state; see ttk::widget(n).
96
97       pathName start ?interval?
98              Begin autoincrement mode: schedules a recurring timer event that
99              calls step every interval milliseconds.   If  omitted,  interval
100              defaults to 50 milliseconds (20 steps/second).
101
102       pathName state ?stateSpec?
103              Modify or query the widget state; see ttk::widget(n).
104
105       pathName step ?amount?
106              Increments  the  -value  by  amount.   amount defaults to 1.0 if
107              omitted.
108
109       pathName stop
110              Stop autoincrement mode: cancels any recurring timer event  ini‐
111              tiated by pathName start.
112

SEE ALSO

114       ttk::widget(n)
115
116
117
118Tk                                    8.5                  ttk::progressbar(n)
Impressum