Unix/Linux Go Back    

RedHat 9 (Linux i386) - man page for xmmenuposition (redhat section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

XmMenuPosition(library call)					     XmMenuPosition(library call)

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

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

       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 func-
       tion before managing the PopupMenu.  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 manages the PopupMenu

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

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


								     XmMenuPosition(library call)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 02:53 PM.