set_column_types


Description:

public void set_column_types (Type[] types)

Sets the types of the columns of a list store.

Note:

Use list models

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

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

Parameters:

this

A `GtkListStore`

types

An array length n of `GType`s

n_columns

Number of columns for the list store