Skip to main content

Type Alias: GtkColumnViewProps

GtkColumnViewProps = WidgetProps & object

Defined in: generated/jsx.ts:2798

Props for the GtkColumnView widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:2862
enableRubberband?booleanAllow rubberband selection.generated/jsx.ts:2800
estimatedRowHeight?number | nullEstimated row height in pixels for proper virtualization before content loadsgenerated/jsx.ts:2861
hadjustment?Gtk.AdjustmentHorizontal GtkAdjustment of the scrollable widget. This adjustment is shared between the scrollable widget and its parent.generated/jsx.ts:2828
headerFactory?Gtk.ListItemFactory | nullFactory for creating header widgets. The factory must be for configuring ListHeader objects.generated/jsx.ts:2806
hscrollPolicy?Gtk.ScrollablePolicyDetermines when horizontal scrolling should start.generated/jsx.ts:2830
onActivate()?(self, position) => 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.
onNotify?(self, propName) => void | nullCalled 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 | nullCalled when selection changes with array of selected item IDsgenerated/jsx.ts:2851
onSortChanged?(column, order) => void | nullCalled when a column header is clicked to change sortgenerated/jsx.ts:2859
ref?Ref<Gtk.ColumnView>-generated/jsx.ts:2887
reorderable?booleanWhether columns are reorderable.generated/jsx.ts:2808
rowFactory?Gtk.ListItemFactory | nullThe factory used for configuring rows. The factory must be for configuring ColumnViewRow objects.generated/jsx.ts:2814
selected?string[] | nullArray of selected item IDsgenerated/jsx.ts:2849
selectionMode?SelectionMode | nullSelection mode: SINGLE (default) or MULTIPLEgenerated/jsx.ts:2853
showColumnSeparators?booleanShow separators between columns.generated/jsx.ts:2816
showRowSeparators?booleanShow separators between rows.generated/jsx.ts:2818
singleClickActivate?booleanActivate rows on single click and select them on hover.generated/jsx.ts:2820
sortColumn?string | nullID of the currently sorted column, or null if unsortedgenerated/jsx.ts:2855
sortOrder?SortType | nullThe current sort directiongenerated/jsx.ts:2857
tabBehavior?Gtk.ListTabBehaviorBehavior of the Tab keygenerated/jsx.ts:2822
vadjustment?Gtk.AdjustmentVertical GtkAdjustment of the scrollable widget. This adjustment is shared between the scrollable widget and its parent.generated/jsx.ts:2836
vscrollPolicy?Gtk.ScrollablePolicyDetermines when vertical scrolling should start.generated/jsx.ts:2838