#define OMTK_DIR_HORIZONTAL
A horizontal box.
#define OMTK_DIR_VERTICAL
A vertical box.
OmtkWidget *omtk_box_create(int dir);
Returns a new box. dir can be OMTK_DIR_HORIZONTAL or OMTK_DIR_VERTICAL.
OmtkWidget *omtk_box_create_h(void);
Is the same as omtk_box_create(OMTK_DIR_HORIZONTAL).
OmtkWidget *omtk_box_create_v(void);
Is the same as omtk_box_create(OMTK_DIR_VERTICAL).
void omtk_box_append(OmtkWidget *box, OmtkWidget *child, \ int stretch, int size);
Appends an element (child) to the box. If stretch is TRUE, the child will be stretched. size is the minimal size of the child.
void omtk_box_remove(OmtkWidget *box, OmtkWidget *child);
Removes an element (child) of the box.
void omtk_box_free(OmtkWidget *widget);
Frees the box. Do not call this function directly.
Zurück zu www.eggdrop.ch | Back to www.eggdrop.ch Last update: 20.02.04 |
Copyright (C) 2004, 2005 by Thomas "tom" Steinacher <tom at eggdrop.ch> |