Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Related Pages

Cell: The Cell Container, Layout for a Single Widget

Defines a container to layout a single child with all of it's available space. More...

Data Structures

struct  Ewl_Cell
 The cell inherits from the container for packing widgets inside the cell. More...

struct  Ewl_Cell
 The cell inherits from the container for packing widgets inside the cell. More...


Defines

#define EWL_CELL(t)   ((Ewl_Cell *)t)
 Typecast a pointer to an Ewl_Cell pointer.


Typedefs

typedef Ewl_Cell Ewl_Cell

Functions

Ewl_Widgetewl_cell_new (void)
 Allocate and initialize a new cell.

int ewl_cell_init (Ewl_Cell *cell)
 Initialize the cell fields of an inheriting object.


Detailed Description

Defines a container to layout a single child with all of it's available space.


Typedef Documentation

typedef struct Ewl_Cell Ewl_Cell
 

Widget Theme Keys:
/cell/file

/cell/group


Function Documentation

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.
The fields of the cell object are initialized to their defaults.

Ewl_Widget* ewl_cell_new void   ) 
 

Allocate and initialize a new cell.

Returns:
Returns a newly allocated cell on success, NULL on failure.