Download

Support

lib/ewl_freebox.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Data Structures

struct  Ewl_Freebox
 Inherits from Ewl_Container and extends to allow for differnt layout algorithms. More...

Defines

#define EWL_FREEBOX(box)   ((Ewl_Freebox *)box)
#define EWL_FREEBOX_IS(w)   (ewl_widget_type_is(EWL_WIDGET(w), EWL_FREEBOX_TYPE))
#define EWL_FREEBOX_TYPE   "freebox"

Typedefs

typedef struct Ewl_Freebox Ewl_Freebox
typedef int(* Ewl_Freebox_Comparator )(Ewl_Widget *a, Ewl_Widget *b)

Functions

void ewl_freebox_cb_child_add (Ewl_Container *c, Ewl_Widget *w)
void ewl_freebox_cb_child_show (Ewl_Container *c, Ewl_Widget *w)
void ewl_freebox_cb_configure (Ewl_Widget *w, void *ev, void *data)
Ewl_Freebox_Comparator ewl_freebox_comparator_get (Ewl_Freebox *fb)
 Retrieve the comparator set in the Ewl_Freebox.
void ewl_freebox_comparator_set (Ewl_Freebox *fb, Ewl_Freebox_Comparator cmp)
 Set the comparator to use in the Ewl_Freebox.
int ewl_freebox_init (Ewl_Freebox *fb)
 Initializes an Ewl_Freebox widget to default values.
Ewl_Freebox_Layout_Type ewl_freebox_layout_type_get (Ewl_Freebox *fb)
 Retrieve the layout type of the Ewl_Freebox.
void ewl_freebox_layout_type_set (Ewl_Freebox *fb, Ewl_Freebox_Layout_Type type)
 Set the layout type of the Ewl_Freebox.
Ewl_Widgetewl_freebox_new (void)
 Creates a new, initialized Ewl_Freebox widget.
Ewl_Orientation ewl_freebox_orientation_get (Ewl_Freebox *fb)
 Retrieve the current orientation of the freebox.
void ewl_freebox_orientation_set (Ewl_Freebox *fb, Ewl_Orientation orientation)
 Sets the orientation of the freebox.
void ewl_freebox_resort (Ewl_Freebox *fb)
 This will force the freebox to resort and redraw it's contents. Useful if part of the content changes but no child widgets where added/removed. (An icon label changes for example).
Ewl_Widgetewl_hfreebox_new (void)
 creates and initializes a new freebox widget
Ewl_Widgetewl_vfreebox_new (void)
 creates and initializes a new freebox widget

Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sat May 17 16:50:00 2008