EventControllerFocus


Object Hierarchy:

Gtk.EventControllerFocus Gtk.EventControllerFocus Gtk.EventControllerFocus Gtk.EventController Gtk.EventController Gtk.EventController->Gtk.EventControllerFocus GLib.Object GLib.Object GLib.Object->Gtk.EventController

Description:

[ CCode ( type_id = "gtk_event_controller_focus_get_type ()" ) ]
public sealed class EventControllerFocus : EventController

`GtkEventControllerFocus` is an event controller to keep track of keyboard focus.

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


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Signals:

Inherited Members: