append


Description:

public void append (...)

Creates and appends a new row to the Model, setting the row values upon creation.

Note:

Use ListModel instead

For example, to append a new row where column 0 is type g_type_int and column 1 is of type g_type_string:

<informalexample><programlisting> ClutterModel *model; model = clutter_model_default_new (2, G_TYPE_INT, "Score", G_TYPE_STRING, "Team"); clutter_model_append (model, 0, 42, 1, "Team #1", -1); </programlisting></informalexample>

Parameters:

this

a Model

...

pairs of column number and value, terminated with -1