GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SOXTMOUSE (3)

NAME

SoXtMouse — translates and reports events for the mouse

CONTENTS

Inherits From
Synopsis
Description
Methods
See Also

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    
                         
virtual void              enable(Widget w, XtEventHandler f, XtPointer data, Window win = NULL)    
virtual void    
                         
virtual void              disable(Widget w, XtEventHandler f, XtPointer data)    
virtual const SoEvent *    
                         
virtual const SoEvent *   translateEvent(XAnyEvent *xevent)    
void    
                         
void                      setWindowSize(const SbVec2s &size)    
const SbVec2s &    
                         
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

Search for    or go to Top of page |  Section 3 |  Main Index


SOXTMOUSE(3IV) (-->)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.