Type Alias: GtkListBoxProps
GtkListBoxProps =
WidgetProps&object
Defined in: generated/jsx.ts:4970
Props for the GtkListBox widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
acceptUnpairedRelease? | boolean | Whether to accept unpaired release events. | generated/jsx.ts:4972 |
activateOnSingleClick? | boolean | Determines 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? | number | The minimum value | generated/jsx.ts:5043 |
onActivateCursorRow? | (self) => void | null | Emitted when the cursor row is activated. | generated/jsx.ts:4985 |
onMoveCursor? | (step, count, extend, modify, self) => void | null | Emitted 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 pages | generated/jsx.ts:4999 |
onRowActivated? | (row, self) => void | null | Emitted when a row has been activated by the user. | generated/jsx.ts:5003 |
onRowSelected? | (row, self) => void | null | Emitted 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 | null | Emitted 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 | null | Emitted when the set of selected rows changes. | generated/jsx.ts:5023 |
onToggleCursorRow? | (self) => void | null | Emitted when the cursor row is toggled. The default bindings for this signal is Ctrl+␣. | generated/jsx.ts:5029 |
onUnselectAll? | (self) => void | null | Emitted 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 | null | Callback when the value changes | generated/jsx.ts:5053 |
pageIncrement? | number | The increment for page up/down | generated/jsx.ts:5049 |
pageSize? | number | The page size (usually 0 for scales) | generated/jsx.ts:5051 |
ref? | Ref<Gtk.ListBox> | - | generated/jsx.ts:5055 |
selectionMode? | Gtk.SelectionMode | The selection mode used by the list box. | generated/jsx.ts:4979 |
showSeparators? | boolean | Whether to show separators between rows. | generated/jsx.ts:4981 |
stepIncrement? | number | The increment for arrow keys | generated/jsx.ts:5047 |
tabBehavior? | Gtk.ListTabBehavior | Behavior of the Tab key | generated/jsx.ts:4983 |
upper? | number | The maximum value | generated/jsx.ts:5045 |
value? | number | The current value of the adjustment | generated/jsx.ts:5041 |