gtk.spinner
Module for [Spinner] class
Types 3
classSpinner : gtk.widget.Widget
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.
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
SpinnerGidBuilder builder()Get builder for [gtk.spinner.Spinner] Returns: New builder objectvoid spinning(bool propval) @propertySet `spinning` property. Params: propval = Whether the spinner is spinningbool getSpinning()Returns whether the spinner is spinning. Returns: true if the spinner is activevoid 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.classSpinnerGidBuilderImpl(T) : gtk.widget.WidgetGidBuilderImpl!T
Methods
T spinning(bool propval)Set `spinning` property. Params: propval = Whether the spinner is spinning Returns: Builder instance for fluent chaining