@set


Description:

[ CCode ( sentinel = "-1" ) ]
public void @set (TreeIter iter, ...)

Sets the value of one or more cells in the row referenced by iter.

The variable argument list should contain integer column numbers, each column number followed by the value to be set. The list is terminated by a -1. For example, to set column 0 with type g_type_string to “Foo”, you would write `gtk_list_store_set (store, iter, 0, "Foo", -1)`.

The value will be referenced by the store if it is a g_type_object, and it will be copied if it is a g_type_string or g_type_boxed.

Parameters:

this

a ListStore

iter

row iterator

...

pairs of column number and value, terminated with -1




2022 vala-language.org