Download

Support

lib/ewl_box.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_Box
 Inherits from an Ewl_Container to provide layout facilities for child widgets placed inside. More...

Defines

#define EWL_BOX(box)   ((Ewl_Box *) box)
#define EWL_BOX_IS(w)   (ewl_widget_type_is(EWL_WIDGET(w), EWL_BOX_TYPE))
#define EWL_BOX_TYPE   "box"

Typedefs

typedef struct Ewl_Box Ewl_Box

Functions

void ewl_box_cb_child_hide (Ewl_Container *c, Ewl_Widget *w)
void ewl_box_cb_child_homogeneous_resize (Ewl_Container *c, Ewl_Widget *w, int size, Ewl_Orientation o)
void ewl_box_cb_child_homogeneous_show (Ewl_Container *c, Ewl_Widget *w)
void ewl_box_cb_child_resize (Ewl_Container *c, Ewl_Widget *w, int size, Ewl_Orientation o)
void ewl_box_cb_child_show (Ewl_Container *c, Ewl_Widget *w)
void ewl_box_cb_configure (Ewl_Widget *w, void *ev_data, void *user_data)
void ewl_box_cb_configure_homogeneous (Ewl_Widget *w, void *ev_data, void *user_data)
unsigned int ewl_box_homogeneous_get (Ewl_Box *b)
 Retrieves the layout of the box.
void ewl_box_homogeneous_set (Ewl_Box *b, unsigned int h)
 Change the homogeneous layout of the box, setting TRUE will give all children the same size.
int ewl_box_init (Ewl_Box *box)
 Initialize the box to starting values.
Ewl_Widgetewl_box_new (void)
 Allocate and initialize a new box with given orientation.
Ewl_Orientation ewl_box_orientation_get (Ewl_Box *b)
 Retrieves the orientation of the box.
void ewl_box_orientation_set (Ewl_Box *b, Ewl_Orientation o)
 Change the specified box's orientation.
void ewl_box_spacing_set (Ewl_Box *b, int spacing)
 Changes the spacing between the objects in the box.
Ewl_Widgetewl_hbox_new (void)
 Allocate and initialize a new box with horizontal orientation.
Ewl_Widgetewl_vbox_new (void)
 Allocate and initialize a new box with vertical orientation.

Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sat May 17 16:49:16 2008