Data Structures | |
struct | Ewl_Box |
Inherits from an Ewl_Container to provide layout facilities for child widgets placed inside. More... | |
struct | Ewl_Box |
Inherits from an Ewl_Container to provide layout facilities for child widgets placed inside. More... | |
Defines | |
#define | EWL_BOX(box) ((Ewl_Box *) box) |
Typecast a pointer to an Ewl_Box pointer. | |
#define | ewl_hbox_new() ewl_box_new(EWL_ORIENTATION_HORIZONTAL) |
Shortcut to allocate a new horizontal Ewl_Box. | |
#define | ewl_vbox_new() ewl_box_new(EWL_ORIENTATION_VERTICAL) |
Shortcut to allocate a new vertical Ewl_Box. | |
Typedefs | |
typedef Ewl_Box | Ewl_Box |
The box widget is an Ewl_Container and lays out Ewl_Widget's either horizontally or vertically. | |
Functions | |
Ewl_Widget * | ewl_box_new (Ewl_Orientation orientation) |
Allocate and initialize a new box with given orientation. | |
int | ewl_box_init (Ewl_Box *box, Ewl_Orientation orientation) |
Initialize the box to starting values. | |
void | ewl_box_orientation_set (Ewl_Box *b, Ewl_Orientation o) |
Change the specified box's orientation. | |
Ewl_Orientation | ewl_box_orientation_get (Ewl_Box *b) |
Retrieves the orientation of the box. | |
void | ewl_box_spacing_set (Ewl_Box *b, int spacing) |
Changes the spacing between the objects in the box. | |
void | ewl_box_homogeneous_set (Ewl_Box *b, int h) |
Change the homogeneous layout of the box. |
|
Change the homogeneous layout of the box.
|
|
Initialize the box to starting values.
|
|
Allocate and initialize a new box with given orientation.
|
|
Retrieves the orientation of the box.
|
|
Change the specified box's orientation.
|
|
Changes the spacing between the objects in the box.
|