EventControllerFocus
GtkEventControllerFocus
is an event controller to keep track of keyboard focus.
The event controller offers signal@Gtk.EventControllerFocus::enter and signal@Gtk.EventControllerFocus::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.
Skipped during bindings generation
method
contains-focus
: Property has no getter nor settermethod
is-focus
: Property has no getter nor setter
Constructors
Properties
Functions
Returns true if focus is within @self or one of its children.
Returns the event that is currently being handled by the controller.
Returns the device of the event that is currently being handled by the controller.
Returns the modifier state of the event that is currently being handled by the controller.
Returns the timestamp of the event that is currently being handled by the controller.
Sets a name on the controller that can be used for debugging.