Data Structures | |
struct | Ewl_Progressbar |
Inherits from Ewl_Container and creates an internal Ewl_Widget, the statusbar itself. More... | |
struct | Ewl_Progressbar |
Inherits from Ewl_Container and creates an internal Ewl_Widget, the statusbar itself. More... | |
Defines | |
#define | EWL_PROGRESSBAR(progressbar) ((Ewl_Progressbar *) progressbar) |
Typecasts a pointer to an Ewl_Progressbar pointer. | |
Typedefs | |
typedef Ewl_Progressbar | Ewl_Progressbar |
The Ewl_Progressbar provides a statusbar from a given value. | |
Functions | |
Ewl_Widget * | ewl_progressbar_new (void) |
Allocate and initialize a new progressbar. | |
void | ewl_progressbar_init (Ewl_Progressbar *p) |
Initialize the progressbar to some sane starting values. | |
void | ewl_progressbar_value_set (Ewl_Progressbar *p, double v) |
Set the value of the progressbars location. | |
double | ewl_progressbar_value_get (Ewl_Progressbar *p) |
Retrieve the current value of the progressbars. | |
void | ewl_progressbar_range_set (Ewl_Progressbar *p, double r) |
Set the range of the progressbar. Cannot be less then 1. | |
double | ewl_progressbar_range_get (Ewl_Progressbar *p) |
Retrieve the current range of the progressbars (default 100). | |
void | ewl_progressbar_label_set (Ewl_Progressbar *p, char *label) |
Sets the given text on the progressbar. | |
void | ewl_progressbar_custom_label_set (Ewl_Progressbar *p, char *format_string) |
Sets the given format string on the progressbar (lf of lf beers). | |
void | ewl_progressbar_label_show (Ewl_Progressbar *p) |
Shows the given progressbars label. | |
void | ewl_progressbar_label_hide (Ewl_Progressbar *p) |
Hides the given progressbars label. |
|
Sets the given format string on the progressbar (lf of lf beers).
|
|
Initialize the progressbar to some sane starting values.
|
|
Hides the given progressbars label.
|
|
Sets the given text on the progressbar.
|
|
Shows the given progressbars label.
|
|
Allocate and initialize a new progressbar.
|
|
Retrieve the current range of the progressbars (default 100).
|
|
Set the range of the progressbar. Cannot be less then 1.
|
|
Retrieve the current value of the progressbars.
|
|
Set the value of the progressbars location.
|