script: Support layout manager properties
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 7 Jun 2010 21:45:34 +0000 (22:45 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 7 Jun 2010 21:45:34 +0000 (22:45 +0100)
commit4c22f122e19226ee6338c49fca0da1de50894582
tree572e279b442d4edd17b7b9cb5e4543cdde5efc24
parentab76584965ce342017052183e3d70553065ff094
script: Support layout manager properties

Layout properties work similarly to child properties, with the added
headache that they require the 3-tuple:

  ( layout manager, container, actor )

to be valid in order to be inspected, parsed and applied. This means
using the newly added back-pointer from the container to the layout
manager and then rejigging a bit how the ScriptParser handles the
unresolved properties.

Similarly to the child properties, which use the "child::" prefix, the
layout manager properties use the "layout::" prefix and are defined with
the child of a container holding a layout manager.
.gitignore
clutter/clutter-script-parser.c
clutter/clutter-script-private.h
tests/conform/test-conform-main.c
tests/conform/test-script-parser.c
tests/data/Makefile.am
tests/data/test-script-layout-property.json [new file with mode: 0644]