Download

Support

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_Widgetewl_cell_new (void)
 Allocate and initialize a new cell.

Define Documentation

#define EWL_CELL (  )     ((Ewl_Cell *)t)

Typecast a pointer to an Ewl_Cell pointer.

#define EWL_CELL_IS (  )     (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

typedef struct Ewl_Cell Ewl_Cell

The Ewl_Cell widget


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.
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.


Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sun Sep 27 01:49:46 2009