ControlledListBox
Creates a controlled org.gnome.gtk.ListBox that can only have a one selected row.
Parameters
The index of the selected row.
Callback triggered when a row is selected.
Compose Modifier for layout and styling.
Whether rows activate on single click.
The adjustment used for vertical scrolling.
Whether the rows have separators between them.
The behavior of Tab and Shift + Tab keys.
Callback triggered when the shortcut for selecting everything is activated.
Callback triggered when the shortcut for unselecting everything is activated.
Component shown when the list is empty.
The list of ListBoxRow.
Creates a controlled org.gnome.gtk.ListBox that can have multiple selected rows.
Parameters
The indexes of the selected rows.
Callback triggered when rows are selected.
Compose Modifier for layout and styling.
Whether rows activate on single click.
The adjustment used for vertical scrolling.
Whether the rows have separators between them.
The behavior of Tab and Shift + Tab keys.
Callback triggered when the shortcut for selecting everything is activated.
Callback triggered when the shortcut for unselecting everything is activated.
Component shown when the list is empty.
The list of ListBoxRow.
Creates a controlled org.gnome.gtk.ListBox that cannot have a selected row.
Parameters
Compose Modifier for layout and styling.
Whether rows activate on single click.
The adjustment used for vertical scrolling.
Whether the rows have separators between them.
The behavior of Tab and Shift + Tab keys.
Callback triggered when the shortcut for selecting everything is activated.
Callback triggered when the shortcut for unselecting everything is activated.
Component shown when the list is empty.
The list of ListBoxRow.