Package: gtk

Class gtk:list-item

Superclasses

gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

Direct Slots

accessible-description
The accessible-description property of type :string (Read / Write)
The accessible description to set on the list item.
Default value: nil
accessible-label
The accessible-label property of type :string (Read / Write)
The accessible label to set on the list item.
Default value: nil
activatable
The activatable property of type :boolean (Read / Write)
Whether the item can be activated by the user.
Default value: true
child
The child property of type gtk:widget (Read / Write)
Child widget used for display.
focusable
The focusable property of type :boolean (Read / Write)
Whether the item can be focused with the keyboard.
Default value: true
item
The item property of type g:object (Read)
Displayed item.
position
The position property of type :uint (Read)
Position of the item.
Default Value: gtk:+invalid-list-position+
selectable
The selectable property of type :boolean (Read / Write)
Whether the item can be selected by the user.
Default Value: true
selected
The selected property of type :boolean (Read)
Whether the item is currently selected
Default Value: false

Details

The gtk:list-item object is the object that list-handling containers such as the gtk:list-view widget use to represent items in a g:list-model object.

The gtk:list-item objects are managed by the list widget, with its factory, and cannot be created by applications, but they need to be populated by application code. This is done by calling the gtk:list-item-child function.

The gtk:list-item objects exist in 2 stages:
  1. The unbound stage where the list item is not currently connected to an item in the list. In that case, the item property is set to nil.
  2. The bound stage where the list item references an item from the list. The item property is not nil.
 

Slot Access Functions

Inherited Slot Access Functions

See also

2023-8-13