Gtk.Widget.has_focus – gtk4 Reference Manual
has_focus
Description:
[
NoAccessorMethod
]
public
bool
has_focus
{
get
; }
Whether the widget has the input focus.
2022 vala-language.org