Graphics.UI.Gtk.Display.Spinner

gtk3-0.14.6: 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
- castToSpinner :: GObjectClass obj => obj -> Spinner
- gTypeSpinner :: GType
- toSpinner :: SpinnerClass o => o -> Spinner
- 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 # |
Methods (==) :: Spinner -> Spinner -> Bool # (/=) :: Spinner -> Spinner -> Bool #
Ord Spinner # |
Methods compare :: Spinner -> Spinner -> Ordering # (<) :: Spinner -> Spinner -> Bool # (<=) :: Spinner -> Spinner -> Bool # (>) :: Spinner -> Spinner -> Bool # (>=) :: Spinner -> Spinner -> Bool # max :: Spinner -> Spinner -> Spinner # min :: Spinner -> Spinner -> Spinner #
GObjectClass Spinner # |
Methods toGObject :: Spinner -> GObject # unsafeCastGObject :: GObject -> Spinner #
SpinnerClass Spinner # |
DrawingAreaClass Spinner # |
WidgetClass Spinner # |

class DrawingAreaClass o => SpinnerClass o #

Instances

SpinnerClass Spinner # |

castToSpinner :: GObjectClass obj => obj -> Spinner #

gTypeSpinner :: GType #

toSpinner :: SpinnerClass o => o -> 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`