gi-gtk-3.0.11: Gtk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.Spinner

Contents

Description

A GtkSpinner 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, to stop it use spinnerStop.

CSS nodes

GtkSpinner has a single CSS node with the name spinner.

Synopsis

Exported types

Methods

new

spinnerNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m Spinner

Returns: a new Spinner

Returns a new spinner widget. Not yet started.

Since: 2.20

start

data SpinnerStartMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsSpinner a) => MethodInfo * SpinnerStartMethodInfo a signature Source # 

spinnerStart Source #

Arguments

:: (HasCallStack, MonadIO m, IsSpinner a) 
=> a

spinner: a Spinner

-> m () 

Starts the animation of the spinner.

Since: 2.20

stop

data SpinnerStopMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsSpinner a) => MethodInfo * SpinnerStopMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy SpinnerStopMethodInfo a -> signature -> s #

spinnerStop Source #

Arguments

:: (HasCallStack, MonadIO m, IsSpinner a) 
=> a

spinner: a Spinner

-> m () 

Stops the animation of the spinner.

Since: 2.20

Properties

active

data SpinnerActivePropertyInfo Source #

Instances

AttrInfo SpinnerActivePropertyInfo Source # 
type AttrOrigin SpinnerActivePropertyInfo Source # 
type AttrLabel SpinnerActivePropertyInfo Source # 
type AttrGetType SpinnerActivePropertyInfo Source # 
type AttrBaseTypeConstraint SpinnerActivePropertyInfo Source # 
type AttrSetTypeConstraint SpinnerActivePropertyInfo Source # 
type AttrAllowedOps SpinnerActivePropertyInfo Source # 

setSpinnerActive :: (MonadIO m, IsSpinner o) => o -> Bool -> m () Source #