XtInsertEventTypeHandler man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XtInsertEventTypeHandler(3X)	 XT FUNCTIONS	  XtInsertEventTypeHandler(3X)

NAME
       XtInsertEventTypeHandler - extension event handling

SYNTAX
       void XtInsertEventTypeHandler(widget, event_type, select_data, proc,
       client_data, position)
	     Widget widget;
	     int event_type;
	     XtPointer select_data;
	     XtEventHandler proc;
	     XtPointer client_data;
	     XtListPosition position;

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.

       position	 Specifies when the event handler is to be called relative to
		 other previously registered handlers.

DESCRIPTION
       The XtInsertEventTypeHandler function registeres a procedure with the
       dispatch mechanism that is to be called when an event that matches the
       specified event_type is dispatched to the specified widget.

       If event_type is one of the core X protocol events then select_data
       must be a pointer to a value of type EventMask, indicating the event
       mask to be used to select for the desired event.	 This event mask will
       be included in the value returned by XtBuildEventMask.  If the widget
       is realized XtInsertEventTypeHandler calls XSelectInput if necessary.
       Specifying NULL for select_data is equivalent to specifying a pointer
       to an event mask containing 0. This is similar to the XtInsertRawEven‐
       tHandler 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.

       In either case the Intrinsics are not required to copy the data pointed
       to by select_data, so the caller must ensure that it remains valid as
       long as the event handler remains registered with this value of
       select_data.

       The position argument allows the client to control the order of the
       invocation of event handlers registered for the same event type. If the
       client does not care about the order, it should normally specify
       XtListTail, which registers this event handler after any previously
       registered handlers for this event type.

SEE ALSO
       XtEventHandlerProc(3X) XtGetKeyboardFocusWidget(3X), XtRemoveEventType‐
       Handler(3X), XtRegisterExtensionSelector(3X), XtSetEventDispatcher(3X),
       XtDispatchEventToWidget(3X)

X Version 11			   Release 6	  XtInsertEventTypeHandler(3X)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net