gtk.spinner

Module for [Spinner] class

Types 3

A [gtk.spinner.Spinner] widget displays an icon-size spinning animation.

It is often used as an alternative to a [gtk.progress_bar.ProgressBar] for displaying indefinite activity, instead of actual progress.

!An example GtkSpinner

To start the animation, use [gtk.spinner.Spinner.start], to stop it use [gtk.spinner.Spinner.stop].

CSS nodes

[gtk.spinner.Spinner] has a single CSS node with the name spinner. When the animation is active, the :checked pseudoclass is added to this node.

Methods
GType _gType() @property
Spinner self()Returns `this`, for use in `with` statements.
SpinnerGidBuilder builder()Get builder for [gtk.spinner.Spinner] Returns: New builder object
bool spinning() @propertyGet `spinning` property. Returns: Whether the spinner is spinning
void spinning(bool propval) @propertySet `spinning` property. Params: propval = Whether the spinner is spinning
bool getSpinning()Returns whether the spinner is spinning. Returns: true if the spinner is active
void setSpinning(bool spinning)Sets the activity of the spinner.
void start()Starts the animation of the spinner.
void stop()Stops the animation of the spinner.
Constructors
this(void * ptr, Flag!"Take" take)
this()Returns a new spinner widget. Not yet started. Returns: a new [gtk.spinner.Spinner]
Methods
T spinning(bool propval)Set `spinning` property. Params: propval = Whether the spinner is spinning Returns: Builder instance for fluent chaining

Fluent builder for [gtk.spinner.Spinner]

Methods