Constructor

GtkListStorenewv

Declaration [src]

GtkListStore*
gtk_list_store_newv (
  gint n_columns,
  GType* types
)

Description [src]

Non-vararg creation function. Used primarily by language bindings.

This constructor is renamed to () in language bindings.

Parameters

n_columns

Type: gint

Number of columns in the list store.

types

Type: An array of GType

An array of GType types for the columns, from first to last.

The length of the array is specified in the n_columns argument.
The data is owned by the caller of the function.

Return value

Type: GtkListStore

A new GtkListStore.

The caller of the function takes ownership of the data, and is responsible for freeing it.