gtk.spinner

Module for [Spinner] class

Types 3

A GtkSpinner widget displays an icon-size spinning animation. It is often used as an alternative to a #GtkProgressBar for displaying indefinite activity, instead of actual progress.

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

CSS nodes

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

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
Spinner self() nothrowReturns `this`, for use in `with` statements.
SpinnerGidBuilder builder() static nothrowGet builder for [gtk.spinner.Spinner] Returns: New builder object
bool active() @property nothrow
void active(bool propval) @property nothrow
void start() nothrowStarts the animation of the spinner.
void stop() nothrowStops the animation of the spinner.
Constructors
this(void * ptr, Flag!"Take" take)
this()Returns a new spinner widget. Not yet started. Returns: a new #GtkSpinner

Fluent builder implementation template for gtk.spinner.Spinner

Methods
T active(bool propval) nothrow

Fluent builder for gtk.spinner.Spinner

Methods
Spinner build() nothrowCreate object from builder. Returns: New object