SoXtDevice man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



							       SoXtDevice(3IV)

NAME
     SoXtDevice (SoXtDev) - abstract base class device for use with the
     SoXtRenderArea

INHERITS FROM
     SoXtDevice

SYNOPSIS
     #include <Inventor_c/Xt/devices/SoXtDevice.h>

     typedef SoXtDevice	 SoXtDev

	  Functions from class SoXtDevice:

     void		 SoXtDevEnable(SoXtDev *this, Widget w, XtEventHandler
			      f, XtPointer data, Window win = NULL)
     void		 SoXtDevDisable(SoXtDev *this, Widget w,
			      XtEventHandler f, XtPointer data)
     const SoEvent *	 SoXtDevXlateEv(SoXtDev *this, XAnyEvent *xevent)
     void		 SoXtDevSetWinSize(SoXtDev *this, const SbVec2s *size)
     const SbVec2s *	 SoXtDevGetWinSize(const SoXtDev *this)

DESCRIPTION
     This is the abstract base class for devices in the Inventor Xt component
     and utility library. When a device is registered with an SoXtRenderArea,
     the device is able to generate events in the render area window.

FUNCTIONS
     void		 SoXtDevEnable(SoXtDev *this, Widget w, XtEventHandler
			      f, XtPointer data, Window win = NULL)
     void		 SoXtDevDisable(SoXtDev *this, Widget w,
			      XtEventHandler f, XtPointer data)
	  Enable and disable the device for the passed widget. When enabled,
	  the callback function f will be invoked when events occur in the
	  widget. data is the clientData which will be passed.

     const SoEvent *	 SoXtDevXlateEv(SoXtDev *this, XAnyEvent *xevent)
	  This attempts to convert the passed X event into an SoEvent. If the
	  event was not generated by this device, then NULL is returned.

     void		 SoXtDevSetWinSize(SoXtDev *this, const SbVec2s *size)
     const SbVec2s *	 SoXtDevGetWinSize(const SoXtDev *this)
	  Set and get the window size of the widget this device is registered
	  for. This allows the device to correctly convert position
	  information from X window coordinates (origin at top left) to
	  Inventor window coordinates (origin at bottom left). (SoXtRenderArea
	  will automatically call this method for each device registered on it
	  whenever the window size changes.)

Page 1

SoXtDevice(3IV)

SEE ALSO
     SoXtMouse, SoXtKeyboard, SoXtSpaceball, SoXtInputFocus, SoXtRenderArea

Page 2

[top]

List of man pages available for IRIX

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