diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2021-10-20 23:22:45 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2021-10-20 23:22:45 +0000 |
commit | 332fa27640b1901ac632e6d37a4aa9643d0f8594 (patch) | |
tree | bfb5303e24d1cd4ddd22df12f45a013fefb9ca23 /man/menu_hook.3x | |
parent | ff448436b2b70771d09b8d5ff34a509dcf02f81b (diff) | |
download | ncurses-332fa27640b1901ac632e6d37a4aa9643d0f8594.tar.gz |
ncurses-6.3HEADncurses-6.3master
Diffstat (limited to 'man/menu_hook.3x')
-rw-r--r-- | man/menu_hook.3x | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/man/menu_hook.3x b/man/menu_hook.3x index adf0cb4..17a1036 100644 --- a/man/menu_hook.3x +++ b/man/menu_hook.3x @@ -28,28 +28,28 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: menu_hook.3x,v 1.14 2020/02/02 23:34:34 tom Exp $ +.\" $Id: menu_hook.3x,v 1.15 2020/10/17 23:44:57 tom Exp $ .TH menu_hook 3X "" .SH NAME \fBmenu_hook\fR \- set hooks for automatic invocation by applications .SH SYNOPSIS \fB#include <menu.h>\fR +.sp +\fBint set_item_init(MENU *\fP\fImenu\fP\fB, Menu_Hook \fP\fIfunc);\fP .br -int set_item_init(MENU *menu, Menu_Hook func); +\fBMenu_Hook item_init(const MENU *\fP\fImenu);\fP +.sp +\fBint set_item_term(MENU *\fP\fImenu\fP\fB, Menu_Hook \fP\fIfunc);\fP .br -Menu_Hook item_init(const MENU *menu); +\fBMenu_Hook item_term(const MENU *\fP\fImenu);\fP +.sp +\fBint set_menu_init(MENU *\fP\fImenu\fP\fB, Menu_Hook \fP\fIfunc);\fP .br -int set_item_term(MENU *menu, Menu_Hook func); +\fBMenu_Hook menu_init(const MENU *\fP\fImenu);\fP +.sp +\fBint set_menu_term(MENU *\fP\fImenu\fP\fB, Menu_Hook \fP\fIfunc);\fP .br -Menu_Hook item_term(const MENU *menu); -.br -int set_menu_init(MENU *menu, Menu_Hook func); -.br -Menu_Hook menu_init(const MENU *menu); -.br -int set_menu_term(MENU *menu, Menu_Hook func); -.br -Menu_Hook menu_term(const MENU *menu); +\fBMenu_Hook menu_term(const MENU *\fP\fImenu);\fP .br .SH DESCRIPTION These functions make it possible to set hook functions to be called at various |