TreeStore.setColumnTypes

void setColumnTypes(gobject.types.GType[] types)

Sets the type of the columns in a tree store.

This function is meant primarily for types that inherit from [gtk.tree_store.TreeStore], and should only be used when constructing a new [gtk.tree_store.TreeStore].

This functions cannot be called after a row has been added, or a method on the [gtk.tree_model.TreeModel] interface is called on the tree store.

Parameters

typesAn array of GType types, one for each column

Deprecated

Use [gtk.tree_list_model.TreeListModel] instead