Package: gtk

Class gtk-tree-view-column

Superclasses

gtk-buildable, gtk-cell-layout, g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

alignment
The alignment property of type :float (Read / Write)
Alignment of the tree view column header text or widget, 0.0 for left, 0.5 for center, and 1.0 for right alignment.
Allowed values: [0,1]
Default value: 0
cell-area
The cell-area property of type gtk-cell-area (Read / Write / Construct)
The cell area used to layout cell renderers for this tree view column. If no cell area is specified when creating the tree view column a horizontally oriented gtk-cell-area-box object will be used.
clickable
The clickable property of type :boolean (Read / Write)
Whether the tree view column header can be clicked.
Default value: false
expand
The expand property of type :boolean (Read / Write)
Tree view column gets share of extra width allocated to the widget.
Default value: false
fixed-width
The fixed-width property of type :int (Read / Write)
Current fixed width of the tree view column.
Allowed values: >= 1
Default value: 1
max-width
The max-width property of type :int (Read / Write)
Maximum allowed width of the tree view column.
Allowed values: >= -1
Default value: -1
min-width
The min-width property of type :int (Read / Write )
Minimum allowed width of the tree view column.
Allowed values: >= -1
Default value: -1
reorderable
The reorderable property of type :boolean (Read / Write)
Whether the tree view column can be reordered around the headers.
Default value: false
resizable
The resizable property of type :boolean (Read / Write)
Column is user-resizable.
Default value: false
sizing
The sizing property of type gtk-tree-view-column-sizing (Read / Write)
Resize mode of the tree view column.
Default value: :grow-only
sort-column-id
The sort-column-id property of type :int (Read / Write)
Logical sort column ID this tree view column sorts on when selected for sorting. Setting the sort column ID makes the tree view column header clickable. Set to -1 to make the column unsortable.
Allowed values: >= -1
Default value: -1
sort-indicator
The sort-indicator property of type :boolean (Read / Write)
Whether to show a sort indicator.
Default value: false
sort-order
The sort-order property of type gtk-sort-type (Read / Write)
Sort direction the sort indicator should indicate.
Default value: :ascending
spacing
The spacing property of type :int (Read / Write)
Space which is inserted between cell renderers.
Allowed values: >= 0
Default value: 0
title
The title property of type :string (Read / Write)
Title to appear in the tree view column header.
Default value: ""
visible
The visible property of type :boolean (Read / Write)
Whether to display the tree view column.
Default value: true
widget
The widget property of type gtk-widget (Read / Write)
Widget to put in the tree view column header button instead of column title.
width
The width property of type :int (Read)
Current width of the tree view column.
Allowed values: >= 0
Default value: 0
x-offset
The x-offset property of type :int (Read)
Current x position of the tree view column.
Default value: 0

Details

The gtk-tree-view-column object represents a visible column in a gtk-tree-view widget. It allows to set properties of the tree view column header, and functions as a holding pen for the cell renderers which determine how the data in the tree view column is displayed.

Please refer to the tree view widget conceptual overview for an overview of all the objects and data types related to the tree view and how they work together.

Signal Details

The "clicked" signal
 lambda (column)    : Run Last      
Emitted when the tree view column is clicked with the mouse or activated with the keyboard.
column
The gtk-tree-view-column object which emitted the signal.
 

Slot Access Functions

Inherited Slot Access Functions

See also

2021-2-24