Etk
Main Page Object Hierarchy Data Structures Related Pages
Etk

etk_container.c File Reference


Detailed Description


Functions

void etk_container_add (Etk_Container *container, Etk_Widget *widget)
 Adds a child to the container.
void etk_container_remove (Etk_Widget *widget)
 Removes a child from its container. It is equivalent to etk_widget_parent_set(widget, NULL).
void etk_container_remove_all (Etk_Container *container)
 Unpacks all the children of the container.
void etk_container_border_width_set (Etk_Container *container, int border_width)
 Sets the border width of a container. The border width is the amount of space left around the inside of the container. To add free space around the outside of a container, you can use etk_widget_padding_set().
int etk_container_border_width_get (Etk_Container *container)
 Gets the border width of the container.
Evas_List * etk_container_children_get (Etk_Container *container)
 Gets the list of the children of the container. It simply calls the "childrend_get()" method of the container.
Etk_Bool etk_container_is_child (Etk_Container *container, Etk_Widget *widget)
 Gets whether the widget is a child of the container.
void etk_container_for_each (Etk_Container *container, void(*for_each_cb)(Etk_Widget *child))
 Calls for_each_cb(child) for each child of the container.
void etk_container_for_each_data (Etk_Container *container, void(*for_each_cb)(Etk_Widget *child, void *data), void *data)
 Calls for_each_cb(child, data) for each child of the container.
void etk_container_child_space_fill (Etk_Widget *child, Etk_Geometry *child_space, Etk_Bool hfill, Etk_Bool vfill, float xalign, float yalign)
 A utility function that resizes the given space according to the specified fill-policy. It is mainly used by container implementations.