set_column_types


Description:

public void set_column_types (Type[] types)

Sets the type of the columns in a tree store.

Note:

Use [class@Gtk.TreeListModel] instead

This function is meant primarily for types that inherit from `GtkTreeStore`, and should only be used when constructing a new `GtkTreeStore`.

This functions cannot be called after a row has been added, or a method on the `GtkTreeModel` interface is called on the tree store.

Parameters:

this

A `GtkTreeStore`

types

An array of `GType` types, one for each column

n_columns

Number of columns for the tree store