SoXtMouse(3IV)() SoXtMouse(3IV)()
NAME
SoXtMouse -- translates and reports events for the mouse
INHERITS FROM
SoXtDevice > SoXtMouse
SYNOPSIS
#include <Inventor/Xt/devices/SoXtMouse.h>
#define SO_XT_ALL_MOUSE_EVENTS
(ButtonPressMask | ButtonReleaseMask |
PointerMotionMask | ButtonMotionMask)
Methods from class SoXtMouse:
SoXtMouse(EventMask mask = SO_XT_ALL_MOUSE_EVENTS)
~SoXtMouse()
Methods from class SoXtDevice:
virtual void enable(Widget w, XtEventHandler f, XtPointer data, Window win = NULL)
virtual void disable(Widget w, XtEventHandler f, XtPointer data)
virtual const SoEvent * translateEvent(XAnyEvent *xevent)
void setWindowSize(const SbVec2s &size)
const SbVec2s & getWindowSize() const
DESCRIPTION
This class manages events generated by the mouse, including mouse motion (SoLocation2Event), and mouse button press and release events
(SoMouseButtonEvent).
METHODS
SoXtMouse(EventMask mask = SO_XT_ALL_MOUSE_EVENTS)
~SoXtMouse()
Constructor and destructor. To the constructor, pass which mouse events you are interested in as a bitwise OR of the following values:
ButtonPressMask -- Mouse press events
ButtonReleaseMask -- Mouse release events
PointerMotionMask -- Mouse motion with no buttons
ButtonMotionMask -- Mouse motion with buttons pressed
Or simply pass the defined value SO_XT_ALL_MOUSE_EVENTS for all mouse events. The device will only report events of this type for the
widget it is enabled on.
SEE ALSO
SoXtDevice, SoLocation2Event, SoMouseButtonEvent
SoXtMouse(3IV)()
Check Out this Related Man Page
SoXtInputFocus(3IV)() SoXtInputFocus(3IV)()
NAME
SoXtInputFocus -- reports input focus change events
INHERITS FROM
SoXtDevice > SoXtInputFocus
SYNOPSIS
#include <Inventor/Xt/devices/SoXtInputFocus.h>
#define SO_XT_ALL_FOCUS_EVENTS (EnterWindowMask | LeaveWindowMask)
Methods from class SoXtInputFocus:
SoXtInputFocus(EventMask mask = SO_XT_ALL_FOCUS_EVENTS)
~SoXtInputFocus()
Methods from class SoXtDevice:
virtual void enable(Widget w, XtEventHandler f, XtPointer data, Window win = NULL)
virtual void disable(Widget w, XtEventHandler f, XtPointer data)
virtual const SoEvent * translateEvent(XAnyEvent *xevent)
void setWindowSize(const SbVec2s &size)
const SbVec2s & getWindowSize() const
DESCRIPTION
This class reports input focus change events (i.e. when the cursor crosses into or out of the window). There are no input focus events in
Inventor, so this always returns NULL when asked to translate events. When this class is registered on a render area, the render area will
receive X input focus change events. (This class is extensively employed by the viewer classes.)
METHODS
SoXtInputFocus(EventMask mask = SO_XT_ALL_FOCUS_EVENTS)
~SoXtInputFocus()
Constructor and destructor. To the constructor, pass which input focus events you are interested in as a bitwise OR of the following
values:
EnterWindowMask -- Input focus entered the window
LeaveWindowMask -- Input focus left the window
Or simply pass the defined value SO_XT_ALL_FOCUS_EVENTS for all input focus events.
SEE ALSO
SoXtDevice
SoXtInputFocus(3IV)()
I just got the other computer working again and i put Fedora Core 2 on it but theres a problem. It wont recongnize my mouse at all. Not in installation or in the actual desktop... it doesnt even know its there. It says No - Mouse.... does anyone know how i can fix this? (4 Replies)
Dear friends,
My mouse can not work in my Solaris 10 machine. The mouse itself is OK, i can use it without problems in my colleagues' Unixs.
I outstationed for a few weeks, after came back, it can not work already.
The cursor will float in the centre of my screen and can never move,... (1 Reply)
Dear frends,
My mouse in Solaris 10 machine has just failed today. The mouse itself is physically Ok, I can use it in my colleagues' Unix.
In my own box, the cursor is just floating in the centre of screen.
Any suggestions? Any method to check / modify hardware in solaris 10?
thanks! (2 Replies)
Hello,
I'll already apologize for my question, as it'll probably be hurting for an expert.
About two years ago I obtained a used Sun Ultra 10 with many accessoires for a very low price. I'm not much into UNIX (or rather not into it at all), but I wanted to play around a bit with it, especially as... (3 Replies)
Hey guys,
I have a HP Pavilion laptop, and in order to preserve it's lifespan; I decided to use an external mouse and keyboard whilst at my desk. It worked right away - I was really impressed. I expected to have to recompile the kernel. Anyway, the only thing is that the mouse is... (1 Reply)
I have written a simple program which will report key press and release events for a particular window. In my case, it is mostly the terminal since I invoke the program from the terminal. I am able to get the key press and release events taking place in the terminal window (I have used... (0 Replies)
I have no idea what happened, but my middle mouse button stopped working since yesterday. I checked the settings for the mouse, everything seems fine. Reconnected mouse , restarted PC, nothing works.
What kind of issue this could be, anyone experienced something like this before?
If you have... (4 Replies)
I'm running Red Hat Enterprise Linux (RHEL) Workstation release 6.4 (Santiago) and kernel 2.6.32-358.11.1.el6.x86_64. The list of loaded kernel modules is shown below.
Although Apple's Magic Mouse is correctly connected via Bluetooth and the right and left buttons are working as expected, the... (2 Replies)