Download

Support

Ewl_Row: The Row widget


Detailed Description

Defines a widget to display a row

Remarks:
Inherits from Ewl_Container.


Data Structures

struct  Ewl_Row
 Inherits from Ewl_Container to create a tree row that lays out cells in a left to right fashion. More...

Defines

#define EWL_ROW(t)   ((Ewl_Row *)t)
#define EWL_ROW_IS(w)   (ewl_widget_type_is(EWL_WIDGET(w), EWL_ROW_TYPE))
#define EWL_ROW_TYPE   "row"

Typedefs

typedef Ewl_Row Ewl_Row

Functions

void ewl_row_cb_child_hide (Ewl_Container *c, Ewl_Widget *w)
void ewl_row_cb_child_resize (Ewl_Container *c, Ewl_Widget *w, int size, Ewl_Orientation o)
void ewl_row_cb_child_show (Ewl_Container *c, Ewl_Widget *w)
void ewl_row_cb_configure (Ewl_Widget *w, void *ev_data, void *user_data)
void ewl_row_cb_header_configure (Ewl_Widget *w, void *ev_data, void *user_data)
void ewl_row_cb_header_destroy (Ewl_Widget *w, void *ev_data, void *user_data)
Ewl_Widgetewl_row_column_get (Ewl_Row *row, short n)
 Retrieve the widget at a specified column.
void ewl_row_header_set (Ewl_Row *row, Ewl_Container *header)
 Set the row header of constraints on cell widths.
int ewl_row_init (Ewl_Row *row)
 Initialize the row fields of an inheriting object.
Ewl_Widgetewl_row_new (void)
 Allocate and initialize a new row.

Define Documentation

#define EWL_ROW (  )     ((Ewl_Row *)t)

Typecasts a pointer to an Ewl_Row pointer

#define EWL_ROW_IS (  )     (ewl_widget_type_is(EWL_WIDGET(w), EWL_ROW_TYPE))

Returns TRUE if the widget is an Ewl_Row, FALSE otherwise

#define EWL_ROW_TYPE   "row"

The type name for the Ewl_Row widget


Typedef Documentation

typedef struct Ewl_Row Ewl_Row

The Ewl_Row widget


Function Documentation

void ewl_row_cb_child_hide ( Ewl_Container c,
Ewl_Widget w 
)

void ewl_row_cb_child_resize ( Ewl_Container c,
Ewl_Widget w,
int  size,
Ewl_Orientation  o 
)

void ewl_row_cb_child_show ( Ewl_Container c,
Ewl_Widget w 
)

void ewl_row_cb_configure ( Ewl_Widget w,
void *  ev_data,
void *  user_data 
)

void ewl_row_cb_header_configure ( Ewl_Widget w,
void *  ev_data,
void *  user_data 
)

void ewl_row_cb_header_destroy ( Ewl_Widget w,
void *  ev_data,
void *  user_data 
)

Ewl_Widget* ewl_row_column_get ( Ewl_Row row,
short  n 
)

Retrieve the widget at a specified column.

Parameters:
row,: the row to retrieve a columns widget from
n,: the column containing the desired widget
Returns:
Returns widget located in column n in row on success.

void ewl_row_header_set ( Ewl_Row row,
Ewl_Container header 
)

Set the row header of constraints on cell widths.

Parameters:
row,: the row to change the header row
header,: header row for adjusting cell placement
Returns:
Returns no value.
Changes the row that cell widths and placements will be based on to header.

int ewl_row_init ( Ewl_Row row  ) 

Initialize the row fields of an inheriting object.

Parameters:
row,: the row object to initialize
Returns:
Returns TRUE on success, FALSE on failure.
The fields of the row object are initialized to their defaults.

Ewl_Widget* ewl_row_new ( void   ) 

Allocate and initialize a new row.

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


Copyright © Enlightenment.org

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