Portability | portable (depends on GHC) |
---|---|
Stability | provisional |
Maintainer | gtk2hs-users@lists.sourceforge.net |
Safe Haskell | None |
Report messages of minor importance to the user
- data Spinner
- class DrawingAreaClass o => SpinnerClass o
- spinnerNew :: IO Spinner
- spinnerStart :: SpinnerClass spinner => spinner -> IO ()
- spinnerStop :: SpinnerClass spinner => spinner -> IO ()
- spinnerActive :: SpinnerClass spinner => Attr spinner Bool
Detail
A Spinner
widget displays an icon-size spinning animation. It is often used as an alternative to
a ProgressBar
for displaying indefinite activity, instead of actual progress.
To start the animation, use spinnerStart
.
Types
class DrawingAreaClass o => SpinnerClass o Source
Constructors
spinnerNew :: IO SpinnerSource
Returns a new spinner widget. Not yet started.
Methods
spinnerStart :: SpinnerClass spinner => spinner -> IO ()Source
Starts the animation of the spinner.
spinnerStop :: SpinnerClass spinner => spinner -> IO ()Source
Stops the animation of the spinner.
Attributes
spinnerActive :: SpinnerClass spinner => Attr spinner BoolSource
Whether the spinner is active.
Default value: False