insertColumn

open fun insertColumn(column: TreeViewColumn, position: <Error class: unknown class>): <Error class: unknown class>(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

Use class@Gtk.ListView or class@Gtk.ColumnView instead

---

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.

Return

The number of columns in @tree_view after insertion.

Parameters

column

The GtkTreeViewColumn to be inserted.

position

The position to insert @column in.