XtSetEventDispatcher(3X) XT FUNCTIONS XtSetEventDispatcher(3X)NAMEXtSetEventDispatcher - 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 proce‐
dure specified by proc for events with the type event_type. The previ‐
ously 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 ALSOXtEventDispatchProc(3X)XtGetKeyboardFocusWidget(3X) XtInsertEventType‐
Handler(3X), XtRemoveEventTypeHandler(3X), XtRegisterExtensionSelec‐
tor(3X), XtDispatchEventToWidget(3X)X Version 11 Release 6 XtSetEventDispatcher(3X)