XtSetEventDispatcher(3X)					   XT FUNCTIONS 					  XtSetEventDispatcher(3X)

NAME
XtSetEventDispatcher - extension event handling SYNTAX
XtEventDispatchProc XtSetEventDispatcher(display, event_type, proc) Display *display; int event_type; XtEventDispatchProc proc; ARGUMENTS
display Specifies the display. event_type Specifies the event type. proc Specifies the proc. DESCRIPTION
The XtSetEventDispatcher function registers the event dispatcher procedure specified by proc for events with the type event_type. The pre- viously registered dispatcher (or the default dispatcher if there was no previously registered dispatcher) is returned. If proc is NULL, the default procedure is restored for the specified type. In the future, when XtDispatchEvent is called with an event of event_type, the specified proc (or the default dispatcher) will be invoked to determine a widget to which to dispatch the event. SEE ALSO
XtEventDispatchProc(3X) XtGetKeyboardFocusWidget(3X) XtInsertEventTypeHandler(3X), XtRemoveEventTypeHandler(3X), XtRegisterExtensionSelec- tor(3X), XtDispatchEventToWidget(3X) X Version 11 Release 6 XtSetEventDispatcher(3X)