updated xobject , clutter base objects started
[app.Builder.js] / ClutterTest / Window.bjs
1 {
2     "id": "file-gtk-13",
3     "name": "Window",
4     "parent": "",
5     "title": false,
6     "path": "/home/alan/gitlive/app.Builder.js/ClutterTest/Window.bjs",
7     "items": [
8         {
9             "default_height": 900,
10             "default_width": 900,
11             "xtype": "Window",
12             "|init": "function() {\n    XObject.prototype.init.call(this);\n    this.el.show_all();\n}\n",
13             "|xns": "Gtk",
14             "items": [
15                 {
16                     "pack": "add",
17                     "xtype": "Embed",
18                     "|xns": "GtkClutter",
19                     "listeners": {},
20                     "items": [
21                         {
22                             "pack": false,
23                             "x": 10,
24                             "xtype": "Actor",
25                             "y": 10,
26                             "|xns": "GtkClutter",
27                             "listeners": {},
28                             "items": [
29                                 {
30                                     "listeners": {
31                                         "clicked": "function (self) {\n    Clutter = imports.gi.Clutter;\n    var animate = this.parent.el.animate(\n        Clutter.AnimationMode.EASE_OUT_ELASTIC, 2000,\n        {\n\t       scale_x : 5,\n\t      scale_y: 5,\n\n        }\n    );\n    animate.timeline.start();\n\n}"
32                                     },
33                                     "height_request": 100,
34                                     "label": "project list",
35                                     "pack": false,
36                                     "width_request": 100,
37                                     "xtype": "Button",
38                                     "|xns": "Gtk"
39                                 }
40                             ]
41                         },
42                         {
43                             "pack": false,
44                             "x": 10,
45                             "xtype": "Actor",
46                             "y": 150,
47                             "|xns": "GtkClutter",
48                             "listeners": {},
49                             "items": [
50                                 {
51                                     "listeners": {
52                                         "clicked": "function (self) {\n   Clutter = imports.gi.Clutter;\n        var animate = this.parent.el.animate(\n\t\tClutter.AnimationMode.EASE_OUT_ELASTIC, 2000,\n\t\t{\n\t\t\t   scale_x : 5,\n\t\t\t  scale_y: 5,\n\n\t\t}\n\t\t);\n\t\tanimate.timeline.start();\n\n}"
53                                     },
54                                     "height_request": 100,
55                                     "label": "file list",
56                                     "pack": false,
57                                     "width_request": 100,
58                                     "xtype": "Button",
59                                     "|xns": "Gtk"
60                                 }
61                             ]
62                         },
63                         {
64                             "pack": false,
65                             "x": 10,
66                             "xtype": "Actor",
67                             "y": 300,
68                             "|xns": "GtkClutter",
69                             "listeners": {},
70                             "items": [
71                                 {
72                                     "listeners": {
73                                         "clicked": "function (self) {\n   Clutter = imports.gi.Clutter;\n        var animate = this.parent.el.animate(\n\t\tClutter.AnimationMode.EASE_OUT_ELASTIC, 2000,\n\t\t{\n\t\t\t   scale_x : 5,\n\t\t\t  scale_y: 5,\n\n\t\t}\n\t\t);\n\t\tanimate.timeline.start();\n\n}"
74                                     },
75                                     "height_request": 100,
76                                     "label": "tree of parts",
77                                     "pack": false,
78                                     "width_request": 100,
79                                     "xtype": "Button",
80                                     "|xns": "Gtk"
81                                 }
82                             ]
83                         },
84                         {
85                             "pack": false,
86                             "x": 10,
87                             "xtype": "Actor",
88                             "y": 450,
89                             "|xns": "GtkClutter",
90                             "listeners": {},
91                             "items": [
92                                 {
93                                     "listeners": {
94                                         "clicked": "function (self) {\n   Clutter = imports.gi.Clutter;\n        var animate = this.parent.el.animate(\n\t\tClutter.AnimationMode.EASE_OUT_ELASTIC, 2000,\n\t\t{\n\t\t\t   scale_x : 5,\n\t\t\t  scale_y: 5,\n\n\t\t}\n\t\t);\n\t\tanimate.timeline.start();\n\n}"
95                                     },
96                                     "height_request": 100,
97                                     "label": "property editor",
98                                     "pack": false,
99                                     "width_request": 100,
100                                     "xtype": "Button",
101                                     "|xns": "Gtk"
102                                 }
103                             ]
104                         },
105                         {
106                             "pack": false,
107                             "x": 150,
108                             "xtype": "Actor",
109                             "y": 450,
110                             "|xns": "GtkClutter",
111                             "listeners": {},
112                             "items": [
113                                 {
114                                     "listeners": {
115                                         "clicked": "function (self) {\n   Clutter = imports.gi.Clutter;\n        var animate = this.parent.el.animate(\n\t\tClutter.AnimationMode.EASE_OUT_ELASTIC, 2000,\n\t\t{\n\t\t\t   scale_x : 5,\n\t\t\t  scale_y: 5,\n\n\t\t}\n\t\t);\n\t\tanimate.timeline.start();\n\n}"
116                                     },
117                                     "height_request": 100,
118                                     "label": "text editor",
119                                     "pack": false,
120                                     "width_request": 100,
121                                     "xtype": "Button",
122                                     "|xns": "Gtk"
123                                 }
124                             ]
125                         },
126                         {
127                             "pack": false,
128                             "x": 150,
129                             "xtype": "Actor",
130                             "y": 10,
131                             "|xns": "GtkClutter",
132                             "listeners": {},
133                             "items": [
134                                 {
135                                     "listeners": {
136                                         "clicked": "function (self) {\n   Clutter = imports.gi.Clutter;\n        var animate = this.parent.el.animate(\n\t\tClutter.AnimationMode.EASE_OUT_ELASTIC, 2000,\n\t\t{\n\t\t\t   scale_x : 5,\n\t\t\t  scale_y: 5,\n\n\t\t}\n\t\t);\n\t\tanimate.timeline.start();\n\n}"
137                                     },
138                                     "height_request": 100,
139                                     "label": "preview app",
140                                     "pack": false,
141                                     "width_request": 100,
142                                     "xtype": "Button",
143                                     "|xns": "Gtk"
144                                 }
145                             ]
146                         },
147                         {
148                             "pack": false,
149                             "x": 100,
150                             "xtype": "Actor",
151                             "y": 300,
152                             "|xns": "GtkClutter",
153                             "listeners": {},
154                             "items": [
155                                 {
156                                     "listeners": {
157                                         "clicked": "function (self) {\n   Clutter = imports.gi.Clutter;\n        var animate = this.parent.el.animate(\n\t\tClutter.AnimationMode.EASE_OUT_ELASTIC, 2000,\n\t\t{\n\t\t\t   scale_x : 5,\n\t\t\t  scale_y: 5,\n\n\t\t}\n\t\t);\n\t\tanimate.timeline.start();\n\n}"
158                                     },
159                                     "height_request": 100,
160                                     "label": "palete",
161                                     "pack": false,
162                                     "width_request": 100,
163                                     "xtype": "Button",
164                                     "|xns": "Gtk"
165                                 }
166                             ]
167                         }
168                     ]
169                 }
170             ]
171         }
172     ],
173     "permname": ""
174 }