XtRemoveEventTypeHandler(3X) XT FUNCTIONS XtRemoveEventTypeHandler(3X)NAMEXtRemoveEventTypeHandler - extension event handling
SYNTAX
void XtRemoveEventTypeHandler(widget, event_type, select_data, proc,
client_data)
Widget widget;
int event_type;
XtPointer select_data;
XtEventHandler proc;
XtPointer client_data;
ARGUMENTS
widget Specifies the widget for this event handler. Must be of
class Core or any subclass thereof.
event_type
Specifies the event type.
select_data
Specifies data used to select or deselect events from the
server.
proc Specifies the proc.
client_data
Specifies additional data to be passed to the event handler.
DESCRIPTION
The XtRemoveEventTypeHandler function unregisters an even handler reg‐
istered with XtInsertEventTypeHandler for the specified event type. The
request is ignored if client_data does not match the value given with
the handler was registered.
If event_type specifies on of the core X protocol events, select_data
must be a pointer to a value of type EventMask, indicating the mask to
be used to deselect for the appropriate event. If the widget is real‐
ized, XtRemoveEventTypeHandler calls XSelectInput if necessary. Speci‐
fying NULL for select_data is equivalent to specifying a pointer to an
event mask containing 0. This is similar to the XtRemoveRawEventHandler
function.
If event_type specifies an extension event type then the semantics of
the data pointed to by select_data are defined by the extension selec‐
tor registered for the specified event type.
SEE ALSOXtGetKeyboardFocusWidget(3X)XtInsertEventTypeHandler(3X), XtRegis‐
terExtensionSelector(3X), XtSetEventDispatcher(3X), XtDispatchEvent‐
ToWidget(3X)X Version 11 Release 6 XtRemoveEventTypeHandler(3X)