1#ifndef SOGTK_KEYBOARD_H
2#define SOGTK_KEYBOARD_H
38#include <Inventor/Gtk/devices/SoGtkDevice.h>
44#define SO_GTK_ALL_KEYBOARD_EVENTS SoGtkKeyboard::ALL
53 ALL_EVENTS = KEY_PRESS | KEY_RELEASE
59 virtual void enable(GtkWidget* widget, SoGtkEventHandler * handler,
void * closure);
60 virtual void disable(GtkWidget* widget, SoGtkEventHandler * handler,
void * closure);
65 class SoGtkKeyboardP * pimpl;
66 friend class SoGtkKeyboardP;
67 friend class SoGuiKeyboardP;
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 SoGtkKeyboard class is the keyboard input device abstraction.
Definition SoGtkKeyboard.h:46
Events
Definition SoGtkKeyboard.h:50