X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;ds=sidebyside;f=man%2Fmenu_driver.3x;h=7709952fff2a028339ce4cd5dbc12b3a9cafff35;hb=aef6681d538d4bd02cfdf9f52aeefec62488efd6;hp=706005fa21649a4b28ef602d599d9ae088a3c554;hpb=16fbf3f4f7d96b6ee6bf9159b22f26e05962aa3d;p=ncurses.git diff --git a/man/menu_driver.3x b/man/menu_driver.3x index 706005fa..7709952f 100644 --- a/man/menu_driver.3x +++ b/man/menu_driver.3x @@ -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.31 2022/02/12 20:05:11 tom Exp $ -.TH menu_driver 3X "" +.\" $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 \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