Method

Gtk.EventControllerKey.forward

Declaration [src]

gboolean
gtk_event_controller_key_forward (
  GtkEventControllerKey* controller,
  GtkWidget* widget
)

Description [src]

Forwards the current event of this controller to a widget.

This function can only be used in handlers for the GtkEventControllerKey::key-pressed, GtkEventControllerKey::key-released or GtkEventControllerKey::modifiers signals.

Parameters

widget GtkWidget
 

a GtkWidget

 Ownership is not transferred to the callee

Return value

Returns: gboolean

whether the widget handled the event