mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
96c31bbf0e
Allow a ClutterModel to be constructed through the ClutterScript API. Currently this allows a model to be generated like like this: { "id" : "test-model", "type" : "ClutterListModel", "columns" : [ [ "text-column", "gchararray" ], [ "int-column", "gint" ], [ "actor-column", "ClutterRectangle" ] ] } where 'columns' is an array containing arrays of column-name, column-type pairs. http://bugzilla.openedhand.com/show_bug.cgi?id=2007
10 lines
188 B
JSON
10 lines
188 B
JSON
{
|
|
"id" : "test-model",
|
|
"type" : "ClutterListModel",
|
|
"columns" : [
|
|
[ "text-column", "gchararray" ],
|
|
[ "int-column", "gint" ],
|
|
[ "actor-column", "ClutterRectangle" ]
|
|
]
|
|
}
|