MxProgressBar
MxProgressBar — visual representation of progress
|
|
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── ClutterActor
╰── MxWidget
╰── MxProgressBar
Implemented Interfaces
MxProgressBar implements
ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface and MxStylable.
Description
MxProgressBar visually represents the progress of an action or a value in
a range.
Functions
mx_progress_bar_new ()
ClutterActor *
mx_progress_bar_new (void
);
Create a new progress bar
mx_progress_bar_set_progress ()
void
mx_progress_bar_set_progress (MxProgressBar *bar
,
gdouble progress
);
Set the progress of the progress bar
mx_progress_bar_get_progress ()
gdouble
mx_progress_bar_get_progress (MxProgressBar *bar
);
Get the progress of the progress bar
Returns
A value between 0.0 and 1.0
Types and Values
struct MxProgressBar
struct MxProgressBar;
The contents of this structure are private and should only be
accessed through the public API.
struct MxProgressBarClass
struct MxProgressBarClass {
MxWidgetClass parent_class;
/* padding for future expansion */
void (*_padding_0) (void);
void (*_padding_1) (void);
void (*_padding_2) (void);
void (*_padding_3) (void);
void (*_padding_4) (void);
};
Property Details
The “progress”
property
“progress” double
Progress.
Owner: MxProgressBar
Flags: Read / Write
Allowed values: [0,1]
Default value: 0