omtk - a platform independent GUI toolkit

Documentation

 

Label

Constants

OMTK_ALIGN_*

OMTK_ALIGN_LEFT
OMTK_ALIGN_RIGHT
OMTK_ALIGN_CENTER
OMTK_ALIGN_FILL

The alignment of the label.

Functions

omtk_label_create()

OmtkWidget *omtk_label_create(char *text);

Returns a new label with the specified text. The default alignment is OMTK_ALIGN_LEFT.

omtk_label_get()

char *omtk_label_get(OmtkWidget *label);

Returns the text of the label.

omtk_label_set()

void omtk_label_set(OmtkWidget *label, char *text);

Sets the new text of the label.

omtk_align_set()

void omtk_align_set(OmtkWidget *label, int align);

Sets the alignment of the label. align can be a constant which begins with OMTK_ALIGN_*.

omtk_label_free()

void omtk_label_free(OmtkWidget *widget);

Frees the label. 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!