ListStore


Description:

[ CCode ( has_construct_function = false , sentinel = "-1" ) ]
public ListStore (int n_columns, ...)

Creates a new list store as with n_columns columns each of the types passed in.

Note that only types derived from standard GObject fundamental types are supported.

As an example, `gtk_list_store_new (3, G_TYPE_INT, G_TYPE_STRING, GDK_TYPE_PIXBUF);` will create a new ListStore with three columns, of type int, string and Pixbuf respectively.

Parameters:

n_columns

number of columns in the list store

...

all Type types for the columns, from first to last

Returns:

a new ListStore




2022 vala-language.org