Skip to main content

Variable: GtkEventControllerFocus

const GtkEventControllerFocus: "GtkEventControllerFocus"

Defined in: generated/jsx.ts:19892

Tracks keyboard focus.

The event controller offers Gtk.EventControllerFocus.:enter and Gtk.EventControllerFocus.:leave signals, as well as Gtk.EventControllerFocus.is-focus and Gtk.EventControllerFocus.contains-focus properties which are updated to reflect focus changes inside the widget hierarchy that is rooted at the controllers widget.