tests/conform/scripts/test-script-child.json
raw| 1 | { |
| 2 | "type" : "TestGroup", |
| 3 | "id" : "test-group", |
| 4 | "children" : [ |
| 5 | { |
| 6 | "type" : "ClutterRectangle", |
| 7 | "id" : "test-rect-1", |
| 8 | "width" : 100.0, |
| 9 | "height" : 100.0, |
| 10 | "color" : [ 255, 0, 0, 255 ], |
| 11 | "child::focus" : true |
| 12 | }, |
| 13 | { |
| 14 | "type" : "ClutterRectangle", |
| 15 | "id" : "test-rect-2", |
| 16 | "width" : 100.0, |
| 17 | "height" : 100.0, |
| 18 | "color" : [ 0, 255, 0, 255 ] |
| 19 | } |
| 20 | ] |
| 21 | } |