Builder4/ValaProjectSettings.bjs
[app.Builder.js] / Builder4 / ValaProjectSettings.bjs
1 {
2     "name" : "ValaProjectSettings",
3     "parent" : "",
4     "title" : "",
5     "path" : "/home/alan/gitlive/app.Builder.js/Builder4/ValaProjectSettings.bjs",
6     "permname" : "",
7     "modOrder" : "",
8     "items" : [
9         {
10             "| void show" : "(Project.Gtk project) {\n\n    this.project=  project;\n\n}\n",
11             "xtype" : "VBox",
12             "string id" : "ValaProjectSettings",
13             "# Gtk.Project project" : "null",
14             "$ xns" : "Gtk",
15             "items" : [
16                 {
17                     "* pack" : "pack_start,true,true,0",
18                     "xtype" : "Notebook",
19                     "$ xns" : "Gtk",
20                     "items" : [
21                         {
22                             "id" : "label_global",
23                             "xtype" : "Label",
24                             "* pack" : false,
25                             "$ xns" : "Gtk",
26                             "utf8 label" : "Global"
27                         },
28                         {
29                             "id" : "label_targets",
30                             "* pack" : false,
31                             "xtype" : "Label",
32                             "$ xns" : "Gtk",
33                             "utf8 label" : "Targets"
34                         },
35                         {
36                             "xtype" : "VBox",
37                             "* pack" : "append_page,_this.label_global.el",
38                             "gboolean homogeneous" : false,
39                             "$ xns" : "Gtk",
40                             "items" : [
41                                 {
42                                     "xtype" : "Label",
43                                     "* pack" : "pack_start,false,false,0",
44                                     "$ xns" : "Gtk",
45                                     "utf8 label" : "compile flags"
46                                 },
47                                 {
48                                     "xtype" : "Entry",
49                                     "* pack" : "pack_start,false,false,0",
50                                     "string id" : "compile_flags",
51                                     "$ xns" : "Gtk"
52                                 },
53                                 {
54                                     "xtype" : "Label",
55                                     "* pack" : "pack_start,false,false,0",
56                                     "$ xns" : "Gtk",
57                                     "utf8 label" : "packages"
58                                 },
59                                 {
60                                     "* pack" : "pack_start,true,true,0",
61                                     "xtype" : "ScrolledWindow",
62                                     "$ xns" : "Gtk",
63                                     "items" : [
64                                         {
65                                             "xtype" : "TreeView",
66                                             "* pack" : "add",
67                                             "string id" : "default_packages_tree",
68                                             "$ xns" : "Gtk",
69                                             "items" : [
70                                                 {
71                                                     "* pack" : "set_model",
72                                                     "xtype" : "ListStore",
73                                                     "$ n_columns" : 2,
74                                                     "$ columns" : "    typeof(string),  // 0 key type\n     typeof(string) // ??\n     ",
75                                                     "$ xns" : "Gtk"
76                                                 },
77                                                 {
78                                                     "utf8 title" : "name",
79                                                     "* init" : " this.el.add_attribute(_this.packages_render.el , \"markup\", 2 );\n this.el.add_attribute(_this.packages_render.el , \"text\", 1 );\n  ",
80                                                     "* pack" : "append_column",
81                                                     "xtype" : "TreeViewColumn",
82                                                     "gboolean resizable" : true,
83                                                     "$ xns" : "Gtk",
84                                                     "items" : [
85                                                         {
86                                                             "id" : "packages_render",
87                                                             "* pack" : "pack_start,false",
88                                                             "xtype" : "CellRendererText",
89                                                             "$ xns" : "Gtk"
90                                                         }
91                                                     ]
92                                                 }
93                                             ]
94                                         }
95                                     ]
96                                 },
97                                 {
98                                     "xtype" : "Label",
99                                     "* pack" : "pack_start,false,false,0",
100                                     "$ xns" : "Gtk",
101                                     "utf8 label" : "Available Directories"
102                                 },
103                                 {
104                                     "* pack" : "pack_start,true,true,0",
105                                     "xtype" : "ScrolledWindow",
106                                     "$ xns" : "Gtk",
107                                     "items" : [
108                                         {
109                                             "xtype" : "TreeView",
110                                             "* pack" : "add",
111                                             "string id" : "default_directory_tree",
112                                             "$ xns" : "Gtk",
113                                             "items" : [
114                                                 {
115                                                     "* pack" : "set_model",
116                                                     "xtype" : "ListStore",
117                                                     "$ n_columns" : 2,
118                                                     "$ columns" : "    typeof(string),  // 0 key type\n     typeof(string) // ??\n     ",
119                                                     "$ xns" : "Gtk"
120                                                 },
121                                                 {
122                                                     "utf8 title" : "name",
123                                                     "* init" : " this.el.add_attribute(_this.directory_render.el , \"markup\", 2 );\n this.el.add_attribute(_this.directory_render.el , \"text\", 1 );\n  ",
124                                                     "* pack" : "append_column",
125                                                     "xtype" : "TreeViewColumn",
126                                                     "gboolean resizable" : true,
127                                                     "$ xns" : "Gtk",
128                                                     "items" : [
129                                                         {
130                                                             "id" : "directory_render",
131                                                             "* pack" : "pack_start,false",
132                                                             "xtype" : "CellRendererText",
133                                                             "$ xns" : "Gtk"
134                                                         }
135                                                     ]
136                                                 }
137                                             ]
138                                         }
139                                     ]
140                                 }
141                             ]
142                         },
143                         {
144                             "gint position" : 300,
145                             "xtype" : "HPaned",
146                             "* pack" : "append_page,_this.label_targets.el",
147                             "$ xns" : "Gtk",
148                             "items" : [
149                                 {
150                                     "* init" : "{  \nthis.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);\n\n}\n",
151                                     "xtype" : "ScrolledWindow",
152                                     "* pack" : "add1",
153                                     "$ xns" : "Gtk",
154                                     "items" : [
155                                         {
156                                             "id" : "targets_tree",
157                                             "xtype" : "TreeView",
158                                             "$ xns" : "Gtk",
159                                             "items" : [
160                                                 {
161                                                     "* pack" : "set_model",
162                                                     "xtype" : "ListStore",
163                                                     "$ n_columns" : 2,
164                                                     "$ columns" : "    typeof(string),  // 0 key type\n     typeof(string) // ??\n     ",
165                                                     "$ xns" : "Gtk"
166                                                 },
167                                                 {
168                                                     "utf8 title" : "name",
169                                                     "* init" : " this.el.add_attribute(_this.targets_render.el , \"markup\", 2 );\n this.el.add_attribute(_this.targets_render.el , \"text\", 1 );\n  ",
170                                                     "* pack" : "append_column",
171                                                     "xtype" : "TreeViewColumn",
172                                                     "gboolean resizable" : true,
173                                                     "$ xns" : "Gtk",
174                                                     "items" : [
175                                                         {
176                                                             "id" : "targets_render",
177                                                             "xtype" : "CellRendererText",
178                                                             "* pack" : "pack_start,false",
179                                                             "$ xns" : "Gtk"
180                                                         }
181                                                     ]
182                                                 }
183                                             ]
184                                         }
185                                     ]
186                                 },
187                                 {
188                                     "xtype" : "VBox",
189                                     "* pack" : "add2",
190                                     "string id" : "set_vbox",
191                                     "gboolean homogeneous" : false,
192                                     "$ xns" : "Gtk",
193                                     "items" : [
194                                         {
195                                             "xtype" : "Label",
196                                             "* pack" : "pack_start,false,false,0",
197                                             "$ xns" : "Gtk",
198                                             "utf8 label" : "target filename"
199                                         },
200                                         {
201                                             "xtype" : "Entry",
202                                             "* pack" : "pack_start,false,false,0",
203                                             "string id" : "build_pack_target",
204                                             "$ xns" : "Gtk"
205                                         },
206                                         {
207                                             "xtype" : "Label",
208                                             "* pack" : "pack_start,false,false,0",
209                                             "$ xns" : "Gtk",
210                                             "utf8 label" : "compile flags"
211                                         },
212                                         {
213                                             "xtype" : "Entry",
214                                             "* pack" : "pack_start,false,false,0",
215                                             "string id" : "build_compile_flags",
216                                             "$ xns" : "Gtk"
217                                         },
218                                         {
219                                             "xtype" : "Label",
220                                             "* pack" : "pack_start,false,false,0",
221                                             "$ xns" : "Gtk",
222                                             "utf8 label" : "Files to compile"
223                                         },
224                                         {
225                                             "* pack" : "pack_start,true,true,0",
226                                             "xtype" : "ScrolledWindow",
227                                             "$ xns" : "Gtk",
228                                             "items" : [
229                                                 {
230                                                     "xtype" : "TreeView",
231                                                     "string id" : "files_tree",
232                                                     "$ xns" : "Gtk",
233                                                     "items" : [
234                                                         {
235                                                             "* pack" : "set_model",
236                                                             "xtype" : "ListStore",
237                                                             "$ n_columns" : 2,
238                                                             "$ columns" : "    typeof(string),  // 0 key type\n     typeof(string) // ??\n     ",
239                                                             "$ xns" : "Gtk"
240                                                         },
241                                                         {
242                                                             "utf8 title" : "name",
243                                                             "* init" : " this.el.add_attribute(_this.files_render.el , \"markup\", 2 );\n this.el.add_attribute(_this.files_render.el , \"text\", 1 );\n  ",
244                                                             "* pack" : "append_column",
245                                                             "xtype" : "TreeViewColumn",
246                                                             "gboolean resizable" : true,
247                                                             "$ xns" : "Gtk",
248                                                             "items" : [
249                                                                 {
250                                                                     "id" : "files_render",
251                                                                     "* pack" : "pack_start,false",
252                                                                     "xtype" : "CellRendererText",
253                                                                     "$ xns" : "Gtk"
254                                                                 }
255                                                             ]
256                                                         }
257                                                     ]
258                                                 }
259                                             ]
260                                         }
261                                     ]
262                                 }
263                             ]
264                         }
265                     ]
266                 }
267             ]
268         }
269     ]
270 }