Go up one levelGo to Previous Go to Next

ProgressBar(n)

NAME

 
 ProgressBar - widget to display a message and a progress bar

NAMESPACE

 
 util

PARENT CLASS

 
 util::FrameWidget

SYNOPSIS

 
 ProgressBar <path> ?options?

DESCRIPTION

 
 This object displays a message and a scale indicating that work is in
 progress.


ITK COMPONENTS

 
 entry
        Entry widget used to display the progress message.

 scale
        Scale widget used to show progress.

STANDARD OPTIONS

 
 -font -length -width

WIDGET OPTIONS

 
 -busycolor
        Color of bar when busy.

 -from
        Set the starting point for the scale.

 -idlecolor
        Color of bar when busy.

 -sliderlength
        Length of slider (displayed when busy).

 -speed
        Speed in ms/tick when looking busy.

 -text
        Set the text of the label.

 -to
        Set the end point for the scale.

 -value
        Set the value of the bar between from and to.

PUBLIC METHODS

 
 look_busy {{bool 1}}
        Start (or stop) some animation to indicate that work is in
        progress.  This will continue until the next reset or until -to is
        set with config.

 reset {{text ""}}
        Reset the bar to the beginning.

PROTECTED METHODS

 
 do_something {}
        Do something to look busy.

PROTECTED VARIABLES

 
 color_
        Current bar color.

 inc_
        Controls direction for busy animation.

 looking_busy_
        Flag: true if currently looking busy.

SEE ALSO

 
 FrameWidget(n)

 


- - - - - -
Last change: 07 May 99

 


Go up one levelGo to Previous Go to Next

Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory