Method

GtkTreeStoreset_valuesv

since: 2.12

Declaration [src]

void
gtk_tree_store_set_valuesv (
  GtkTreeStore* tree_store,
  GtkTreeIter* iter,
  gint* columns,
  GValue* values,
  gint n_values
)

Description [src]

A variant of gtk_tree_store_set_valist() which takes the columns and values as two arrays, instead of varargs. This function is mainly intended for language bindings or in case the number of columns to change is not known until run-time.

Available since: 2.12

This method is renamed to gtk_tree_store_set() in language bindings

Parameters

iter

Type: GtkTreeIter

A valid GtkTreeIter for the row being modified.

The data is owned by the caller of the function.
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 function.
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 function.
n_values

Type: gint

The length of the columns and values arrays.