![]() |
![]() |
![]() |
Netbook Toolkit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
NbtkProgressBar; NbtkWidget * nbtk_progress_bar_new (void
); void nbtk_progress_bar_set_progress (NbtkProgressBar *bar
,gdouble progress
); gdouble nbtk_progress_bar_get_progress (NbtkProgressBar *bar
);
GObject +----GInitiallyUnowned +----ClutterActor +----NbtkWidget +----NbtkProgressBar
typedef struct _NbtkProgressBar NbtkProgressBar;
The contents of this structure are private and should only be accessed through the public API.
NbtkWidget * nbtk_progress_bar_new (void
);
Create a new progress bar
Returns : |
a new NbtkProgressBar |
void nbtk_progress_bar_set_progress (NbtkProgressBar *bar
,gdouble progress
);
Set the progress of the progress bar
|
A NbtkProgressBar |
|
A value between 0.0 and 1.0 |
gdouble nbtk_progress_bar_get_progress (NbtkProgressBar *bar
);
Get the progress of the progress bar
|
A NbtkProgressBar |
Returns : |
A value between 0.0 and 1.0 |
"progress"
property"progress" gdouble : Read / Write
Progress.
Allowed values: [0,1]
Default value: 0