Ewl_Tree_View_Freebox: The freebox tree view
Detailed Description
A freebox view for the tree.
- Remarks:
- Inherits from Ewl_Tree_View
Data Structures | |
struct | Ewl_Tree_View_Freebox |
Inherits from Ewl_Tree_View and provides a freebox tree layout. More... | |
Defines | |
#define | EWL_TREE_VIEW_FREEBOX(tv) ((Ewl_Tree_View_Freebox*)tv) |
#define | EWL_TREE_VIEW_FREEBOX_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_TREE_VIEW_FREEBOX_TYPE)) |
#define | EWL_TREE_VIEW_FREEBOX_TYPE "tree_view_freebox" |
Typedefs | |
typedef struct Ewl_Tree_View_Freebox | Ewl_Tree_View_Freebox |
Functions | |
const Ewl_View * | ewl_tree_view_freebox_get (void) |
Retrieves the view for this widget. | |
int | ewl_tree_view_freebox_init (Ewl_Tree_View_Freebox *tv) |
Initializes a tree view to default values. | |
Ewl_Widget * | ewl_tree_view_freebox_new (void) |
Creates and initializes a new Ewl_Tree_View_Freebox widget. |
Define Documentation
#define EWL_TREE_VIEW_FREEBOX | ( | tv | ) | ((Ewl_Tree_View_Freebox*)tv) |
Typecasts a pointer to an Ewl_Tree_View_Freebox pointer
Referenced by ewl_tree_view_freebox_new().
#define EWL_TREE_VIEW_FREEBOX_IS | ( | w | ) | (ewl_widget_type_is(EWL_WIDGET(w), EWL_TREE_VIEW_FREEBOX_TYPE)) |
Returns TRUE if the widget is an Ewl_Tree_View_Freebox, FALSE otherwise
#define EWL_TREE_VIEW_FREEBOX_TYPE "tree_view_freebox" |
The type name
Referenced by ewl_tree_view_freebox_init().
Typedef Documentation
typedef struct Ewl_Tree_View_Freebox Ewl_Tree_View_Freebox |
Function Documentation
const Ewl_View* ewl_tree_view_freebox_get | ( | void | ) |
Retrieves the view for this widget.
- Returns:
- Returns the view for this widget
References DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_PTR, ewl_view_new(), and ewl_view_widget_fetch_set().
int ewl_tree_view_freebox_init | ( | Ewl_Tree_View_Freebox * | tv | ) |
Initializes a tree view to default values.
- Parameters:
-
tv,: The view to work with
- Returns:
- Returns TRUE on success or FALSE on failure
References DCHECK_PARAM_PTR_RET, DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_INT, EWL_BOX, ewl_box_orientation_set(), EWL_CONTAINER, ewl_container_child_append(), ewl_container_redirect_set(), EWL_FREEBOX, EWL_FREEBOX_LAYOUT_AUTO, ewl_freebox_layout_type_set(), EWL_ORIENTATION_VERTICAL, ewl_scrollpane_new(), EWL_TREE_VIEW, EWL_TREE_VIEW_FREEBOX_TYPE, ewl_tree_view_init(), ewl_vfreebox_new(), EWL_WIDGET, ewl_widget_inherit(), ewl_widget_show(), fbox, and scroll.
Referenced by ewl_tree_view_freebox_new().
Ewl_Widget* ewl_tree_view_freebox_new | ( | void | ) |
Creates and initializes a new Ewl_Tree_View_Freebox widget.
- Returns:
- Returns a new Ewl_Widget on success or NULL on failure
References DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_PTR, EWL_TREE_VIEW_FREEBOX, ewl_tree_view_freebox_init(), ewl_widget_destroy(), and NEW.