SYNOPSIS
#include <menu.h>
int set_item_init(MENU *menu, void (*func)(MENU *));
void (*)(MENU *) item_init(const MENU *menu);
int set_item_term(MENU *menu, void (*func)(MENU *));
void (*)(MENU *) item_term(const MENU *menu);
int set_menu_init(MENU *menu, void (*func)(MENU *));
void (*)(MENU *) menu_init(const MENU *menu);
int set_menu_term(MENU *menu, void (*func)(MENU *));
void (*)(MENU *) menu_term(const MENU *menu);
DESCRIPTION
These functions make it possible to set hook functions to
be called at various points in the automatic processing of
input event codes by
The function
The function
The function
The function
RETURN VALUES
Routines that return pointers return NULL on error. Other routines return one of the following:
NOTES
The header file <menu.h> automatically includes the header file <curses.h>.
PORTABILITY
These routines emulate the System V menu library. They were not supported on Version 7 or BSD versions.
AUTHORS
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.4 Documentation Build 39.