omtk - a platform independent GUI toolkit

Documentation

 

Box

Constants

OMTK_DIR_HORIZONTAL

#define OMTK_DIR_HORIZONTAL

A horizontal box.

OMTK_DIR_VERTICAL

#define OMTK_DIR_VERTICAL

A vertical box.

Functions

omtk_box_create()

OmtkWidget *omtk_box_create(int dir);

Returns a new box. dir can be OMTK_DIR_HORIZONTAL or OMTK_DIR_VERTICAL.

omtk_box_create_h()

OmtkWidget *omtk_box_create_h(void);

Is the same as omtk_box_create(OMTK_DIR_HORIZONTAL).

omtk_box_create_v()

OmtkWidget *omtk_box_create_v(void);

Is the same as omtk_box_create(OMTK_DIR_VERTICAL).

omtk_box_append()

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.

omtk_box_remove()

void omtk_box_remove(OmtkWidget *box, OmtkWidget *child);

Removes an element (child) of the box.

omtk_box_free()

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>

SourceForge.net Logo Valid HTML 4.0!