set_column_types


Description:

public void set_column_types (Type[] types)

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

It will not function after a row has been added, or a method on the `GtkTreeModel` interface is called.

Parameters:

this

A `GtkTreeStore`

types

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

n_columns

Number of columns for the tree store




2022 vala-language.org