omtk - a platform independent GUI toolkit

Documentation

 

Button

Events

OMTK_EVENT_DID_CLICK

#define OMTK_EVENT_DID_CLICK

This event is called when the user clicks the button.

Functions

omtk_button_create()

OmtkWidget *omtk_button_create(char *label);

Returns a new button with a label.

omtk_button_label_set()

void omtk_button_label_set(OmtkWidget *button, char *label);

Sets the label of the button.

omtk_button_label_get()

char *omtk_button_label_get(OmtkWidget *button);

Returns the label of the button.

omtk_button_free()

void omtk_button_free(OmtkWidget *widget);

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