newv


Description:

[ Version ( since = "4.2" ) ]
public static TreeModel newv (Tree tree, uint n_columns, Type types, string attribute_names)

Creates a TreeModel interface with a Tree, mapping columns to attributes' values.

For more information and limitations, see TreeStore.

Parameters:

tree

a Tree object

n_columns

number of columns in the tree store

types

an array of n_columns GType to specify the type of each column

attribute_names

an array of n_columns strings to specify the attribute name to map each column on

Returns:

the new object, or null if an inconsistency exists in the parameters




2022 vala-language.org