omtk - a platform independent GUI toolkit

Documentation

 

Menu

Functions

omtk_menu_create()

OmtkWidget *omtk_menu_create(void);

Creates a new menu.

omtk_menu_item_append()

void omtk_menu_item_append(OmtkWidget *menu, OmtkWidget *item);

Appends an item to a menu.

Updated in omtk 0.1.2.

omtk_menu_item_appendquick

OmtkWidget *omtk_menu_item_appendquick(OmtkWidget *menu, char *label, \
    unsigned short modifier, unsigned short key, \
    int (*function)(OmtkEvent *e), void *custom);

omtk_menu_item_remove()

void omtk_menu_item_remove(OmtkWidget *item);

Removes an item from a menu.

omtk_menu_free()

void omtk_menu_free(OmtkWidget *widget);

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