insert


Description:

public void insert (uint row, ...)

Inserts a new row to the Model at row, setting the row values upon creation.

Note:

Use ListModel instead

For example, to insert a new row at index 100, 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_insert (model, 3, 0, 42, 1, "Team #1", -1);

Parameters:

this

a Model

row

the position to insert the new row

...

pairs of column number and value, terminated with -1