1XmMenuPosition(library call) XmMenuPosition(library call)
2
3
4
6 XmMenuPosition — A RowColumn function that positions a Popup menu pane
7
9 #include <Xm/RowColumn.h>
10 void XmMenuPosition(
11 Widget menu,
12 XButtonPressedEvent * event);
13
15 XmMenuPosition positions a Popup menu pane using the information in the
16 specified event. Unless an application is positioning the menu pane
17 itself, it must first invoke this function before managing the Popup‐
18 Menu. The x_root and y_root fields in the specified X event are used
19 to determine the menu position.
20
21 menu Specifies the PopupMenu to be positioned
22
23 event Specifies the event passed to the action procedure which man‐
24 ages the PopupMenu
25
26 Which corner of the PopupMenu is positioned at the x_root and y_root
27 depends on the XmNlayoutDirection resource of the widget from which
28 popup occurs.
29
30 For a complete definition of RowColumn and its associated resources,
31 see XmRowColumn(3).
32
34 XmRowColumn(3).
35
36
37
38 XmMenuPosition(library call)