[ Previous | Next | Contents | Glossary | Home | Search ]
Motif 2.1 Programmer's Reference


XmRemoveFromPostFromList

a RowColumn function that disables a menu for a particular widget

Format

#include
<Xm/RowColumn.h>
void XmRemoveFromPostFromList
Widget
menuWidget post_from_widget

DESCRIPTION

XmRemoveFromPostFromList makes a Popup or Pulldown menu no longer accessible from a widget. This function does not destroy a menu, or deallocate the memory associated with it. It simply removes the widget from the menu's list of widgets permitted to post that menu.

If the menu argument refers to a Popup menu, the event handlers are removed from the post_from_widget widget. If the argument refers to a Pulldown menu, its ID is removed from the XmNsubMenuId of the specified post_from_widget. Also, if the menu is a Pulldown menu, the post_from_widget widget must be either a CascadeButton or a CascadeButtonGadget.

menu
Specifies the widget ID of a the Popup or Pulldown menu to be made inaccessible from the post_from_widget widget.

post_from_widget
Specifies the widget ID of the widget which can no longer post the menu referred to by the menu argument..

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

RELATED

XmAddToPostFromList (3), XmGetPostedFromWidget (3), and XmRowColumn (3).


[ Previous | Next | Contents | Glossary | Home | Search ]