Package: gtk

Accessor gtk-widget-can-focus

Lambda List

gtk-widget-can-focus (object)

Syntax

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

Arguments

object -- a gtk-widget object
setting -- a boolean whether or not widget can own the input focus

Details

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

The gtk-widget-can-focus slot access function returns true if the widget can own the input focus, false otherwise. The (setf gtk-widget-can-focus) slot access function sets whether the widget can own the input focus.

See the gtk-widget-grab-focus function for actually setting the input focus on a widget.
 

See also

2021-9-15