Widget.hasVisibleFocus

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 widget. See gtk.window.Window.getFocusVisible for more information about focus indication.

To find out if the widget has the global input focus, use gtk.widget.Widget.hasFocus.

class Widget
bool
hasVisibleFocus
()

Return Value

Type: bool

true if the widget should display a “focus rectangle”