| Mx Toolkit Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
struct MxProgressBar; struct MxProgressBarClass; ClutterActor * mx_progress_bar_new (void); void mx_progress_bar_set_progress (MxProgressBar *bar,gdouble progress); gdouble mx_progress_bar_get_progress (MxProgressBar *bar);
MxProgressBar implements ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface and MxStylable.
struct MxProgressBar;
The contents of this structure are private and should only be accessed through the public API.
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);
};
ClutterActor * mx_progress_bar_new (void);
Create a new progress bar
Returns : |
a new MxProgressBar |
void mx_progress_bar_set_progress (MxProgressBar *bar,gdouble progress);
Set the progress of the progress bar
|
A MxProgressBar |
|
A value between 0.0 and 1.0 |
gdouble mx_progress_bar_get_progress (MxProgressBar *bar);
Get the progress of the progress bar
|
A MxProgressBar |
Returns : |
A value between 0.0 and 1.0 |
"progress" property"progress" gdouble : Read / Write
Progress.
Allowed values: [0,1]
Default value: 0