has_visible_focus


Description:

public bool has_visible_focus ()

Determines if the widget should show a visible indication that it has the global input focus.

This is a convenience function that takes into account whether focus indication should currently be shown in the toplevel window of this. See [method@Gtk.Window.get_focus_visible] for more information about focus indication.

To find out if the widget has the global input focus, use [method@Gtk.Widget.has_focus].

Parameters:

this

a `GtkWidget`

Returns:

true if the widget should display a “focus rectangle”