typedef struct _OmtkWidget { } OmtkWidget;
This structure is used for all widgets. Do not access it directly.
OmtkWidget *omtk_widget_create(int type, \ void (*free_function)(OmtkWidget *widget));
This function creates a new widget. Don't use this function if you don't know what you do.
void omtk_widget_retain(OmtkWidget *widget);
Increases the reference count of a widget.
void omtk_widget_release(OmtkWidget *widget);
Decreases the reference count of a widget.
void omtk_widget_free(OmtkWidget *widget);
This function frees a widget. Don't use this function if you don't know what you do.
OmtkWidget *omtk_widget_parent(OmtkWidget *widget);
Returns the parent widget of a widget.
void omtk_widget_custom_set(OmtkWidget *widget, void *custom);
With this function you can assign a pointer to a widget. omtk won't use this pointer.
void *omtk_widget_custom_get(OmtkWidget *widget);
Returns the pointer which was set with omtk_widget_custom_set().
Added in omtk 0.1.2.
OmtkWidget *omtk_widget_lookup(OmtkWidget *parent, char *name);
Added in omtk 0.1.2.
void omtk_widget_register(OmtkWidget *parent, OmtkWidget *widget, char *name);
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> |