Method

GtkTreeStoreinsert_with_valuesv

since: 2.10

Declaration [src]

void
gtk_tree_store_insert_with_valuesv (
  GtkTreeStore* tree_store,
  GtkTreeIter* iter,
  GtkTreeIter* parent,
  gint position,
  gint* columns,
  GValue* values,
  gint n_values
)

Description [src]

A variant of gtk_tree_store_insert_with_values() which takes the columns and values as two arrays, instead of varargs. This function is mainly intended for language bindings.

Available since: 2.10

This method is renamed to gtk_tree_store_insert_with_values() in language bindings.

Parameters

iter

Type: GtkTreeIter

An unset GtkTreeIter to set the new row, or NULL.

The argument will be set by the function.
The argument can be NULL.
The returned data is owned by the instance.
parent

Type: GtkTreeIter

A valid GtkTreeIter, or NULL.

The argument can be NULL.
The data is owned by the caller of the method.
position

Type: gint

Position to insert the new row, or -1 for last.

columns

Type: An array of gint

An array of column numbers.

The length of the array is specified in the n_values argument.
The data is owned by the caller of the method.
values

Type: An array of GValue

An array of GValues.

The length of the array is specified in the n_values argument.
The data is owned by the caller of the method.
n_values

Type: gint

The length of the columns and values arrays.