FreeBSD Manual Pages
XmtMenuPopupHandler(3) Library Functions Manual XmtMenuPopupHandler(3) NAME XmtMenuPopupHandler() - remove the default event handler registered for an XmtMenu popup menu pane. SYNOPSIS #include <Xmt/Menu.h> XtRemoveEventHandler(parent, ButtonPressMask, False, XmtMenuPopupHandler, (XtPointer)menu); extern void XmtMenuPopupHandler(Widget, XtPointer, XEvent *, Boolean *); ARGUMENTS INPUTS parent 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(). menu The popup menu pane that you do not want to be automati- cally popped up. This is the widget returned by a call to XmtCreatePopupMenu(). DESCRIPTION XmtMenuPopupHandler() is an event handler (of the standard Xt XtEven- tHandler 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 unreg- ister it so that you can register a custom event handler to popup the menu under your explicit control. 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. SEE ALSO Chapter 20, Easy Menu Creation, XmtMenu. Xmt Motif Tools XmtMenuPopupHandler(3)
NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XmtMenuPopupHandler&sektion=3&manpath=FreeBSD+Ports+15.0>
