Manual Reference Pages - XMTMENUPOPUPHANDLER (3)
XmtMenuPopupHandler() - remove the default event handler
registered for an XmtMenu popup menu pane.
XtRemoveEventHandler(parent, ButtonPressMask, False,
extern void XmtMenuPopupHandler(Widget, XtPointer, XEvent *, Boolean *);
The widget for which the popup event handler is to
be removed. This is the parent of the popup
menu-the widget that was passed to XmtCreatePopupMenu().
The popup menu pane that you do not want to be
automatically popped up. This is the widget
returned by a call to XmtCreatePopupMenu().
XmtMenuPopupHandler() is an event handler (of the standard Xt
XtEventHandler type) that is automatically registered on all
XmtMenu popup menu panes by XmtCreatePopupMenu(). This event
handler is appropriate in most circumstances, but there are
times when you may want to unregister it so that you can register
a custom event handler to popup the menu under your
Since XmtMenuPopupHandler() is never meant to be called
directly, its arguments are not described above. Instead,
the Synopsis section shows a call to XtRemoveEventHandler()
that you can use to unregister it.
Chapter 20, Easy Menu Creation,
|Xmt ||XMTMENUPOPUPHANDLER (3) ||Motif Tools |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.