@get


Description:

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

Gets all the values across the entire row referenced by iter.

The variable argument list should contain pointers to variables that match the column schemas of this model.

For all basic variant types (see is_basic) this method expects pointers to their native C types while for all other types it expects a pointer to a pointer to a Variant.

For string values you are passed a constant reference which is owned by the model, but any returned variants must be freed with g_variant_unref.

For example, to get all values a model with signature ("u", "s", "as") you would do:

 guint32      u;
const gchar *s;
GVariant *v;

dee_model_get (model, iter, &u, &s, &v);

// do stuff

g_variant_unref (v);

Parameters:

this

a Model

iter

a ModelIter