WMENU_ACTIVATE(3W)
Series 300 and 500 Only
NAME
wmenu_activate − activate a menu
SYNOPSIS
wmenu_activate (fd, menuid, value)
int fd;
int menuid;
int value;
DESCRIPTION
fd the file descriptor for an opened window type device interface.
menuid
id of the menu whose activation status will be changed or inquired.
value determines the action take by this routine:
-1 inquires (returns) present value: 0 means that automatic pop-up is disabled; 1 means that automatic pop-up is enabled
0 disable automatic pop-up of the menu
1 will pop-up the menu automatically upon next press of an enabled start menu button
2 pops up the menu immediately, thereby waiting for a selection of an item
See window.h for named definitions of the values.
DISCUSSION
This routine inquires or changes the menu activation state, as determined by the value parameter described above.
SEE ALSO
wmenu_create(3W), wmenu_destroy(3W), wmenu_eventread(3W), wmenu_item(3W).
DIAGNOSTICS
If fd, menuid, or value is invalid; a -1 is returned. See errno(2) for further information.
Hewlett-Packard Company — May 11, 2021