38#include <Inventor/Gtk/devices/SoGtkDevice.h>
40class SoMouseButtonEvent;
41class SoLocation2Event;
51 BUTTON_RELEASE = 0x02,
52 POINTER_MOTION = 0x04,
55 ALL_EVENTS = BUTTON_PRESS | BUTTON_RELEASE | POINTER_MOTION | BUTTON_MOTION
61 virtual void enable(GtkWidget* widget, SoGtkEventHandler * handler,
void * closure);
62 virtual void disable(GtkWidget* widget, SoGtkEventHandler * handler,
void * closure);
67 class SoGtkMouseP * pimpl;
68 friend class SoGtkMouseP;
69 friend class SoGuiMouseP;
The SoGtkDevice class is the base class for the translation devices.
Definition SoGtkDevice.h:77
virtual void disable(GtkWidget *w, SoGtkEventHandler *handler, void *closure)=0
virtual const SoEvent * translateEvent(GdkEvent *event)=0
virtual void enable(GtkWidget *w, SoGtkEventHandler *handler, void *closure)=0
The SoGtkMouse class is the mouse input device abstraction.
Definition SoGtkMouse.h:45
Events
Definition SoGtkMouse.h:49