EventControllerKey.forward

Forwards the current event of this @controller to a @widget.

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

class EventControllerKey
bool
forward

Parameters

widget Widget

a GtkWidget

Return Value

Type: bool

whether the @widget handled the event

Meta