Package: gtk

Accessor gtk:list-item-focusable

Lambda List

gtk:list-item-focusable (object)

Syntax

(gtk:list-item-focusable object) => focusable
(setf (gtk:list-item-focusable object) focusable)

Arguments

object -- a gtk:list-item object
focusable -- a boolean whether the list item can be focused

Details

Accessor of the focusable slot of the gtk:list-item class. The gtk:list-item-focusable function checks if a list item has been set to be focusable. The (setf gtk:list-item-focusable) function sets the list item to be focusable. If a list item is focusable, it can be focused using the keyboard. This works similar to the gtk:widget-focusable function.

Note that if list items are not focusable, the keyboard cannot be used to activate them and selecting only works if one of the children of the list item is focusable. By default, list items are focusable.

Since 4.12
 

See also

2025-3-15