"Fossies" - the Fresh Open Source Software Archive

Member "SAOImageDS9/tk8.6/doc/ttk_progressbar.n" (13 Nov 2019, 3986 Bytes) of package /linux/misc/ds9.8.1.tar.gz:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

ttk::progressbar

NAME
SYNOPSIS
DESCRIPTION
WIDGET-SPECIFIC OPTIONS
WIDGET COMMAND
STYLING OPTIONS
SEE ALSO

NAME

ttk::progressbar − Provide progress feedback

SYNOPSIS

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. −class

−cursor

−takefocus −style

WIDGET-SPECIFIC OPTIONS

[−length length] Specifies the length of the long axis of the progress bar (width if horizontal, height if vertical). [−maximum maximum] A floating point number specifying the maximum −value. Defaults to 100. [−mode mode] One of determinate or indeterminate. [−orient orient] One of horizontal or vertical. Specifies the orientation of the progress bar. [−phase 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. [−value 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 when the −value increases by −maximum. If −variable is set to an existing variable, specifying −value has no effect (the variable value takes precedence). [−variable variable] The name of a global Tcl variable which is linked to the −value. If specified to an existing variable, the −value of the progress bar is automatically set to the value of the variable whenever the latter is modified.

WIDGET COMMAND

pathName cget option

Returns the current value of the specified option; see ttk::widget(n).

pathName configure ?option? ?value option value ...?

Modify or query widget options; see ttk::widget(n).

pathName identify x y

Returns the name of the element at position x, y. See ttk::widget(n).

pathName instate statespec ?script?

Test the widget state; see ttk::widget(n).

pathName start ?interval?

Begin autoincrement mode: schedules a recurring timer event that calls step every interval milliseconds. If omitted, interval defaults to 50 milliseconds (20 steps/second).

pathName state ?stateSpec?

Modify or query the widget state; see ttk::widget(n).

pathName step ?amount?

Increments the −value by amount. amount defaults to 1.0 if omitted.

pathName stop

Stop autoincrement mode: cancels any recurring timer event initiated by pathName start.

STYLING OPTIONS

The class name for a ttk::progressbar is TProgressbar.

TProgressbar styling options configurable with ttk::style are:

−background color
−bordercolor
color
−darkcolor
color
−lightcolor
color
−maxphase

For the aqua theme.

−period

For the aqua theme.

−troughcolor color

Some options are only available for specific themes.

See the ttk::style manual page for information on how to configure ttk styles.

SEE ALSO

ttk::widget(n)