Query: soxtkeyboard
OS: debian
Section: 3iv
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SoXtKeyboard(3IV)() SoXtKeyboard(3IV)()NAMESoXtKeyboard -- translates and reports events for the keyboardINHERITS FROMSoXtDevice > SoXtKeyboardSYNOPSIS#include <Inventor/Xt/devices/SoXtKeyboard.h> #define SO_XT_ALL_KEYBOARD_EVENTS (KeyPressMask | KeyReleaseMask) Methods from class SoXtKeyboard: SoXtKeyboard(EventMask mask = SO_XT_ALL_KEYBOARD_EVENTS) ~SoXtKeyboard() 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() constDESCRIPTIONThis class manages events generated by the keyboard, including key press and release events (SoKeyboardEvent).METHODSSoXtKeyboard(EventMask mask = SO_XT_ALL_KEYBOARD_EVENTS) ~SoXtKeyboard() Constructor and destructor. To the constructor, pass which keyboard events you are interested in as a bitwise OR of the following val- ues: KeyPressMask -- Key press events KeyReleaseMask -- Key release events Or simply pass the defined value SO_XT_ALL_KEYBOARD_EVENTS for all keyboard events. The device will only report events of this type for the widget it is enabled on.SEE ALSOSoXtDevice, SoKeyboardEvent SoXtKeyboard(3IV)()