MxSpinner
MxSpinner — a processing indicator widget
|
|
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── ClutterActor
╰── MxWidget
╰── MxSpinner
Implemented Interfaces
MxSpinner implements
ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface and MxStylable.
Description
The MxSpinner is a widget to use to indicate that something is being
processed, usually a task of indeterminate length.
Functions
mx_spinner_new ()
ClutterActor *
mx_spinner_new (void
);
Create a new MxSpinner widget.
Since 1.2
mx_spinner_set_animating ()
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
mx_spinner_get_animating ()
gboolean
mx_spinner_get_animating (MxSpinner *spinner
);
Determines whether the spinner is animating.
Returns
TRUE
if the spinner is animating, FALSE
otherwise
Since 1.2
Types and Values
struct MxSpinner
struct MxSpinner;
The contents of this structure are private and should only be accessed
through the public API.
struct MxSpinnerClass
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);
};
Property Details
The “animating”
property
“animating” gboolean
Whether the spinner is animating.
Flags: Read / Write
Default value: TRUE
Signal Details
The “looped”
signal
void
user_function (MxSpinner *spinner,
gpointer user_data)
Emitted after the animation has displayed the final frame.
Flags: Run Last
Since 1.2