Gtk.Spinner¶
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: | Gtk.Widget (39) | 
|---|
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| active | bool | r/w/en | Whether the spinner is active | 
Style Properties¶
| Inherited: | Gtk.Widget (17) | 
|---|
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: - Gtk.Widget- Abstract: - No - Structure: - Gtk.SpinnerClass- A - Gtk.Spinnerwidget displays an icon-size spinning animation. It is often used as an alternative to a- Gtk.ProgressBarfor 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.Spinnerhas a single CSS node with the name spinner. When the animation is active, the- :checkedpseudoclass is added to this node.- 
classmethod new()[source]¶
- Returns: - a new - Gtk.Spinner- Return type: - Gtk.Widget- Returns a new spinner widget. Not yet started. - New in version 2.20. 
 
