2010-08-25 16:53:46 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"id" : "stage",
|
|
|
|
"type" : "ClutterStage",
|
|
|
|
"is-default" : true,
|
|
|
|
"width" : 400,
|
|
|
|
"height" : 400,
|
|
|
|
"color" : "#333355ff",
|
|
|
|
"children" : [ "box" ]
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"id" : "box",
|
|
|
|
"type" : "ClutterBox",
|
2010-08-26 09:52:12 +00:00
|
|
|
"width" : 400,
|
|
|
|
"height" : 400,
|
2010-08-25 16:53:46 +00:00
|
|
|
|
|
|
|
"layout-manager" : {
|
|
|
|
"type" : "ClutterBinLayout",
|
|
|
|
"x-align" : "CLUTTER_BIN_ALIGNMENT_CENTER",
|
|
|
|
"y-align" : "CLUTTER_BIN_ALIGNMENT_CENTER"
|
|
|
|
},
|
|
|
|
|
2010-08-26 09:52:12 +00:00
|
|
|
"children" : [
|
2010-08-25 16:53:46 +00:00
|
|
|
{
|
2010-08-26 09:52:12 +00:00
|
|
|
"id" : "rectangle",
|
|
|
|
"type" : "ClutterRectangle",
|
|
|
|
"width" : 200,
|
|
|
|
"height" : 200,
|
|
|
|
"color" : "red"
|
2010-08-25 16:53:46 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|