XtInsertRawEventHandler 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]

XtInsertRawEventHandler()			     XtInsertRawEventHandler()

Name
  XtInsertRawEventHandler  -  register	an  event  handler procedure that
  receives events before or after all previously  registered  event  han‐
  dlers, without selecting for the events.

Synopsis
  void	  XtInsertRawEventHandler(w,   event_mask,   nonmaskable,   proc,
  client_data, position)
	   Widget w;
	   EventMask event_mask;
	   Boolean nonmaskable;
	   XtEventHandler proc;
	   XtPointer client_data;
	   XtListPosition position;

Inputs
  w	    Specifies the widget for which this event  handler	is  being
	    registered.	 Must be of class Core or any subclass thereof.

  event_mask
	    Specifies the event mask for which to call this procedure.

  nonmaskable
	    Specifies  a Boolean value that indicates whether this proce‐
	    dure should be called on nonmaskable events

  proc	    Specifies the procedure that is to be registered.

  client_data
	    Specifies additional data to be passed to the client's  event
	    handler.

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

Availability
  Release 4 and later.

Description
  XtInsertRawEventHandler() registers the procedure  proc  and	the  data
  client_data  with  the Intrinsics event dispatching mechanism.  When an
  event of one of the types set in event_mask occurs on the window of the
  widget  w,  proc  will  be invoked and client_data passed as one of its
  arguments.  XtInsertRawEventHandler()	 never	calls  XSelectInput()  to
  request to receive the events in event_mask.

  The  argument	 position  specifies  where in the list of event handlers
  proc should be inserted.  If it is XtListHead, proc will be inserted at
  the beginning of the list and will be called before all previously reg‐
  istered handlers.  If it is XtListTail, proc will be	inserted  at  the
  end of the list and will be called after all previously registered han‐
  dlers.

  If the procedure is already registered with the same	client_data,  the
  specified  event_mask	 augments the existing mask, and the procedure is
  repositioned in the list according to position.

  XtInsertRawEventHandler() is identical to  XtAddRawEventHandler()  with
  the  additional position argument.  See XtAddRawEventHandler() for more
  information.

  See XtEventHandler(2) for an explanation of how to write an event  han‐
  dler procedure.

Usage
  Neither  applications	 nor  widgets  often  need to use event handlers.
  Using action procedures and translation tables provides a more flexible
  way to respond to input events.

Structures
  The XtListPosition type is as follows.

     typedef enum {
	 XtListHead,
	 XtListTail
     } XtListPosition;

  See  XtAddEventHandler()  for	 a  list  of  bits that can be set in the
  event_mask argument.

See Also
  XtAddEventHandler(1), XtAddRawEventHandler(1), XtBuildEventMask(1),
  XtInsertEventHandler(1), XtRemoveEventHandler(1), XtRemoveRawEven‐
  tHandler(1).

Xt - Event Handling				     XtInsertRawEventHandler()
[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