Type Alias: GtkColumnViewProps
GtkColumnViewProps =
WidgetProps&object
Defined in: generated/jsx.ts:2798
Props for the GtkColumnView widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
children? | ReactNode | - | generated/jsx.ts:2862 |
enableRubberband? | boolean | Allow rubberband selection. | generated/jsx.ts:2800 |
estimatedRowHeight? | number | null | Estimated row height in pixels for proper virtualization before content loads | generated/jsx.ts:2861 |
hadjustment? | Gtk.Adjustment | Horizontal GtkAdjustment of the scrollable widget. This adjustment is shared between the scrollable widget and its parent. | generated/jsx.ts:2828 |
headerFactory? | Gtk.ListItemFactory | null | Factory for creating header widgets. The factory must be for configuring ListHeader objects. | generated/jsx.ts:2806 |
hscrollPolicy? | Gtk.ScrollablePolicy | Determines when horizontal scrolling should start. | generated/jsx.ts:2830 |
onActivate()? | (self, position) => 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. |
onNotify? | (self, propName) => void | null | Called when any property on this widget changes. Param The widget that emitted the notification Param The name of the property that changed (in kebab-case) | generated/jsx.ts:2868 |
onSelectionChanged? | (ids) => void | null | Called when selection changes with array of selected item IDs | generated/jsx.ts:2851 |
onSortChanged? | (column, order) => void | null | Called when a column header is clicked to change sort | generated/jsx.ts:2859 |
ref? | Ref<Gtk.ColumnView> | - | generated/jsx.ts:2887 |
reorderable? | boolean | Whether columns are reorderable. | generated/jsx.ts:2808 |
rowFactory? | Gtk.ListItemFactory | null | The factory used for configuring rows. The factory must be for configuring ColumnViewRow objects. | generated/jsx.ts:2814 |
selected? | string[] | null | Array of selected item IDs | generated/jsx.ts:2849 |
selectionMode? | SelectionMode | null | Selection mode: SINGLE (default) or MULTIPLE | generated/jsx.ts:2853 |
showColumnSeparators? | boolean | Show separators between columns. | generated/jsx.ts:2816 |
showRowSeparators? | boolean | Show separators between rows. | generated/jsx.ts:2818 |
singleClickActivate? | boolean | Activate rows on single click and select them on hover. | generated/jsx.ts:2820 |
sortColumn? | string | null | ID of the currently sorted column, or null if unsorted | generated/jsx.ts:2855 |
sortOrder? | SortType | null | The current sort direction | generated/jsx.ts:2857 |
tabBehavior? | Gtk.ListTabBehavior | Behavior of the Tab key | generated/jsx.ts:2822 |
vadjustment? | Gtk.Adjustment | Vertical GtkAdjustment of the scrollable widget. This adjustment is shared between the scrollable widget and its parent. | generated/jsx.ts:2836 |
vscrollPolicy? | Gtk.ScrollablePolicy | Determines when vertical scrolling should start. | generated/jsx.ts:2838 |