Package: gtk

Accessor gtk-widget-is-focus

Lambda List

gtk-widget-is-focus (object)

Syntax

(gtk-widget-is-focus object) => setting
(setf (gtk-widget-is-focus object) setting)

Arguments

widget -- a gtk-widget object
setting -- a boolean whether the widget is the focus widget

Details

Accessor of the is-focus slot of the gtk-widget class.

The gtk-widget-is-focus slot access function determines if the widget is the focus widget within its toplevel. The (setf gtk-widget-is-focus) slot access function sets the property.

This does not mean that the has-focus property is necessarily set. The has-focus property will only be set if the toplevel widget additionally has the global input focus.
 

See also

2021-9-15