lib/ewl_scrollbar.h File Reference
#include "ewl_box.h"
Include dependency graph for ewl_scrollbar.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
struct | Ewl_Scrollbar |
Inherits from Ewl_Box and extends to provide a scrollbar widget. More... | |
Defines | |
#define | EWL_SCROLLBAR(scrollbar) ((Ewl_Scrollbar *) scrollbar) |
#define | EWL_SCROLLBAR_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_SCROLLBAR_TYPE)) |
#define | EWL_SCROLLBAR_TYPE "scrollbar" |
Typedefs | |
typedef struct Ewl_Scrollbar | Ewl_Scrollbar |
Functions | |
Ewl_Widget * | ewl_hscrollbar_new (void) |
Allocate and initialize a new horizontal scrollbar widget. | |
void | ewl_scrollbar_cb_scroll_start (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_scrollbar_cb_scroll_stop (Ewl_Widget *w, void *ev_data, void *user_data) |
int | ewl_scrollbar_init (Ewl_Scrollbar *s) |
Initialize a scrollbar to default values. | |
char | ewl_scrollbar_inverse_scroll_get (Ewl_Scrollbar *s) |
Checks the inverse scrolling flag on a scrollbar. | |
void | ewl_scrollbar_inverse_scroll_set (Ewl_Scrollbar *s, char v) |
Sets the inverse scrolling flag on a scrollbar. | |
Ewl_Widget * | ewl_scrollbar_new (void) |
Allocate and initialize a new scrollbar widget. | |
Ewl_Orientation | ewl_scrollbar_orientation_get (Ewl_Scrollbar *s) |
Change the orientation of a scrollbar. | |
void | ewl_scrollbar_orientation_set (Ewl_Scrollbar *s, Ewl_Orientation orientation) |
Change the orientation of a scrollbar. | |
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. | |
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. | |
Ewl_Widget * | ewl_vscrollbar_new (void) |
Allocate and initialize a new vertical scrollbar widget. |