ttk_progressbar
-
NAME
- ttk::progressbar — Provide progress feedback
- SYNOPSIS
- DESCRIPTION
- STANDARD OPTIONS
-
-class, undefined, undefined
- -cursor, cursor, Cursor
- -style, style, Style
- -takefocus, takeFocus, TakeFocus
- -cursor, cursor, Cursor
- WIDGET-SPECIFIC OPTIONS
-
-orient, orient, Orient
- -length, length, Length
- -mode, mode, Mode
- -maximum, maximum, Maximum
- -value, value, Value
- -variable, variable, Variable
- -phase, phase, Phase
- -length, length, Length
- WIDGET COMMAND
- SEE ALSO
Name
ttk::progressbar — Provide progress feedbackSynopsis
ttk::progressbar pathName ?options?Description
A ttk::progressbar widget shows the status of a long-running operation. They can operate in two modes: determinate mode shows the amount completed relative to the total amount of work to be done, and indeterminate mode provides an animated display to let the user know that something is happening.Standard options
-
-class, undefined, undefined
- -cursor, cursor, Cursor
- -style, style, Style
- -takefocus, takeFocus, TakeFocus
- -cursor, cursor, Cursor
Widget-specific options
- Command-Line Name: -orient
- Database Name: orient
- Database Class: Orient
- Database Name: orient
- One of horizontal or vertical. Specifies the orientation of the progress bar.
- Command-Line Name: -length
- Database Name: length
- Database Class: Length
- Database Name: length
- Specifies the length of the long axis of the progress bar (width if horizontal, height if vertical).
- Command-Line Name: -mode
- Database Name: mode
- Database Class: Mode
- Database Name: mode
- One of determinate or indeterminate.
- Command-Line Name: -maximum
- Database Name: maximum
- Database Class: Maximum
- Database Name: maximum
- A floating point number specifying the maximum -value. Defaults to 100.
- Command-Line Name: -value
- Database Name: value
- Database Class: Value
- Database Name: value
- The current value of the progress bar. In determinate mode, this represents the amount of work completed. In indeterminate mode, it is interpreted modulo -maximum; that is, the progress bar completes one “cycle” when the -value increases by -maximum.
- Command-Line Name: -variable
- Database Name: variable
- Database Class: Variable
- Database Name: variable
- The name of a global Tcl variable which is linked to the -value. If specified, the -value of the progress bar is automatically set to the value of the variable whenever the latter is modified.
- Command-Line Name: -phase
- Database Name: phase
- Database Class: Phase
- Database Name: phase
- Read-only option. The widget periodically increments the value of this option whenever the -value is greater than 0 and, in determinate mode, less than -maximum. This option may be used by the current theme to provide additional animation effects.
Widget command
See also
ttk::widgetCopyright © 2005 Joe English
Licensed under Tcl/Tk terms
https://www.tcl.tk/man/tcl/TkCmd/ttk_progressbar.htm