Skip to main content

Type Alias: GtkColumnViewProps

GtkColumnViewProps = WidgetProps & object

Defined in: generated/jsx.ts:2316

Props for the GtkColumnView widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:2380
enableRubberband?booleanAllow rubberband selection.generated/jsx.ts:2318
estimatedRowHeight?number | nullEstimated row height in pixels for proper virtualization before content loadsgenerated/jsx.ts:2379
hadjustment?Gtk.AdjustmentHorizontal GtkAdjustment of the scrollable widget. This adjustment is shared between the scrollable widget and its parent.generated/jsx.ts:2346
headerFactory?Gtk.ListItemFactory | nullFactory for creating header widgets. The factory must be for configuring ListHeader objects.generated/jsx.ts:2324
hscrollPolicy?Gtk.ScrollablePolicyDetermines when horizontal scrolling should start.generated/jsx.ts:2348
onActivate?(position, self) => void | nullEmitted when a row has been activated by the user, usually via activating the GtkListBaselist.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 | nullCalled when selection changes with array of selected item IDsgenerated/jsx.ts:2369
onSortChanged?(column, order) => void | nullCalled when a column header is clicked to change sortgenerated/jsx.ts:2377
ref?Ref<Gtk.ColumnView>-generated/jsx.ts:2381
reorderable?booleanWhether columns are reorderable.generated/jsx.ts:2326
rowFactory?Gtk.ListItemFactory | nullThe factory used for configuring rows. The factory must be for configuring ColumnViewRow objects.generated/jsx.ts:2332
selected?string[] | nullArray of selected item IDsgenerated/jsx.ts:2367
selectionMode?Gtk.SelectionMode | nullSelection mode: SINGLE (default) or MULTIPLEgenerated/jsx.ts:2371
showColumnSeparators?booleanShow separators between columns.generated/jsx.ts:2334
showRowSeparators?booleanShow separators between rows.generated/jsx.ts:2336
singleClickActivate?booleanActivate rows on single click and select them on hover.generated/jsx.ts:2338
sortColumn?string | nullID of the currently sorted column, or null if unsortedgenerated/jsx.ts:2373
sortOrder?Gtk.SortType | nullThe current sort directiongenerated/jsx.ts:2375
tabBehavior?Gtk.ListTabBehaviorBehavior of the Tab keygenerated/jsx.ts:2340
vadjustment?Gtk.AdjustmentVertical GtkAdjustment of the scrollable widget. This adjustment is shared between the scrollable widget and its parent.generated/jsx.ts:2354
vscrollPolicy?Gtk.ScrollablePolicyDetermines when vertical scrolling should start.generated/jsx.ts:2356