forward


Description:

public bool forward (Widget widget)

Forwards the current event of this this to a widget.

This function can only be used in handlers for the [signal@Gtk.EventControllerKey:GtkEventControllerKey:key-pressed], [ signal@Gtk.EventControllerKey:GtkEventControllerKey:key-released] or [signal@Gtk.EventControllerKey: GtkEventControllerKey:modifierss] signals.

Parameters:

this

a `GtkEventControllerKey`

widget

a `GtkWidget`

Returns:

whether the widget handled the event