![]() |
GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
An activity widget. More...
Go to the source code of this file.
Functions | |
| gp_widget * | gp_widget_activity_new (const char *label) |
| Allocates and initializes a new activity widget. | |
| void | gp_widget_activity_start (gp_widget *self) |
| Starts the activity widget animation. | |
| void | gp_widget_activity_stop (gp_widget *self) |
| Stops the activity widget animation. | |
| bool | gp_widget_activity_running (gp_widget *self) |
| Returns true if activity is running. | |
| const char * | gp_widget_activity_label_get (gp_widget *self) |
| Gets an activity label. | |
An activity widget.
Activity widget is an animation which shows that application doing something. Unlike progress bar there is no measurement of progress of the work being done.
| Attribute | Type | Default | Description |
|---|---|---|---|
| label | string | An activity label. |
Definition in file gp_widget_activity.h.
| const char * gp_widget_activity_label_get | ( | gp_widget * | self | ) |
Gets an activity label.
| self | An activity widget. |
| gp_widget * gp_widget_activity_new | ( | const char * | label | ) |
Allocates and initializes a new activity widget.
| label | An activity label. |
| bool gp_widget_activity_running | ( | gp_widget * | self | ) |
Returns true if activity is running.