DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

XmMenuPosition(Xm)


XmMenuPosition -- a RowColumn function that positions a Popup MenuPane

Syntax

#include <Xm/RowColumn.h>

void XmMenuPosition (menu, event) Widget menu; 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.

menu
Specifies the PopupMenu to be positioned

event
Specifies the event passed to the action procedure which manages the PopupMenu

For a complete definition of RowColumn and its associated resources, see XmRowColumn(Xm).

See also

XmRowColumn(Xm)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005