Data Structures | |
struct | Ewl_Scrollbar |
Inherits from Ewl_Box to layout an Ewl_Seeker and two Ewl_Buttons to provide scrollbar functionality. More... | |
struct | Ewl_Scrollbar |
Inherits from Ewl_Box to layout an Ewl_Seeker and two Ewl_Buttons to provide scrollbar functionality. More... | |
Defines | |
#define | EWL_SCROLLBAR(scrollbar) ((Ewl_Scrollbar *) scrollbar) |
Typecasts a pointer to an Ewl_Scrollbar pointer. | |
#define | ewl_hscrollbar_new() ewl_scrollbar_new(EWL_ORIENTATION_HORIZONTAL) |
A shortcut for allocating a new horizontal scrollbar. | |
#define | ewl_vscrollbar_new() ewl_scrollbar_new(EWL_ORIENTATION_VERTICAL) |
A shortcut for allocating a new vertical scrollbar. | |
Typedefs | |
typedef Ewl_Scrollbar | Ewl_Scrollbar |
Provides a seeker with increment and decrement buttons arranged in a specified order. | |
Functions | |
Ewl_Widget * | ewl_scrollbar_new (Ewl_Orientation orientation) |
Allocate and initialize a new scrollbar widget. | |
void | ewl_scrollbar_init (Ewl_Scrollbar *s, Ewl_Orientation orientation) |
Initialize a scrollbar to default values. | |
double | ewl_scrollbar_value_get (Ewl_Scrollbar *s) |
Get the current value of the dragbar. | |
void | ewl_scrollbar_value_set (Ewl_Scrollbar *s, double v) |
Set the current value of the dragbar. | |
double | ewl_scrollbar_step_get (Ewl_Scrollbar *s) |
Get the current step size of the scrollbar. | |
void | ewl_scrollbar_step_set (Ewl_Scrollbar *s, double v) |
Change the step size of a scrollbar. | |
void | ewl_scrollbar_flag_set (Ewl_Scrollbar *s, Ewl_ScrollBar_Flags f) |
Set the flag mask for a scrollbar. | |
Ewl_ScrollBar_Flags | ewl_scrollbar_flag_get (Ewl_Scrollbar *s) |
Retrieve the current flags of a scrollbar. |
|
Retrieve the current flags of a scrollbar.
|
|
Set the flag mask for a scrollbar.
|
|
Initialize a scrollbar to default values.
|
|
Allocate and initialize a new scrollbar widget.
|
|
Get the current step size of the scrollbar.
|
|
Change the step size of a scrollbar.
|
|
Get the current value of the dragbar.
|
|
Set the current value of the dragbar.
|