| Mx Toolkit Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals | ||||
struct MxSpinner; struct MxSpinnerClass; ClutterActor * mx_spinner_new (void); void mx_spinner_set_animating (MxSpinner *spinner,gboolean animating); gboolean mx_spinner_get_animating (MxSpinner *spinner);
MxSpinner implements ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface and MxStylable.
The MxSpinner is a widget to use to indicate that something is being processed, usually a task of indeterminate length.
struct MxSpinner;
The contents of this structure are private and should only be accessed through the public API.
struct MxSpinnerClass {
MxWidgetClass parent_class;
/* signals */
void (* looped) (MxSpinner *spinner);
/* padding for future expansion */
void (*_padding_0) (void);
void (*_padding_1) (void);
void (*_padding_2) (void);
void (*_padding_3) (void);
};
ClutterActor * mx_spinner_new (void);
Create a new MxSpinner widget.
Returns : |
a newly allocated MxSpinner |
Since 1.2
void mx_spinner_set_animating (MxSpinner *spinner,gboolean animating);
Sets whether the spinner is animating. A spinner can be stopped if the task it represents has finished, or to save energy.
Since 1.2
"animating" property"animating" gboolean : Read / Write
Whether the spinner is animating.
Default value: TRUE