XmMenuPosition(3Xm) — UNIX Programmer’s Manual
NAME
XmMenuPosition — a RowColumn function that positions a Popup MenuPane.
SYNOPSIS
#include <Xm/RowColumn.h> void XmMenuPosition (menu, event)
Widgetmenu;
XButtonPressedEvent ∗ event;
DESCRIPTION
XmMenuPosition positions a Popup MenuPane using the information in the specified event. Unless an application is positioning the MenuPane itself, it must first invoke this function before managing the PopupMenu. The x_root and y_root values in the specified event are used to determine the menu position.
menuSpecifies the PopupMenu which is to be positioned.
eventSpecifies the event passed to the action procedure which manages the PopupMenu.
For a complete definition of RowColumn and its associated resources, see XmRowColumn(3Xm).
RELATED INFORMATION
7th Edition