Graphics.UI.Gtk.Display.Spinner

gtk3-0.14.2: Binding to the Gtk+ 3 graphical user interface library

Maintainer | gtk2hs-users@lists.sourceforge.net
Stability | provisional
Portability | portable (depends on GHC)
Safe Haskell | None
Language | Haskell98

Graphics.UI.Gtk.Display.Spinner

Contents

- Detail
- Types
- Constructors
- Methods
- Attributes

Description

Report messages of minor importance to the user

Synopsis

- 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

data Spinner

Instances

Eq Spinner |
Ord Spinner |
GObjectClass Spinner |
SpinnerClass Spinner |
DrawingAreaClass Spinner |
WidgetClass Spinner |

class DrawingAreaClass o => SpinnerClass o

Instances

SpinnerClass Spinner |

# Constructors

spinnerNew :: IO Spinner

Returns a new spinner widget. Not yet started.

# Methods

spinnerStart :: SpinnerClass spinner => spinner -> IO ()

Starts the animation of the spinner.

spinnerStop :: SpinnerClass spinner => spinner -> IO ()

Stops the animation of the spinner.

# Attributes

spinnerActive :: SpinnerClass spinner => Attr spinner Bool

Whether the spinner is active.

Default value: `False`