manpagez: man pages & more
man XmMenuPosition(3)
Home | html | info | man
XmMenuPosition(library call)                      XmMenuPosition(library call)




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
       itself, it must first invoke this function before managing  the  Popup-
       Menu.   The  x_root and y_root fields in the specified X event are used
       to determine 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(library call)

openMotif 2.3.1 - Generated Mon Dec 1 19:50:43 CST 2008
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.