GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmtMenuPopupHandler(3) FreeBSD Library Functions Manual XmtMenuPopupHandler(3)

XmtMenuPopupHandler() - remove the default event handler registered for an XmtMenu popup menu pane.

#include <Xmt/Menu.h>

XtRemoveEventHandler(parent, ButtonPressMask, False, XmtMenuPopupHandler, (XtPointer)menu);

extern void XmtMenuPopupHandler(Widget, XtPointer, XEvent *, Boolean *);

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 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 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.

Chapter 20, Easy Menu Creation,
XmtMenu.
Motif Tools Xmt

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.