menu_hook man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

MENU_HOOK(3)		 BSD Library Functions Manual		  MENU_HOOK(3)

NAME
     item_init, item_term, menu_init, menu_term, set_item_init, set_item_term,
     set_menu_init, set_menu_term — get or set handler functions for menu
     post/unpost or item change

LIBRARY
     Curses Menu Library (libmenu, -lmenu)

SYNOPSIS
     #include <menu.h>

     void (*hook)()
     item_init(MENU *menu);

     void (*hook)()
     item_term(MENU *menu);

     void (*hook)()
     menu_init(MENU *menu);

     void (*hook)()
     menu_term(MENU *menu);

     int
     set_item_init(MENU *menu, void (*hook)()));

     int
     set_item_term(MENU *menu, void (*hook)()));

     int
     set_menu_init(MENU *menu, void (*hook)()));

     int
     set_menu_term(MENU *menu, void (*hook)()));

DESCRIPTION
     The item_init() function returns a pointer to the function that will be
     called whenever the menu is posted and also just after the current item
     changes.  This is set by the set_item_init() call.	 The item_term() func‐
     tion returns a pointer to the function that will be called before the
     menu is unposted and just before the current item changes, this pointer
     is set by the set_item_term() call.  The menu_init() functions returns a
     pointer to the function that will be called just before the menu is
     posted to the screen.  This pointer is set by the set_menu_init() func‐
     tion call.	 The menu_term() function returns a pointer to the function
     that will be called just after the menu has been unposted, this pointer
     is set by the set_menu_term() function.

SEE ALSO
     curses(3), menus(3)

NOTES
     The header <menu.h> automatically includes both <curses.h> and <eti.h>.

BSD			      September 10, 1999			   BSD
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net