Debian Codegraph @

tests/conform/scripts/test-state-1.json

raw
1 [
2 {
3 "type" : "ClutterRectangle",
4 "id" : "rect",
5 "width" : 100,
6 "height" : 100
7 },
8 {
9 "type" : "ClutterState",
10 "id" : "state",
11
12 "transitions" : [
13 {
14 "source" : "base",
15 "target" : "clicked",
16 "duration" : 250,
17
18 "keys" : [
19 [ "rect", "opacity", "linear", 128 ]
20 ]
21 },
22 {
23 "source" : "clicked",
24 "target" : "base",
25 "duration" : 150,
26
27 "keys" : [
28 [ "rect", "opacity", "linear", 255 ]
29 ]
30 }
31 ]
32 }
33 ]