atk.key_event_struct

Module for [KeyEventStruct] class

Types 1

Encapsulates information about a key event.

Fields
Methods
void * _cPtr()
int type() @propertyGet `type` field. Returns: An AtkKeyEventType, generally one of ATKKEYEVENTPRESS or ATKKEYEVENTRELEASE
void type(int propval) @propertySet `type` field. Params: propval = An AtkKeyEventType, generally one of ATKKEYEVENTPRESS or ATKKEYEVENTRELEASE
uint state() @propertyGet `state` field. Returns: A bitmask representing the state of the modifier keys immediately after the event takes place. The meaning of the bits is currently defined to match the bitmask used by ...
void state(uint propval) @propertySet `state` field. Params: propval = A bitmask representing the state of the modifier keys immediately after the event takes place. The meaning of the bits is currently defined to match the bitmask...
uint keyval() @propertyGet `keyval` field. Returns: A guint representing a keysym value corresponding to those used by GDK and X11: see /usr/X11/include/keysymdef.h.
void keyval(uint propval) @propertySet `keyval` field. Params: propval = A guint representing a keysym value corresponding to those used by GDK and X11: see /usr/X11/include/keysymdef.h.
int length() @propertyGet `length` field. Returns: The length of member #string.
void length(int propval) @propertySet `length` field. Params: propval = The length of member #string.
string string_() @propertyGet `string_` field. Returns: A string containing one of the following: either a string approximating the text that would result from this keypress, if the key is a control or graphic character, or...
void string_(string propval) @propertySet `string_` field. Params: propval = A string containing one of the following: either a string approximating the text that would result from this keypress, if the key is a control or graphic char...
ushort keycode() @propertyGet `keycode` field. Returns: The raw hardware code that generated the key event. This field is raraly useful.
void keycode(ushort propval) @propertySet `keycode` field. Params: propval = The raw hardware code that generated the key event. This field is raraly useful.
uint timestamp() @propertyGet `timestamp` field. Returns: A timestamp in milliseconds indicating when the event occurred. These timestamps are relative to a starting point which should be considered arbitrary, and only used...
void timestamp(uint propval) @propertySet `timestamp` field. Params: propval = A timestamp in milliseconds indicating when the event occurred. These timestamps are relative to a starting point which should be considered arbitrary, and ...
Constructors
this(void * ptr, Flag!"Take" take)