omtk - a platform independent GUI toolkit

Documentation

 

Input

The following events and functions have been added in omtk 0.1.2.

Events

OMTK_EVENT_TEXT_DID_CHANGE

#define OMTK_EVENT_TEXT_DID_CHANGE

This event is called when the user changes the text of the label.

Functions

omtk_input_create()

OmtkWidget *omtk_input_create(void);

Creates a new input widget.

omtk_input_label_get()

char *omtk_input_label_get(OmtkWidget *input);

Returns the text of the input.

omtk_input_label_set()

void omtk_input_label_set(OmtkWidget *input, char *label);

Sets the new label of the input.

omtk_input_free()

void omtk_input_free(OmtkWidget *widget);

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