EventControllerKey
Object Hierarchy:
Description:
[
CCode ( type_id =
"gtk_event_controller_key_get_type ()" ) ]
public class EventControllerKey :
EventController
`GtkEventControllerKey` is an event controller that provides access to key events.
Content:
Creation methods:
Methods:
- public bool forward (Widget widget)
Forwards the current event of this this
to a widget
.
- public uint get_group ()
Gets the key group of the current event of this
this.
- public unowned IMContext? get_im_context ()
Gets the input method context of the key
this.
- public void set_im_context (IMContext? im_context)
Sets the input method context of the key
this.
Signals:
- public signal void im_update ()
Emitted whenever the input method context filters away a keypress and
prevents the controller
receiving it.
- public signal bool key_pressed (uint keyval, uint keycode, ModifierType state)
Emitted whenever a key is pressed.
- public signal void key_released (uint keyval, uint keycode, ModifierType state)
Emitted whenever a key is released.
- public signal bool modifiers (ModifierType keyval)
Emitted whenever the state of modifier keys and pointer buttons
change.
Inherited Members:
All known members inherited from class Gtk.EventController
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref