XmGetPostedFromWidget(3X)XmGetPostedFromWidget(3X)NAME
XmGetPostedFromWidget - A RowColumn function that returns the widget from which a menu was posted
SYNOPSIS
#include <Xm/RowColumn.h>
Widget XmGetPostedFromWidget (menu)
Widget menu;
DESCRIPTION
XmGetPostedFromWidget returns the widget from which a menu was posted. For torn-off menus, this function returns the widget from which the
menu was originally torn. An application can use this routine during the activate callback to determine the context in which the menu call-
back should be interpreted. Specifies the widget ID of the menu
For a complete definition of RowColumn and its associated resources, see XmRowColumn(3X).
RETURN VALUE
Returns the widget ID of the widget from which the menu was posted. If the menu is a Popup Menu, the returned widget is the widget from
which the menu was popped up. If the menu is a Pulldown Menu, the returned widget is the MenuBar or OptionMenu from which the widget was
pulled down.
SEE ALSO XmRowColumn(3X)XmGetPostedFromWidget(3X)
Check Out this Related Man Page
XmAddToPostFromList(library call) XmAddToPostFromList(library call)
NAME
XmAddToPostFromList -- a RowColumn function that makes a menu accessible from more than one widget
SYNOPSIS
#include <Xm/RowColumn.h>
void XmAddToPostFromList(
Widget menu,
Widget post_from_widget);
DESCRIPTION
XmAddToPostFromList makes a menu accessible from more than one widget. After a menu is once created, this function may be used to make that
menu accessible from a second widget. The process may be repeated indefinitely. In other words, where an application would use XmCreatePop-
upMenu or XmCreatePulldownMenu or their equivalent to create a new menu identical to one that already exists, it can use this function to
reuse that earlier menu.
If menu refers to a Popup menu, then the post_from_widget widget can now pop up the specified menu. The actual posting of the menu occurs
as it always does, either through an event handler, or the automatic popup menu support (see the XmRowColumn(3) reference page).
If menu refers to a Pulldown menu, its ID is placed in the XmNsubMenuId resource of the specified post_from_widget. In this case, the
post_from_widget widget must be either a CascadeButton or a CascadeButtonGadget.
Note that this function manipulates the internal structures themselves, not a copy of them.
menu Specifies the ID of the RowColumn widget containing the menu (Popup or Pulldown) to be made accessible from the widget.
post_from_widget
Specifies the widget ID of the widget which will now be able to post the menu specified by menu.
For a complete definition of RowColumn and its associated resources, see XmRowColumn(3).
RELATED XmGetPostedFromWidget(3), XmRemoveFromPostFromList(3), and XmRowColumn(3).
XmAddToPostFromList(library call)
Hi Folks,
Today hasn't been the best one of my career in IT.
I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them.
At the... (3 Replies)