]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/menu_hook.3x
ncurses 6.4 - patch 20230918
[ncurses.git] / man / menu_hook.3x
index 4ff7421a005177e2810731a71d183127b6b04458..a3b53d9bed25b2d9f44462efd9bc2bb4a1707c7e 100644 (file)
@@ -1,6 +1,6 @@
 '\" t
 .\"***************************************************************************
-.\" Copyright 2018-2020,2021 Thomas E. Dickey                                *
+.\" Copyright 2018-2022,2023 Thomas E. Dickey                                *
 .\" Copyright 1998-2007,2010 Free Software Foundation, Inc.                  *
 .\"                                                                          *
 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
 .\" authorization.                                                           *
 .\"***************************************************************************
 .\"
-.\" $Id: menu_hook.3x,v 1.17 2021/12/25 21:49:32 tom Exp $
-.TH menu_hook 3X ""
+.\" $Id: menu_hook.3x,v 1.24 2023/09/16 23:38:39 tom Exp $
+.TH menu_hook 3X 2023-09-16 "ncurses 6.4" "Library calls"
 .SH NAME
-\fBmenu_hook\fP \- set hooks for automatic invocation by applications
+\fBmenu_hook\fP \-
+set hooks for automatic invocation by applications
 .SH SYNOPSIS
 \fB#include <menu.h>\fP
 .sp
-\fBint set_item_init(MENU *\fP\fImenu\fP\fB, Menu_Hook \fP\fIfunc);\fP
+\fBint set_item_init(MENU *\fImenu\fB, Menu_Hook \fIfunc);\fR
 .br
-\fBMenu_Hook item_init(const MENU *\fP\fImenu);\fP
+\fBMenu_Hook item_init(const MENU *\fImenu);\fR
 .sp
-\fBint set_item_term(MENU *\fP\fImenu\fP\fB, Menu_Hook \fP\fIfunc);\fP
+\fBint set_item_term(MENU *\fImenu\fB, Menu_Hook \fIfunc);\fR
 .br
-\fBMenu_Hook item_term(const MENU *\fP\fImenu);\fP
+\fBMenu_Hook item_term(const MENU *\fImenu);\fR
 .sp
-\fBint set_menu_init(MENU *\fP\fImenu\fP\fB, Menu_Hook \fP\fIfunc);\fP
+\fBint set_menu_init(MENU *\fImenu\fB, Menu_Hook \fIfunc);\fR
 .br
-\fBMenu_Hook menu_init(const MENU *\fP\fImenu);\fP
+\fBMenu_Hook menu_init(const MENU *\fImenu);\fR
 .sp
-\fBint set_menu_term(MENU *\fP\fImenu\fP\fB, Menu_Hook \fP\fIfunc);\fP
-.br
-\fBMenu_Hook menu_term(const MENU *\fP\fImenu);\fP
+\fBint set_menu_term(MENU *\fImenu\fB, Menu_Hook \fIfunc);\fR
 .br
+\fBMenu_Hook menu_term(const MENU *\fImenu);\fR
 .SH 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 \fBmenu_driver\fP.