Package: gtk

Function gtk-tree-view-insert-column-with-attributes

Lambda List

gtk-tree-view-insert-column-with-attributes (view position title renderer &rest attributes)

Arguments

view -- a gtk-tree-view widget
position -- an integer with the position to insert the new column in
title -- an string with the title to set the header to
renderer -- the gtk-cell-renderer object
attributes -- a list of attributes

Return Value

The number of columns in view after insertion.

Details

Creates a new gtk-tree-view-column object and inserts it into the tree view at position. If position is -1, then the newly created column is inserted at the end. The column is initialized with the attributes given. If view has the fixed-height-mode property enabled, then the new column will have its sizing property set to be :fixed.
 

See also

2021-2-26