


XmGetPostedFromWidget(3X)			    XmGetPostedFromWidget(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmGGeettPPoosstteeddFFrroommWWiiddggeett	- A RowColumn function that returns the	widget from
  which	a menu was posted

SYNOPSIS


  ##iinncclluuddee <<XXmm//RRoowwCCoolluummnn..hh>>
  WWiiddggeett XXmmGGeettPPoosstteeddFFrroommWWiiddggeett ((_m_e_n_u))
       WWiiddggeett	 _m_e_n_u;;

DESCRIPTION
  XXmmGGeettPPoosstteeddFFrroommWWiiddggeett	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 callback should be
  interpreted.

  _m_e_n_u	 Specifies the widget ID of the	menu

  For a	complete definition of RowColumn and its associated resources, see
  XXmmRRoowwCCoolluummnn((33XX)).

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.

RELATED	INFORMATION
  XXmmRRoowwCCoolluummnn((33XX)).



























