Type Alias: GtkColumnViewProps
GtkColumnViewProps =
WidgetProps&object
Defined in: generated/jsx.ts:2316
Props for the GtkColumnView widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
children? | ReactNode | - | generated/jsx.ts:2380 |
enableRubberband? | boolean | Allow rubberband selection. | generated/jsx.ts:2318 |
estimatedRowHeight? | number | null | Estimated row height in pixels for proper virtualization before content loads | generated/jsx.ts:2379 |
hadjustment? | Gtk.Adjustment | Horizontal GtkAdjustment of the scrollable widget. This adjustment is shared between the scrollable widget and its parent. | generated/jsx.ts:2346 |
headerFactory? | Gtk.ListItemFactory | null | Factory for creating header widgets. The factory must be for configuring ListHeader objects. | generated/jsx.ts:2324 |
hscrollPolicy? | Gtk.ScrollablePolicy | Determines when horizontal scrolling should start. | generated/jsx.ts:2348 |
onActivate? | (position, self) => void | null | Emitted when a row has been activated by the user, usually via activating the GtkListBase | list.activate-item action. This allows for a convenient way to handle activation in a columnview. See ListItem.set_activatable for details on how to use this signal. |
onSelectionChanged? | (ids) => void | null | Called when selection changes with array of selected item IDs | generated/jsx.ts:2369 |
onSortChanged? | (column, order) => void | null | Called when a column header is clicked to change sort | generated/jsx.ts:2377 |
ref? | Ref<Gtk.ColumnView> | - | generated/jsx.ts:2381 |
reorderable? | boolean | Whether columns are reorderable. | generated/jsx.ts:2326 |
rowFactory? | Gtk.ListItemFactory | null | The factory used for configuring rows. The factory must be for configuring ColumnViewRow objects. | generated/jsx.ts:2332 |
selected? | string[] | null | Array of selected item IDs | generated/jsx.ts:2367 |
selectionMode? | Gtk.SelectionMode | null | Selection mode: SINGLE (default) or MULTIPLE | generated/jsx.ts:2371 |
showColumnSeparators? | boolean | Show separators between columns. | generated/jsx.ts:2334 |
showRowSeparators? | boolean | Show separators between rows. | generated/jsx.ts:2336 |
singleClickActivate? | boolean | Activate rows on single click and select them on hover. | generated/jsx.ts:2338 |
sortColumn? | string | null | ID of the currently sorted column, or null if unsorted | generated/jsx.ts:2373 |
sortOrder? | Gtk.SortType | null | The current sort direction | generated/jsx.ts:2375 |
tabBehavior? | Gtk.ListTabBehavior | Behavior of the Tab key | generated/jsx.ts:2340 |
vadjustment? | Gtk.Adjustment | Vertical GtkAdjustment of the scrollable widget. This adjustment is shared between the scrollable widget and its parent. | generated/jsx.ts:2354 |
vscrollPolicy? | Gtk.ScrollablePolicy | Determines when vertical scrolling should start. | generated/jsx.ts:2356 |