Ewl_Cell: The Cell Container, Layout for a Single Widget
Detailed Description
Defines a container to layout a single child with all of it's available space.
- Remarks:
- Inherits from Ewl_Container.
Data Structures | |
struct | Ewl_Cell |
Inherits from Ewl_Container for packing widgets inside a cell. More... | |
Defines | |
#define | EWL_CELL(t) ((Ewl_Cell *)t) |
#define | EWL_CELL_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_CELL_TYPE)) |
#define | EWL_CELL_TYPE "cell" |
Typedefs | |
typedef Ewl_Cell | Ewl_Cell |
Functions | |
void | ewl_cell_cb_child_resize (Ewl_Container *c, Ewl_Widget *w, int size, Ewl_Orientation o) |
void | ewl_cell_cb_child_show (Ewl_Container *c, Ewl_Widget *w) |
void | ewl_cell_cb_configure (Ewl_Widget *w, void *ev_data, void *user_data) |
int | ewl_cell_init (Ewl_Cell *cell) |
Initialize the cell fields of an inheriting object. | |
Ewl_Widget * | ewl_cell_new (void) |
Allocate and initialize a new cell. |
Define Documentation
#define EWL_CELL_IS | ( | w | ) | (ewl_widget_type_is(EWL_WIDGET(w), EWL_CELL_TYPE)) |
Returns TRUE if the widget is an Ewl_Cell, FALSE otherwise
#define EWL_CELL_TYPE "cell" |
The type name for the Ewl_Cell widget
Typedef Documentation
Function Documentation
void ewl_cell_cb_child_resize | ( | Ewl_Container * | c, | |
Ewl_Widget * | w, | |||
int | size, | |||
Ewl_Orientation | o | |||
) |
void ewl_cell_cb_child_show | ( | Ewl_Container * | c, | |
Ewl_Widget * | w | |||
) |
void ewl_cell_cb_configure | ( | Ewl_Widget * | w, | |
void * | ev_data, | |||
void * | user_data | |||
) |
int ewl_cell_init | ( | Ewl_Cell * | cell | ) |
Initialize the cell fields of an inheriting object.
- Parameters:
-
cell,: the cell object to initialize
- Returns:
- Returns TRUE on success, FALSE on failure.
Ewl_Widget* ewl_cell_new | ( | void | ) |
Allocate and initialize a new cell.
- Returns:
- Returns a newly allocated cell on success, NULL on failure.