Download

Support

Ewl_List: A list widget


Detailed Description

Defines a class to layout data in a list.

Remarks:
Inherits from Ewl_MVC.

Tutorial


Data Structures

struct  Ewl_List
 Inherits from Ewl_MVC and extends to provide a list widget. More...

Defines

#define EWL_LIST(list)   ((Ewl_List *)list)
#define EWL_LIST_IS(w)   (ewl_widget_type_is(EWL_WIDGET(w), EWL_LIST_TYPE))
#define EWL_LIST_TYPE   "list"

Typedefs

typedef struct Ewl_List Ewl_List

Functions

void ewl_list_cb_child_add (Ewl_Container *c, Ewl_Widget *w)
void ewl_list_cb_configure (Ewl_Widget *w, void *ev, void *data)
void ewl_list_cb_item_clicked (Ewl_Widget *w, void *ev, void *data)
void ewl_list_cb_selected_change (Ewl_MVC *mvc)
int ewl_list_init (Ewl_List *list)
 Initialises an Ewl_List widget to default values.
Ewl_Widgetewl_list_new (void)
 Creates and initializes a new Ewl_List widget.

Define Documentation

#define EWL_LIST ( list   )     ((Ewl_List *)list)

Typecasts a pointer to an Ewl_List pointer

Referenced by ewl_list_cb_configure(), and ewl_list_new().

#define EWL_LIST_IS (  )     (ewl_widget_type_is(EWL_WIDGET(w), EWL_LIST_TYPE))

Returns TRUE if the widget is an Ewl_LIST, FALSE otherwise

#define EWL_LIST_TYPE   "list"


Typedef Documentation

typedef struct Ewl_List Ewl_List

The list strucutre


Function Documentation

void ewl_list_cb_child_add ( Ewl_Container c,
Ewl_Widget w 
)

int ewl_list_init ( Ewl_List list  ) 

Ewl_Widget* ewl_list_new ( void   ) 

Creates and initializes a new Ewl_List widget.

Returns:
Returns a new Ewl_Widget on success or NULL on failure

References DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_PTR, EWL_LIST, ewl_list_init(), ewl_widget_destroy(), and NEW.


Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sat May 17 16:51:10 2008