model: Add support to define rows in ClutterScript
authorBastian Winkler <buz@netbuz.org>
Fri, 21 Jan 2011 13:50:44 +0000 (14:50 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 21 Jan 2011 20:44:17 +0000 (20:44 +0000)
commit6bffd407fd4f4d4d5b5c5f5ef6d9b43c44b7fe03
tree58f8ec89357fec1786c326615fcd9bc45a6ec5ef
parent95b3a718ef5c08f058e2bf0e3e56df390408821f
model: Add support to define rows in ClutterScript

This adds a custom "rows" property, that allows to define the rows of a
ClutterModel. A single row can either an array of all columns or an
object with column-name : column-value pairs.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2528
clutter/clutter-model.c
tests/conform/test-model.c
tests/data/test-script-model.json