1XmAddToPostFromList(library call)            XmAddToPostFromList(library call)
2
3
4

NAME

6       XmAddToPostFromList — a RowColumn function that makes a menu accessible
7       from more than one widget
8

SYNOPSIS

10       #include <Xm/RowColumn.h>
11
12       void XmAddToPostFromList(
13       Widget menu,
14       Widget post_from_widget);
15

DESCRIPTION

17       XmAddToPostFromList makes a menu accessible from more than one  widget.
18       After  a  menu  is once created, this function may be used to make that
19       menu accessible from a second  widget.  The  process  may  be  repeated
20       indefinitely.  In  other  words,  where an application would use XmCre‐
21       atePopupMenu or XmCreatePulldownMenu or their equivalent  to  create  a
22       new menu identical to one that already exists, it can use this function
23       to reuse that earlier menu.
24
25       If menu refers to a Popup menu, then the  post_from_widget  widget  can
26       now pop up the specified menu. The actual posting of the menu occurs as
27       it always does, either through an event handler, or the automatic popup
28       menu support (see the XmRowColumn(3) reference page).
29
30       If menu refers to a Pulldown menu, its ID is placed in the XmNsubMenuId
31       resource  of  the  specified  post_from_widget.   In  this  case,   the
32       post_from_widget widget must be either a CascadeButton or a CascadeBut‐
33       tonGadget.
34
35       Note that this function manipulates the internal structures themselves,
36       not a copy of them.
37
38       menu      Specifies  the ID of the RowColumn widget containing the menu
39                 (Popup or Pulldown) to be made accessible from the widget.
40
41       post_from_widget
42                 Specifies the widget ID of the widget which will now be  able
43                 to post the menu specified by menu.
44
45       For  a  complete  definition of RowColumn and its associated resources,
46       see XmRowColumn(3).
47
49       XmGetPostedFromWidget(3),  XmRemoveFromPostFromList(3),  and  XmRowCol‐
50       umn(3).
51
52
53
54                                             XmAddToPostFromList(library call)
Impressum