has_visible_focus


Description:

[ Version ( since = "3.2" ) ]
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 for use in draw handlers that takes into account whether focus indication should currently be shown in the toplevel window of this. See get_focus_visible for more information about focus indication.

To find out if the widget has the global input focus, use gtk_widget_has_focus.

Parameters:

this

a Widget

Returns:

true if the widget should display a “focus rectangle”




2022 vala-language.org