Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XmMenuPosition(3)	   Library Functions Manual	     XmMenuPosition(3)

NAME
       XmMenuPosition -- A RowColumn function that positions a Popup menu pane

SYNOPSIS
       #include	<Xm/RowColumn.h>
       void XmMenuPosition(
       Widget menu,
       XButtonPressedEvent * event);

DESCRIPTION
       XmMenuPosition positions	a Popup	menu pane using	the information	in the
       specified event.	Unless an application is positioning the menu pane it-
       self, it	must first invoke this function	before managing	the PopupMenu.
       The x_root and y_root fields in the specified X event are used  to  de-
       termine the menu	position.

       menu	 Specifies the PopupMenu to be positioned

       event	 Specifies the event passed to the action procedure which man-
		 ages the PopupMenu

       Which corner of the PopupMenu is	positioned at the  x_root  and	y_root
       depends	on  the	 XmNlayoutDirection  resource of the widget from which
       popup occurs.

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

RELATED
       XmRowColumn(3).

							     XmMenuPosition(3)

NAME | SYNOPSIS | DESCRIPTION | RELATED

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=XmMenuPosition&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help