Skip to main content

Type Alias: GtkListBoxProps

GtkListBoxProps = WidgetProps & object

Defined in: generated/jsx.ts:4970

Props for the GtkListBox widget.

Type Declaration

NameTypeDescriptionDefined in
acceptUnpairedRelease?booleanWhether to accept unpaired release events.generated/jsx.ts:4972
activateOnSingleClick?booleanDetermines whether children can be activated with a single click, or require a double-click.generated/jsx.ts:4977
children?ReactNode-generated/jsx.ts:5054
lower?numberThe minimum valuegenerated/jsx.ts:5043
onActivateCursorRow?(self) => void | nullEmitted when the cursor row is activated.generated/jsx.ts:4985
onMoveCursor?(step, count, extend, modify, self) => void | nullEmitted when the user initiates a cursor movement. The default bindings for this signal come in two variants, the variant with the Shift modifier extends the selection, the variant without the Shift modifier does not. There are too many key combinations to list them all here. - , , , move by individual children - Home, End move to the ends of the box - PgUp, PgDn move vertically by pagesgenerated/jsx.ts:4999
onRowActivated?(row, self) => void | nullEmitted when a row has been activated by the user.generated/jsx.ts:5003
onRowSelected?(row, self) => void | nullEmitted when a new row is selected, or (with a %NULL row) when the selection is cleared. When the box is using %GTK_SELECTION_MULTIPLE, this signal will not give you the full picture of selection changes, and you should use the ListBox.:selected-rows-changed signal instead.generated/jsx.ts:5012
onSelectAll?(self) => void | nullEmitted to select all children of the box, if the selection mode permits it. This is a keybinding signal. The default binding for this signal is Ctrl-a.generated/jsx.ts:5021
onSelectedRowsChanged?(self) => void | nullEmitted when the set of selected rows changes.generated/jsx.ts:5023
onToggleCursorRow?(self) => void | nullEmitted when the cursor row is toggled. The default bindings for this signal is Ctrl+.generated/jsx.ts:5029
onUnselectAll?(self) => void | nullEmitted to unselect all children of the box, if the selection mode permits it. This is a keybinding signal. The default binding for this signal is Ctrl-Shift-a.generated/jsx.ts:5039
onValueChanged?(value, self) => void | nullCallback when the value changesgenerated/jsx.ts:5053
pageIncrement?numberThe increment for page up/downgenerated/jsx.ts:5049
pageSize?numberThe page size (usually 0 for scales)generated/jsx.ts:5051
ref?Ref<Gtk.ListBox>-generated/jsx.ts:5055
selectionMode?Gtk.SelectionModeThe selection mode used by the list box.generated/jsx.ts:4979
showSeparators?booleanWhether to show separators between rows.generated/jsx.ts:4981
stepIncrement?numberThe increment for arrow keysgenerated/jsx.ts:5047
tabBehavior?Gtk.ListTabBehaviorBehavior of the Tab keygenerated/jsx.ts:4983
upper?numberThe maximum valuegenerated/jsx.ts:5045
value?numberThe current value of the adjustmentgenerated/jsx.ts:5041