Package: gtk

Function gtk:widget-has-visible-focus

Lambda List

gtk:widget-has-visible-focus (widget)

Arguments

widget -- a gtk:widget object

Return Value

True if the widget should display a focus rectangle.

Details

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 the widget. See the gtk:window-focus-visible function for more information about focus indication.

To find out if the widget has the global input focus, use the gtk:widget-has-focus function.
 

See also

#2023-3-8