TreeView.insertColumn

int insertColumn(gtk.tree_view_column.TreeViewColumn column, int position)

This inserts the column into the tree_view at position. If position is -1, then the column is inserted at the end. If tree_view has “fixed_height” mode enabled, then column must have its “sizing” property set to be GTK_TREE_VIEW_COLUMN_FIXED.

Parameters

columnThe [gtk.tree_view_column.TreeViewColumn] to be inserted.
positionThe position to insert column in.

Returns

The number of columns in tree_view after insertion.

Deprecated

Use [gtk.list_view.ListView] or [gtk.column_view.ColumnView] instead