prepend


Description:

public void prepend (...)

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

Note:

Use ListModel instead

For example, to prepend 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_prepend (model, 0, 42, 1, "Team #1", -1);

Parameters:

this

a Model

...

pairs of column number and value, terminated with -1




2022 vala-language.org