Constructor

Gtk.EventControllerKey.new

Declaration [src]

GtkEventController*
gtk_event_controller_key_new (
  void
)

Description [src]

Creates a new event controller that will handle key events.

Return value

Returns: GtkEventController

a new GtkEventControllerKey

Ownership of the data is transferred to the caller