Gdk.EventKey¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
group |
r/w |
the keyboard group. |
|
hardware_keycode |
r/w |
the raw code of the key that was pressed or released. |
|
is_modifier |
r/w |
a flag that indicates if hardware_keycode is mapped to a modifier. |
|
keyval |
r/w |
the key that was pressed or released. See the |
|
length |
r/w |
the length of string. |
|
send_event |
r/w |
|
|
state |
r/w |
a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See |
|
string |
r/w |
a string containing an approximation of the text that would result from this keypress. The only correct way to handle text input of text is using input methods (see #GtkIMContext), so this field is deprecated and should never be used. ( |
|
time |
r/w |
the time of the event in milliseconds. |
|
type |
r/w |
the type of the event ( |
|
window |
r/w |
the window which received the event. |
Methods¶
None
Details¶
- class Gdk.EventKey¶
Describes a key press or key release event.