Etk
Main Page Object Hierarchy Data Structures Related Pages
Etk

etk_paned.h File Reference


Detailed Description


Data Structures

struct  Etk_Paned
 [Widget] A container that can contain two children separated by a draggable separator More...
struct  Etk_HPaned
 [Widget] A horizontal paned container More...
struct  Etk_VPaned
 [Widget] A vertical paned container More...

Defines

#define ETK_PANED_TYPE   (etk_paned_type_get())
#define ETK_PANED(obj)   (ETK_OBJECT_CAST((obj), ETK_PANED_TYPE, Etk_Paned))
#define ETK_IS_PANED(obj)   (ETK_OBJECT_CHECK_TYPE((obj), ETK_PANED_TYPE))
#define ETK_HPANED_TYPE   (etk_hpaned_type_get())
#define ETK_HPANED(obj)   (ETK_OBJECT_CAST((obj), ETK_HPANED_TYPE, Etk_HPaned))
#define ETK_IS_HPANED(obj)   (ETK_OBJECT_CHECK_TYPE((obj), ETK_HPANED_TYPE))
#define ETK_VPANED_TYPE   (etk_vpaned_type_get())
#define ETK_VPANED(obj)   (ETK_OBJECT_CAST((obj), ETK_VPANED_TYPE, Etk_VPaned))
#define ETK_IS_VPANED(obj)   (ETK_OBJECT_CHECK_TYPE((obj), ETK_VPANED_TYPE))

Functions

Etk_Widget * etk_hpaned_new (void)
 Creates a new horizontal paned container.
Etk_Widget * etk_vpaned_new (void)
 Creates a new vertical paned container.
void etk_paned_child1_set (Etk_Paned *paned, Etk_Widget *child, Etk_Bool expand)
 Sets the first child of the paned (the left one for a hpaned, the top one for a vpaned).
void etk_paned_child2_set (Etk_Paned *paned, Etk_Widget *child, Etk_Bool expand)
 Sets the second child of the paned (the right one for a hpaned, the bottom one for a vpaned).
Etk_Widget * etk_paned_child1_get (Etk_Paned *paned)
 Gets the first child of the paned (the left one for a hpaned, the top one for a vpaned).
Etk_Widget * etk_paned_child2_get (Etk_Paned *paned)
 Gets the second child of the paned (the right one for a hpaned, the bottom one for a vpaned).
void etk_paned_child1_expand_set (Etk_Paned *paned, Etk_Bool expand)
 Sets whether the first child should expand as much as possible when the paned is resized.
void etk_paned_child2_expand_set (Etk_Paned *paned, Etk_Bool expand)
 Sets whether the second child should expand as much as possible when the paned is resized.
Etk_Bool etk_paned_child1_expand_get (Etk_Paned *paned)
 Gets whether the first child expands.
Etk_Bool etk_paned_child2_expand_get (Etk_Paned *paned)
 Gets whether the second child expands.
void etk_paned_position_set (Etk_Paned *paned, int position)
 Sets the position in pixels of the separator of the paned.
int etk_paned_position_get (Etk_Paned *paned)
 Gets the position in pixels of the separator of the paned.