Package: gtk

Accessor gtk:widget-has-focus

Lambda List

gtk:widget-has-focus (object)

Syntax

(gtk:widget-has-focus object) => setting

Arguments

object -- a gtk:widget object
setting -- a boolean whether the widget has the input focus

Details

Accessor of the has-focus slot of the gtk:widget class. The gtk:widget-has-focus function returns true if the widget has the global input focus.

See the gtk:widget-is-focus function for the difference between having the global input focus, and only having the focus within a toplevel.
 

See also

2025-2-13