Etk
Main Page Object Hierarchy Data Structures Related Pages
Etk

etk_box.c File Reference


Detailed Description


Functions

Etk_Widget * etk_hbox_new (Etk_Bool homogeneous, int spacing)
 Creates a new hbox.
Etk_Widget * etk_vbox_new (Etk_Bool homogeneous, int spacing)
 Creates a new vbox.
void etk_box_prepend (Etk_Box *box, Etk_Widget *child, Etk_Box_Group group, Etk_Box_Fill_Policy fill_policy, int padding)
 Packs a widget at the start of one of the two child-groups of the box.
void etk_box_append (Etk_Box *box, Etk_Widget *child, Etk_Box_Group group, Etk_Box_Fill_Policy fill_policy, int padding)
 Packs a widget at the end of one of the two child-groups of the box.
void etk_box_insert (Etk_Box *box, Etk_Widget *child, Etk_Box_Group group, Etk_Widget *after, Etk_Box_Fill_Policy fill_policy, int padding)
 Packs a widget after another widget, in one of the two child-groups of the box.
void etk_box_insert_at (Etk_Box *box, Etk_Widget *child, Etk_Box_Group group, int pos, Etk_Box_Fill_Policy fill_policy, int padding)
 Packs a widget at a given position, in one of the two child-groups of the box.
Etk_Widget * etk_box_child_get_at (Etk_Box *box, Etk_Box_Group group, int pos)
 Gets the child at a given position in the box.
void etk_box_child_position_set (Etk_Box *box, Etk_Widget *child, Etk_Box_Group group, int pos)
 Changes the position of a child of the box.
Etk_Bool etk_box_child_position_get (Etk_Box *box, Etk_Widget *child, Etk_Box_Group *group, int *pos)
 Gets the position of a child of the box.
void etk_box_child_packing_set (Etk_Box *box, Etk_Widget *child, Etk_Box_Fill_Policy fill_policy, int padding)
 Changes the packing settings of a child of the box.
Etk_Bool etk_box_child_packing_get (Etk_Box *box, Etk_Widget *child, Etk_Box_Fill_Policy *fill_policy, int *padding)
 Gets the packing settings of a child of the box.
void etk_box_spacing_set (Etk_Box *box, int spacing)
 Sets the amount of free space between two cells.
int etk_box_spacing_get (Etk_Box *box)
 Gets the amount of free space between two cells.
void etk_box_homogeneous_set (Etk_Box *box, Etk_Bool homogeneous)
 Sets whether or not all the cells of the box should have the same size.
Etk_Bool etk_box_homogeneous_get (Etk_Box *box)
 Gets whether or not all the cells of the box have the same size.