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 class EventControllerFocus : EventController

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

The event controller offers [[email protected]:GtkEventControllerFocus:enter] and [ [email protected]:GtkEventControllerFocus:leave] signals, as well as [ [email protected]:is-focus] and [[email protected]: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:

All known members inherited from class GLib.Object



2022 vala-language.org