GTK+ 3 Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#include <gtk/gtk.h> struct GtkSpinner; GtkWidget * gtk_spinner_new (void
); void gtk_spinner_start (GtkSpinner *spinner
); void gtk_spinner_stop (GtkSpinner *spinner
);
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_start()
, to stop it
use gtk_spinner_stop()
.
GtkWidget * gtk_spinner_new (void
);
Returns a new spinner widget. Not yet started.
Returns : |
a new GtkSpinner |
Since 2.20
void gtk_spinner_start (GtkSpinner *spinner
);
Starts the animation of the spinner.
|
a GtkSpinner |
Since 2.20
void gtk_spinner_stop (GtkSpinner *spinner
);
Stops the animation of the spinner.
|
a GtkSpinner |
Since 2.20
"active"
property"active" gboolean : Read / Write
Whether the spinner is active.
Default value: FALSE