insert_column_with_attributes


Description:

public int insert_column_with_attributes (int position, string? title, CellRenderer cell, ...)

Creates a new `GtkTreeViewColumn` and inserts it into the this at position.

Note:

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

If position is -1, then the newly created column is inserted at the end. The column is initialized with the attributes given. If this has “fixed_height” mode enabled, then the new column will have its sizing property set to be GTK_TREE_VIEW_COLUMN_FIXED.

Parameters:

this

A `GtkTreeView`

position

The position to insert the new column in

title

The title to set the header to

cell

The `GtkCellRenderer`

...

A null-terminated list of attributes

Returns:

The number of columns in this after insertion.