Download

Support

Ewl_Tree_View: A tree view


Detailed Description

The tree view class.

Remarks:
Inherits from Ewl_Box.


Data Structures

struct  Ewl_Tree_View
 Inherits from Ewl_Box and provides the base information for a tree view. More...

Defines

#define EWL_TREE_VIEW(v)   ((Ewl_Tree_View *)v)
#define EWL_TREE_VIEW_IS(w)   (ewl_widget_type_is(EWL_WIDGET(w), EWL_TREE_VIEW_TYPE))
#define EWL_TREE_VIEW_TYPE   "tree_view"

Typedefs

typedef struct Ewl_Tree_View Ewl_Tree_View

Functions

int ewl_tree_view_init (Ewl_Tree_View *v)
 Initializes an Ewl_Tree_View to default values.
Ewl_Treeewl_tree_view_tree_get (Ewl_Tree_View *v)
 Retrieves the tree parent set into the view.
void ewl_tree_view_tree_set (Ewl_Tree_View *v, Ewl_Tree *t)
 Sets the t tree into the v view.

Define Documentation

#define EWL_TREE_VIEW (  )     ((Ewl_Tree_View *)v)

#define EWL_TREE_VIEW_IS (  )     (ewl_widget_type_is(EWL_WIDGET(w), EWL_TREE_VIEW_TYPE))

Returns TRUE if the widget is an Ewl_Tree_View, FALSE otherwise

#define EWL_TREE_VIEW_TYPE   "tree_view"


Typedef Documentation

typedef struct Ewl_Tree_View Ewl_Tree_View

A View on the tree


Function Documentation

int ewl_tree_view_init ( Ewl_Tree_View v  ) 

Initializes an Ewl_Tree_View to default values.

Parameters:
v,: The view to initialize
Returns:
Returns TRUE on success or FALSE on failure

References DLEVEL_STABLE, DRETURN_INT, EWL_BOX, ewl_box_init(), ewl_box_orientation_set(), EWL_ORIENTATION_VERTICAL, EWL_TREE_VIEW_TYPE, EWL_WIDGET, and ewl_widget_inherit().

Referenced by ewl_tree_view_freebox_init(), ewl_tree_view_plain_init(), and ewl_tree_view_scrolled_init().

Ewl_Tree* ewl_tree_view_tree_get ( Ewl_Tree_View v  ) 

Retrieves the tree parent set into the view.

Parameters:
v,: The view to work with
Returns:
Returns the Ewl_Tree parent

References DCHECK_PARAM_PTR_RET, DCHECK_TYPE_RET, DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_PTR, EWL_TREE_VIEW_TYPE, and parent.

void ewl_tree_view_tree_set ( Ewl_Tree_View v,
Ewl_Tree t 
)

Sets the t tree into the v view.

Parameters:
v,: The view to work with
t,: The tree to set
Returns:
Returns no value

References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_TREE_TYPE, EWL_TREE_VIEW_TYPE, and parent.

Referenced by ewl_tree_content_view_set().


Copyright © Enlightenment.org

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