is_focus


Description:

public bool is_focus ()

Determines if the widget is the focus widget within its toplevel.

This does not mean that the [[email protected]:has-focus] property is necessarily set; [[email protected]:has-focus] will only be set if the toplevel widget additionally has the global input focus.

Parameters:

this

a `GtkWidget`

Returns:

true if the widget is the focus widget.




2022 vala-language.org