Gtk.Spinner - Classes - Gtk 3.0 (original) (raw)
g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Buildable->Gtk.Widget Gtk.Spinner Gtk.Spinner Gtk.Widget->Gtk.Spinner
Example¶
Subclasses:
None
Methods¶
Inherited:
Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)
Structs:
Gtk.WidgetClass (12), GObject.ObjectClass (5)
class | new () |
---|---|
start () | |
stop () |
Virtual Methods¶
Inherited:
Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)
Properties¶
Inherited:
Name | Type | Flags | Short Description |
---|---|---|---|
active | bool | r/w/en | Whether the spinner is active |
Style Properties¶
Inherited:
Signals¶
Inherited:
Gtk.Widget (69), GObject.Object (1)
Fields¶
Inherited:
Gtk.Widget (69), GObject.Object (1)
Name | Type | Access | Description |
---|---|---|---|
parent | Gtk.Widget | r |
Class Details¶
class Gtk.Spinner(**kwargs)¶
Bases:
Abstract:
No
Structure:
A Gtk.Spinner widget displays an icon-size spinning animation. It is often used as an alternative to a Gtk.ProgressBar for displaying indefinite activity, instead of actual progress.
To start the animation, use Gtk.Spinner.start(), to stop it use Gtk.Spinner.stop().
CSS nodes
Gtk.Spinner has a single CSS node with the name spinner. When the animation is active, the :checked
pseudoclass is added to this node.
Returns:
a new Gtk.Spinner
Return type:
Returns a new spinner widget. Not yet started.
New in version 2.20.
Starts the animation of the spinner.
New in version 2.20.
Stops the animation of the spinner.
New in version 2.20.
Property Details¶
Gtk.Spinner.props.active¶
Name:
active
Type:
Default Value:
Flags:
READABLE, WRITABLE, EXPLICIT_NOTIFY
Whether the spinner is active