![]() |
![]() |
![]() |
Moblin UI Toolkit Reference Manual | ![]() |
---|---|---|---|---|
MxProgressBar; ClutterActor* mx_progress_bar_new (void); void mx_progress_bar_set_progress (MxProgressBar *bar, gdouble progress); gdouble mx_progress_bar_get_progress (MxProgressBar *bar);
typedef struct _MxProgressBar MxProgressBar;
The contents of this structure are private and should only be accessed through the public API.
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
bar : |
A MxProgressBar |
progress : |
A value between 0.0 and 1.0 |
gdouble mx_progress_bar_get_progress (MxProgressBar *bar);
Get the progress of the progress bar
bar : |
A MxProgressBar |
Returns : | A value between 0.0 and 1.0 |