Description Methods and Functions Hierarchy Interfaces Detailed Description Structures Convenient Construction Properties Style Properties Author(s) References
Show a spinner animation
gtkSpinnerNew(show = TRUE)
gtkSpinnerStart(object)
gtkSpinnerStop(object)
gtkSpinner(show = TRUE)
1 2 3 4 5 6 | GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkDrawingArea
+----GtkSpinner
|
GtkSpinner implements
AtkImplementorIface and GtkBuildable
.
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 gtkSpinnerStart
, to stop it
use gtkSpinnerStop
.
GtkSpinner
undocumented
gtkSpinner
is the equivalent of gtkSpinnerNew
.
active
[logical : Read / Write]Whether the spinner is active. Default value: FALSE
cycle-duration
[numeric : Read]The duration in milliseconds for the spinner to complete a full cycle. Allowed values: >= 500 Default value: 1000 Since 2.20
num-steps
[numeric : Read]The number of steps for the spinner to complete a full loop.
The animation will complete a full cycle in one second by default
(see the "cycle-duration"
style property).
Allowed values: >= 1 Default value: 12 Since 2.20
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gtk2/stable/GtkSpinner.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.