#include <sigc_events.h>
unsigned int VDKKeyEvent::Key | ( | ) | const |
Returns the corresponding id for this key as defined in gdkkeysyms.h.
Usefull for keys which don't have a string representation. For example, when key 'a' is pressed you get the string "a" and the id Gdk_a, but when you press on backspace you get the string "" (as there is no such representation) and id Gdk_BackSpace. Note that modifiers are handled by Modifier
unsigned int VDKKeyEvent::Modifier | ( | ) | const |
Tells you what modifier was pressed when this event was generated.
The modifiers are defined in enum GdkModifierType in gdktypes.h. You will get the or-ed vaule of all pressed modifiers.
VDKString VDKKeyEvent::String | ( | ) | const |
const char * VDKKeyEvent::CString | ( | ) | const |