[ CCode ( has_construct_function = false , type = "ClutterModel*" ) ]
public ListModel (uint n_columns, ...)
Creates a new default model with n_columns
columns with the types and names passed in.
Use ListStore instead
For example:
model = clutter_list_model_new (3,
G_TYPE_INT, "Score",
G_TYPE_STRING, "Team",
GDK_TYPE_PIXBUF, "Logo");
will create a new Model with three columns of type int, string and
GdkPixbuf
respectively.
Note that the name of the column can be set to null
, in which case the canonical name of the type held by the column will be
used as the title.
n_columns |
number of columns in the model |
... |
|
a new ListModel |