Top | ![]() |
![]() |
![]() |
![]() |
gchar * | kkc_key_event_to_string () |
KkcKeyEvent * | kkc_key_event_new_from_string () |
KkcKeyEvent * | kkc_key_event_new_from_x_event () |
KkcKeyEvent * | kkc_key_event_new () |
const gchar * | kkc_key_event_get_name () |
void | kkc_key_event_set_name () |
gunichar | kkc_key_event_get_unicode () |
void | kkc_key_event_set_unicode () |
guint | kkc_key_event_get_keyval () |
void | kkc_key_event_set_keyval () |
guint | kkc_key_event_get_keycode () |
void | kkc_key_event_set_keycode () |
KkcModifierType | kkc_key_event_get_modifiers () |
void | kkc_key_event_set_modifiers () |
#define | KKC_TYPE_KEY_EVENT |
struct | KkcKeyEvent |
struct | KkcKeyEventClass |
enum | KkcModifierType |
enum | KkcKeyEventFormatError |
gchar *
kkc_key_event_to_string (KkcKeyEvent *self
);
Convert the KeyEvent to string.
KkcKeyEvent * kkc_key_event_new_from_string (const gchar *key
,GError **error
);
Create a key event from string.
KkcKeyEvent * kkc_key_event_new_from_x_event (guint keyval
,guint keycode
,KkcModifierType modifiers
);
KkcKeyEvent * kkc_key_event_new (guint keyval
,guint keycode
,KkcModifierType modifiers
);
Create a key event from an X event.
const gchar *
kkc_key_event_get_name (KkcKeyEvent *self
);
Get and return the current value of the "name" property.
The base name of the KeyEvent.
void kkc_key_event_set_name (KkcKeyEvent *self
,const gchar *value
);
Set the value of the "name" property to value
.
The base name of the KeyEvent.
gunichar
kkc_key_event_get_unicode (KkcKeyEvent *self
);
Get and return the current value of the "unicode" property.
The base unicode output of the KeyEvent.
void kkc_key_event_set_unicode (KkcKeyEvent *self
,gunichar value
);
Set the value of the "unicode" property to value
.
The base unicode output of the KeyEvent.
guint
kkc_key_event_get_keyval (KkcKeyEvent *self
);
Get and return the current value of the "keyval" property.
X keyval.
void kkc_key_event_set_keyval (KkcKeyEvent *self
,guint value
);
Set the value of the "keyval" property to value
.
X keyval.
guint
kkc_key_event_get_keycode (KkcKeyEvent *self
);
Get and return the current value of the "keycode" property.
X keycode.
void kkc_key_event_set_keycode (KkcKeyEvent *self
,guint value
);
Set the value of the "keycode" property to value
.
X keycode.
KkcModifierType
kkc_key_event_get_modifiers (KkcKeyEvent *self
);
Get and return the current value of the "modifiers" property.
Modifier mask.
void kkc_key_event_set_modifiers (KkcKeyEvent *self
,KkcModifierType value
);
Set the value of the "modifiers" property to value
.
Modifier mask.
struct KkcKeyEventClass { GObjectClass parent_class; };
The class structure for KKC_TYPE_KEY_EVENT
. All the fields in this structure are private and should never be accessed directly.