]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/menu_driver.3x
ncurses 6.4 - patch 20230701
[ncurses.git] / man / menu_driver.3x
index 585ab287c59b1435053624651f82ec29c091120c..7709952fff2a028339ce4cd5dbc12b3a9cafff35 100644 (file)
@@ -1,5 +1,5 @@
 .\"***************************************************************************
-.\" Copyright 2018-2021,2022 Thomas E. Dickey                                *
+.\" Copyright 2018-2022,2023 Thomas E. Dickey                                *
 .\" Copyright 1998-2010,2017 Free Software Foundation, Inc.                  *
 .\"                                                                          *
 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
@@ -27,8 +27,8 @@
 .\" authorization.                                                           *
 .\"***************************************************************************
 .\"
-.\" $Id: menu_driver.3x,v 1.32 2022/02/12 20:05:11 tom Exp $
-.TH menu_driver 3X 2022-02-12 "ncurses 6.4" "Library calls"
+.\" $Id: menu_driver.3x,v 1.35 2023/07/01 15:46:10 tom Exp $
+.TH menu_driver 3X 2023-07-01 "ncurses 6.4" "Library calls"
 .de bP
 .ie n  .IP \(bu 4
 .el    .IP \(bu 2
@@ -39,7 +39,6 @@
 \fB#include <menu.h>\fP
 .sp
 \fBint menu_driver(MENU *\fImenu\fB, int \fIc\fB);\fR
-.br
 .SH DESCRIPTION
 Once a menu has been posted (displayed), you should funnel input events to it
 through \fBmenu_driver\fP.  This routine has three major input cases:
@@ -117,7 +116,6 @@ If there is no such match, \fBmenu_driver\fP returns
 If the second argument is one of the above pre-defined requests, the
 corresponding action is performed.
 .SS MOUSE HANDLING
-.PP
 If the second argument is the KEY_MOUSE special key, the associated
 mouse event is translated into one of the above pre-defined requests.
 Currently only clicks in the user window (e.g., inside the menu display
@@ -158,7 +156,6 @@ If you clicked outside the user window
 or the mouse event could not be translated
 into a menu request an \fBE_REQUEST_DENIED\fP is returned.
 .SS APPLICATION-DEFINED COMMANDS
-.PP
 If the second argument is neither printable nor one of the above
 pre-defined menu requests or KEY_MOUSE,
 the drive assumes it is an application-specific