1XmGetPostedFromWidget(library call) XmGetPostedFromWidget(library call)
2
3
4
6 XmGetPostedFromWidget — A RowColumn function that returns the widget
7 from which a menu was posted
8
10 #include <Xm/RowColumn.h>
11 Widget XmGetPostedFromWidget(
12 Widget menu);
13
15 XmGetPostedFromWidget returns the widget from which a menu was posted.
16 For torn-off menus, this function returns the widget from which the
17 menu was originally torn. An application can use this routine during
18 the activate callback to determine the context in which the menu call‐
19 back should be interpreted.
20
21 menu Specifies the widget ID of the menu
22
23 For a complete definition of RowColumn and its associated resources,
24 see XmRowColumn(3).
25
27 Returns the widget ID of the widget from which the menu was posted. If
28 the menu is a Popup Menu, the returned widget is the widget from which
29 the menu was popped up. If the menu is a Pulldown Menu, the returned
30 widget is the MenuBar or OptionMenu from which the widget was pulled
31 down.
32
34 XmRowColumn(3).
35
36
37
38 XmGetPostedFromWidget(library call)