set_schema


Description:

public void set_schema (...)

Set the Variant types and the number of columns used by this .

This method must be called exactly once before using this. Note that some constructors will do this for you.

To create a model with three columns; a 32 bit integer, a string, and lastly an array of strings, you would do:

 DeeModel *model;
model = dee_sequence_model_new ();
dee_model_set_schema (model, "i", "s", "as", NULL);

Parameters:

this

The Model to set the column layout for