Laxkit  0.0.7.1
Public Member Functions | Public Attributes
Laxkit::KeyEventData Class Reference

Hold info about key press or release. More...

Inheritance diagram for Laxkit::KeyEventData:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 KeyEventData (int ntype)
- Public Member Functions inherited from Laxkit::EventData
 EventData (const char *message, unsigned long fromwindow=0, unsigned long towindow=0)
 EventData (int message, unsigned long fromwindow=0, unsigned long towindow=0)

Public Attributes

unsigned int key
unsigned int modifiers
charbuffer
int len
LaxKeyboarddevice
anXWindowtarget
- Public Attributes inherited from Laxkit::EventData
unsigned long type
unsigned long subtype
charsend_message
unsigned long from
unsigned long to
int propagate
clock_t send_time
unsigned long xlib_time
EventDatanext

Detailed Description

Hold info about key press or release.

For LAX_onKeyUp, buffer and len are NULL and 0.

For LAX_onKeyDown, buffer and len might have data, which usually will have resulted from some extra input method helper, like with dead keys to produce composed characters.

If the key is a control, shift, alt or similar key, the code will be in key, and buffer will be NULL.


The documentation for this class was generated from the following files:

Mon Feb 17 2014 11:52:59, Laxkit