Package: gtk

Accessor gtk-widget-has-focus

Lambda List

gtk-widget-has-focus (object)

Syntax

(gtk-widget-has-focus object) => setting
(setf (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 slot access function returns true if the widget has the global input focus. The (setf gtk-widget-has-focus) slot access function sets whether the widget has the 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

2021-9-15