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 INT and column 1 is of type STRING:

  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);

Parameters:

this

a Model

...

pairs of column number and value, terminated with -1