@set


Description:

public void @set (ModelIter iter, ...)

Sets all values across the entire row referenced by iter.

The variable argument list should contain values that match the column schemas for the model. All basic variant type (see is_basic) are passed in as their raw C type while all other types are passed in boxed in a Variant. Any floating references on variants passed to this method are consumed.

For example, to set the values for a row on model with the schema ("u", "s", "as"):

  GVariantBuilder b;

g_variant_builder_init (&b, "as");
g_variant_builder_add (&b, "Hello");
g_variant_builder_add (&b, "World");

dee_model_set (model, iter, 27, "foo", g_variant_builder_end (&b));

Parameters:

this

a Model

iter

a ModelIter