1 static ValaProjectSettings _ValaProjectSettings;
3 public class ValaProjectSettings : Object
6 private ValaProjectSettings _this;
8 public static ValaProjectSettings singleton()
10 if (_ValaProjectSettings == null) {
11 _ValaProjectSettings= new ValaProjectSettings();
13 return _ValaProjectSettings;
15 public Xcls_label_global label_global;
16 public Xcls_label_targets label_targets;
17 public Xcls_compile_flags compile_flags;
18 public Xcls_default_packages_tree_store default_packages_tree_store;
19 public Xcls_packages_render packages_render;
20 public Xcls_packages_render_use packages_render_use;
21 public Xcls_default_directory_tree default_directory_tree;
22 public Xcls_default_directory_tree_store default_directory_tree_store;
23 public Xcls_directory_render directory_render;
24 public Xcls_default_directory_menu default_directory_menu;
25 public Xcls_targets_tree_menu targets_tree_menu;
26 public Xcls_targets_tree targets_tree;
27 public Xcls_targets_tree_store targets_tree_store;
28 public Xcls_targets_render targets_render;
29 public Xcls_files_render files_render;
32 public Project.Gtk project;
33 public Xcls_MainWindow window;
36 public ValaProjectSettings()
39 this.el = new Gtk.VBox( true, 0 );
46 var child_0 = new Xcls_Notebook2( _this );
48 this.el.pack_start ( child_0.el , true,true,0 );
51 // user defined functions
52 public void show (Project.Gtk project) {
55 print("ValaProjectSettings show\n");
57 this.project= project;
59 this.compile_flags.el.text = "";
61 this.default_directory_tree_store.load();
62 this.default_packages_tree_store.load();
63 this.targets_tree_store.load();
67 public class Xcls_Notebook2 : Object
69 public Gtk.Notebook el;
70 private ValaProjectSettings _this;
76 public Xcls_Notebook2(ValaProjectSettings _owner )
79 this.el = new Gtk.Notebook();
84 var child_0 = new Xcls_label_global( _this );
86 var child_1 = new Xcls_label_targets( _this );
88 var child_2 = new Xcls_VBox5( _this );
90 this.el.append_page ( child_2.el , _this.label_global.el );
91 var child_3 = new Xcls_HPaned27( _this );
93 this.el.append_page ( child_3.el , _this.label_targets.el );
96 // user defined functions
98 public class Xcls_label_global : Object
101 private ValaProjectSettings _this;
107 public Xcls_label_global(ValaProjectSettings _owner )
110 _this.label_global = this;
111 this.el = new Gtk.Label( "Global" );
115 // set gobject values
118 // user defined functions
120 public class Xcls_label_targets : Object
123 private ValaProjectSettings _this;
129 public Xcls_label_targets(ValaProjectSettings _owner )
132 _this.label_targets = this;
133 this.el = new Gtk.Label( "Targets" );
137 // set gobject values
140 // user defined functions
142 public class Xcls_VBox5 : Object
145 private ValaProjectSettings _this;
151 public Xcls_VBox5(ValaProjectSettings _owner )
154 this.el = new Gtk.VBox( false, 0 );
158 // set gobject values
159 var child_0 = new Xcls_Label6( _this );
161 this.el.pack_start ( child_0.el , false,false,0 );
162 var child_1 = new Xcls_compile_flags( _this );
164 this.el.pack_start ( child_1.el , false,false,0 );
165 var child_2 = new Xcls_Label8( _this );
167 this.el.pack_start ( child_2.el , false,false,0 );
168 var child_3 = new Xcls_ScrolledWindow9( _this );
170 this.el.pack_start ( child_3.el , true,true,0 );
171 var child_4 = new Xcls_Label16( _this );
173 this.el.pack_start ( child_4.el , false,false,0 );
174 var child_5 = new Xcls_ScrolledWindow17( _this );
176 this.el.pack_start ( child_5.el , true,true,0 );
179 // user defined functions
181 public class Xcls_Label6 : Object
184 private ValaProjectSettings _this;
190 public Xcls_Label6(ValaProjectSettings _owner )
193 this.el = new Gtk.Label( "compile flags" );
197 // set gobject values
200 // user defined functions
202 public class Xcls_compile_flags : Object
205 private ValaProjectSettings _this;
211 public Xcls_compile_flags(ValaProjectSettings _owner )
214 _this.compile_flags = this;
215 this.el = new Gtk.Entry();
219 // set gobject values
222 // user defined functions
224 public class Xcls_Label8 : Object
227 private ValaProjectSettings _this;
233 public Xcls_Label8(ValaProjectSettings _owner )
236 this.el = new Gtk.Label( "packages" );
240 // set gobject values
243 // user defined functions
245 public class Xcls_ScrolledWindow9 : Object
247 public Gtk.ScrolledWindow el;
248 private ValaProjectSettings _this;
254 public Xcls_ScrolledWindow9(ValaProjectSettings _owner )
257 this.el = new Gtk.ScrolledWindow( null, null );
261 // set gobject values
262 var child_0 = new Xcls_default_packages_tree( _this );
264 this.el.add ( child_0.el );
267 // user defined functions
269 public class Xcls_default_packages_tree : Object
271 public Gtk.TreeView el;
272 private ValaProjectSettings _this;
278 public Xcls_default_packages_tree(ValaProjectSettings _owner )
281 this.el = new Gtk.TreeView();
285 // set gobject values
286 this.el.headers_visible = false;
287 var child_0 = new Xcls_default_packages_tree_store( _this );
289 this.el.set_model ( child_0.el );
290 var child_1 = new Xcls_TreeViewColumn12( _this );
292 this.el.append_column ( child_1.el );
293 var child_2 = new Xcls_TreeViewColumn14( _this );
295 this.el.append_column ( child_2.el );
298 // user defined functions
300 public class Xcls_default_packages_tree_store : Object
302 public Gtk.ListStore el;
303 private ValaProjectSettings _this;
309 public Xcls_default_packages_tree_store(ValaProjectSettings _owner )
312 _this.default_packages_tree_store = this;
313 this.el = new Gtk.ListStore( 2, typeof(string), // 0 key type
318 // set gobject values
321 // user defined functions
322 public void load () {
324 var def = _this.project.compilegroups.get("_default_");
325 var items = def.packages;
328 var pal = (Palete.Gtk) Palete.factory("Gtk");
329 var pkgs = pal.packages();
330 print("ValaProjectSettings:packages load %d\n", pkgs.size);
334 for(var i =0 ; i < pkgs.size; i++) {
335 this.el.append(out citer);
337 this.el.set_value(citer, 0, pkgs.get(i) ); // title
338 this.el.set_value(citer, 1, items.contains(pkgs.get(i)) );
340 this.el.set_sort_column_id(0,Gtk.SortType.ASCENDING);
344 public class Xcls_TreeViewColumn12 : Object
346 public Gtk.TreeViewColumn el;
347 private ValaProjectSettings _this;
353 public Xcls_TreeViewColumn12(ValaProjectSettings _owner )
356 this.el = new Gtk.TreeViewColumn();
360 // set gobject values
361 this.el.title = "name";
362 this.el.expand = true;
363 this.el.resizable = true;
364 var child_0 = new Xcls_packages_render( _this );
366 this.el.pack_start ( child_0.el , false );
370 this.el.add_attribute(_this.packages_render.el , "text", 0 ); }
372 // user defined functions
374 public class Xcls_packages_render : Object
376 public Gtk.CellRendererText el;
377 private ValaProjectSettings _this;
383 public Xcls_packages_render(ValaProjectSettings _owner )
386 _this.packages_render = this;
387 this.el = new Gtk.CellRendererText();
391 // set gobject values
394 // user defined functions
396 public class Xcls_TreeViewColumn14 : Object
398 public Gtk.TreeViewColumn el;
399 private ValaProjectSettings _this;
405 public Xcls_TreeViewColumn14(ValaProjectSettings _owner )
408 this.el = new Gtk.TreeViewColumn();
412 // set gobject values
413 this.el.title = "use";
414 this.el.resizable = false;
415 this.el.fixed_width = 50;
416 var child_0 = new Xcls_packages_render_use( _this );
418 this.el.pack_start ( child_0.el , false );
423 this.el.add_attribute(_this.packages_render_use.el , "active", 1 );
426 // user defined functions
428 public class Xcls_packages_render_use : Object
430 public Gtk.CellRendererToggle el;
431 private ValaProjectSettings _this;
437 public Xcls_packages_render_use(ValaProjectSettings _owner )
440 _this.packages_render_use = this;
441 this.el = new Gtk.CellRendererToggle();
445 // set gobject values
446 this.el.activatable = true;
449 this.el.toggled.connect( ( path_string) => {
450 var m = _this.default_packages_tree_store.el;
452 Gtk.TreePath path = new Gtk.TreePath.from_string (path_string);
453 m.get_iter (out iter, path);
455 m.get_value(iter, 1, out val);
456 m.set_value(iter, 1, ((bool) val) ? false :true);
458 m.get_value(iter, 0, out fval);
459 var fn = (string)fval;
461 var def = _this.project.compilegroups.get("_default_");
462 var items = def.packages;
473 // user defined functions
475 public class Xcls_Label16 : Object
478 private ValaProjectSettings _this;
484 public Xcls_Label16(ValaProjectSettings _owner )
487 this.el = new Gtk.Label( "Available Directories" );
491 // set gobject values
494 // user defined functions
496 public class Xcls_ScrolledWindow17 : Object
498 public Gtk.ScrolledWindow el;
499 private ValaProjectSettings _this;
505 public Xcls_ScrolledWindow17(ValaProjectSettings _owner )
508 this.el = new Gtk.ScrolledWindow( null, null );
512 // set gobject values
513 var child_0 = new Xcls_default_directory_tree( _this );
515 this.el.add ( child_0.el );
516 var child_1 = new Xcls_default_directory_menu( _this );
520 // user defined functions
522 public class Xcls_default_directory_tree : Object
524 public Gtk.TreeView el;
525 private ValaProjectSettings _this;
531 public Xcls_default_directory_tree(ValaProjectSettings _owner )
534 _this.default_directory_tree = this;
535 this.el = new Gtk.TreeView();
539 // set gobject values
540 this.el.headers_visible = false;
541 var child_0 = new Xcls_default_directory_tree_store( _this );
543 this.el.set_model ( child_0.el );
544 var child_1 = new Xcls_TreeViewColumn20( _this );
546 this.el.append_column ( child_1.el );
549 this.el.button_press_event.connect( ( ev) => {
550 //console.log("button press?");
553 if (ev.type != Gdk.EventType.BUTTON_PRESS || ev.button != 3) {
554 //print("click" + ev.type);
558 //if (!this.el.get_path_at_pos((int)ev.x,(int)ev.y, out res, null, null, null) ) {
562 // this.el.get_selection().select_path(res);
564 //if (!this.get('/LeftTreeMenu').el) {
565 // this.get('/LeftTreeMenu').init();
568 _this.default_directory_menu.el.set_screen(Gdk.Screen.get_default());
569 _this.default_directory_menu.el.show_all();
570 _this.default_directory_menu.el.popup(null, null, null, 3, ev.time);
571 // print("click:" + res.path.to_string());
576 // user defined functions
578 public class Xcls_default_directory_tree_store : Object
580 public Gtk.ListStore el;
581 private ValaProjectSettings _this;
587 public Xcls_default_directory_tree_store(ValaProjectSettings _owner )
590 _this.default_directory_tree_store = this;
591 this.el = new Gtk.ListStore( 1, typeof(string)
596 // set gobject values
599 // user defined functions
600 public void load () {
605 var def = _this.project.compilegroups.get("_default_");
606 var items = def.sources;
611 for(var i =0 ; i < items.size; i++) {
612 this.el.append(out citer);
614 this.el.set_value(citer, 0, items.get(i) ); // title
615 //this.el.set_value(citer, 1, items.get(i) );
617 this.el.set_sort_column_id(0,Gtk.SortType.ASCENDING);
621 public class Xcls_TreeViewColumn20 : Object
623 public Gtk.TreeViewColumn el;
624 private ValaProjectSettings _this;
630 public Xcls_TreeViewColumn20(ValaProjectSettings _owner )
633 this.el = new Gtk.TreeViewColumn();
637 // set gobject values
638 this.el.title = "name";
639 this.el.resizable = true;
640 var child_0 = new Xcls_directory_render( _this );
642 this.el.pack_start ( child_0.el , false );
646 this.el.add_attribute(_this.directory_render.el , "text", 0 ); }
648 // user defined functions
650 public class Xcls_directory_render : Object
652 public Gtk.CellRendererText el;
653 private ValaProjectSettings _this;
659 public Xcls_directory_render(ValaProjectSettings _owner )
662 _this.directory_render = this;
663 this.el = new Gtk.CellRendererText();
667 // set gobject values
670 // user defined functions
672 public class Xcls_default_directory_menu : Object
675 private ValaProjectSettings _this;
681 public Xcls_default_directory_menu(ValaProjectSettings _owner )
684 _this.default_directory_menu = this;
685 this.el = new Gtk.Menu();
689 // set gobject values
690 var child_0 = new Xcls_MenuItem23( _this );
692 this.el.add ( child_0.el );
693 var child_1 = new Xcls_MenuItem24( _this );
695 this.el.add ( child_1.el );
696 var child_2 = new Xcls_SeparatorMenuItem25( _this );
698 this.el.add ( child_2.el );
699 var child_3 = new Xcls_MenuItem26( _this );
701 this.el.add ( child_3.el );
704 // user defined functions
706 public class Xcls_MenuItem23 : Object
708 public Gtk.MenuItem el;
709 private ValaProjectSettings _this;
715 public Xcls_MenuItem23(ValaProjectSettings _owner )
718 this.el = new Gtk.MenuItem();
722 // set gobject values
723 this.el.label = "Add Directory";
726 this.el.activate.connect( () => {
728 var chooser = new Gtk.FileChooserDialog (
729 "Add a directory", _this.window.el, Gtk.FileChooserAction.SELECT_FOLDER ,
731 Gtk.ResponseType.CANCEL,
733 Gtk.ResponseType.ACCEPT);
734 if (chooser.run () != Gtk.ResponseType.ACCEPT) {
739 // add the directory..
740 var fn = _this.project.relPath(chooser.get_filename());
741 _this.project.compilegroups.get("_default_").sources.add(fn);
742 _this.default_directory_tree_store.load();
746 // user defined functions
748 public class Xcls_MenuItem24 : Object
750 public Gtk.MenuItem el;
751 private ValaProjectSettings _this;
757 public Xcls_MenuItem24(ValaProjectSettings _owner )
760 this.el = new Gtk.MenuItem();
764 // set gobject values
765 this.el.label = "Add File";
768 this.el.activate.connect( () => {
770 var chooser = new Gtk.FileChooserDialog (
771 "Add a directory", _this.window.el, Gtk.FileChooserAction.OPEN ,
773 Gtk.ResponseType.CANCEL,
775 Gtk.ResponseType.ACCEPT);
776 if (chooser.run () != Gtk.ResponseType.ACCEPT) {
781 // add the directory..
782 var fn = _this.project.relPath(chooser.get_filename());
783 _this.project.compilegroups.get("_default_").sources.add(fn);
784 _this.default_directory_tree_store.load();
788 // user defined functions
790 public class Xcls_SeparatorMenuItem25 : Object
792 public Gtk.SeparatorMenuItem el;
793 private ValaProjectSettings _this;
799 public Xcls_SeparatorMenuItem25(ValaProjectSettings _owner )
802 this.el = new Gtk.SeparatorMenuItem();
806 // set gobject values
809 // user defined functions
811 public class Xcls_MenuItem26 : Object
813 public Gtk.MenuItem el;
814 private ValaProjectSettings _this;
820 public Xcls_MenuItem26(ValaProjectSettings _owner )
823 this.el = new Gtk.MenuItem();
827 // set gobject values
828 this.el.label = "Remove File/Directory";
831 this.el.activate.connect( () => {
836 if (!_this.default_directory_tree.el.get_selection().get_selected(out mod, out iter)) {
837 print("nothing selected\n");
842 // add the directory..
846 mod.get_value(iter,0, out val);
847 var fn = (string) val;
849 print("remove: %s\n", fn);
850 if (!_this.project.compilegroups.get("_default_").sources.remove(fn)) {
851 print("remove failed");
853 _this.default_directory_tree_store.load();
857 // user defined functions
859 public class Xcls_HPaned27 : Object
861 public Gtk.HPaned el;
862 private ValaProjectSettings _this;
868 public Xcls_HPaned27(ValaProjectSettings _owner )
871 this.el = new Gtk.HPaned();
875 // set gobject values
876 this.el.position = 300;
877 var child_0 = new Xcls_ScrolledWindow28( _this );
879 this.el.add1 ( child_0.el );
880 var child_1 = new Xcls_set_vbox( _this );
882 this.el.add2 ( child_1.el );
885 // user defined functions
887 public class Xcls_ScrolledWindow28 : Object
889 public Gtk.ScrolledWindow el;
890 private ValaProjectSettings _this;
896 public Xcls_ScrolledWindow28(ValaProjectSettings _owner )
899 this.el = new Gtk.ScrolledWindow( null, null );
903 // set gobject values
904 var child_0 = new Xcls_targets_tree_menu( _this );
906 this.el.add ( child_0.el );
907 var child_1 = new Xcls_targets_tree( _this );
909 this.el.add ( child_1.el );
914 this.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);
918 // user defined functions
920 public class Xcls_targets_tree_menu : Object
923 private ValaProjectSettings _this;
929 public Xcls_targets_tree_menu(ValaProjectSettings _owner )
932 _this.targets_tree_menu = this;
933 this.el = new Gtk.Menu();
937 // set gobject values
938 var child_0 = new Xcls_MenuItem30( _this );
940 this.el.add ( child_0.el );
941 var child_1 = new Xcls_SeparatorMenuItem31( _this );
943 this.el.add ( child_1.el );
944 var child_2 = new Xcls_MenuItem32( _this );
946 this.el.add ( child_2.el );
949 // user defined functions
951 public class Xcls_MenuItem30 : Object
953 public Gtk.MenuItem el;
954 private ValaProjectSettings _this;
960 public Xcls_MenuItem30(ValaProjectSettings _owner )
963 this.el = new Gtk.MenuItem();
967 // set gobject values
968 this.el.label = "Add Compile Target";
971 this.el.activate.connect( () => {
973 if (_this.project.compilegroups.has_key("NEW GROUP")) {
977 // add the directory..
979 _this.project.compilegroups.set("NEW GROUP", new Project.GtkValaSettings("NEW GROUP"));
980 _this.targets_tree_store.load();
984 // user defined functions
986 public class Xcls_SeparatorMenuItem31 : Object
988 public Gtk.SeparatorMenuItem el;
989 private ValaProjectSettings _this;
995 public Xcls_SeparatorMenuItem31(ValaProjectSettings _owner )
998 this.el = new Gtk.SeparatorMenuItem();
1002 // set gobject values
1005 // user defined functions
1007 public class Xcls_MenuItem32 : Object
1009 public Gtk.MenuItem el;
1010 private ValaProjectSettings _this;
1016 public Xcls_MenuItem32(ValaProjectSettings _owner )
1019 this.el = new Gtk.MenuItem();
1023 // set gobject values
1024 this.el.label = "Remove Target";
1027 this.el.activate.connect( () => {
1032 if (!_this.targets_tree.el.get_selection().get_selected(out mod, out iter)) {
1033 print("nothing selected\n");
1038 // add the directory..
1042 mod.get_value(iter,0, out val);
1043 var fn = (string) val;
1045 print("remove: %s\n", fn);
1046 if (!_this.project.compilegroups.unset(fn)) {
1047 print("remove failed");
1049 _this.targets_tree_store.load();
1053 // user defined functions
1055 public class Xcls_targets_tree : Object
1057 public Gtk.TreeView el;
1058 private ValaProjectSettings _this;
1064 public Xcls_targets_tree(ValaProjectSettings _owner )
1067 _this.targets_tree = this;
1068 this.el = new Gtk.TreeView();
1072 // set gobject values
1073 var child_0 = new Xcls_targets_tree_store( _this );
1075 this.el.set_model ( child_0.el );
1076 var child_1 = new Xcls_TreeViewColumn35( _this );
1078 this.el.append_column ( child_1.el );
1081 this.el.button_press_event.connect( ( ev) => {
1082 //console.log("button press?");
1085 if (ev.type != Gdk.EventType.BUTTON_PRESS || ev.button != 3) {
1086 //print("click" + ev.type);
1090 //if (!this.el.get_path_at_pos((int)ev.x,(int)ev.y, out res, null, null, null) ) {
1094 // this.el.get_selection().select_path(res);
1096 //if (!this.get('/LeftTreeMenu').el) {
1097 // this.get('/LeftTreeMenu').init();
1100 _this.targets_tree_menu.el.set_screen(Gdk.Screen.get_default());
1101 _this.targets_tree_menu.el.show_all();
1102 _this.targets_tree_menu.el.popup(null, null, null, 3, ev.time);
1103 // print("click:" + res.path.to_string());
1108 // user defined functions
1110 public class Xcls_targets_tree_store : Object
1112 public Gtk.ListStore el;
1113 private ValaProjectSettings _this;
1119 public Xcls_targets_tree_store(ValaProjectSettings _owner )
1122 _this.targets_tree_store = this;
1123 this.el = new Gtk.ListStore( 2, typeof(string), // 0 key type
1124 typeof(string) // ??
1129 // set gobject values
1132 // user defined functions
1133 public void load () {
1138 var cg = _this.project.compilegroups;
1142 var iter = cg.map_iterator();
1143 while(iter.next()) {
1144 var key = iter.get_key();
1145 if (key == "_default_") {
1149 this.el.append(out citer);
1151 this.el.set_value(citer, 0, key ); // title
1152 //this.el.set_value(citer, 1, items.get(i) );
1154 this.el.set_sort_column_id(0,Gtk.SortType.ASCENDING);
1158 public class Xcls_TreeViewColumn35 : Object
1160 public Gtk.TreeViewColumn el;
1161 private ValaProjectSettings _this;
1167 public Xcls_TreeViewColumn35(ValaProjectSettings _owner )
1170 this.el = new Gtk.TreeViewColumn();
1174 // set gobject values
1175 this.el.title = "name";
1176 this.el.resizable = true;
1177 var child_0 = new Xcls_targets_render( _this );
1179 this.el.pack_start ( child_0.el , false );
1184 this.el.add_attribute(_this.targets_render.el , "text", 0 );
1187 // user defined functions
1189 public class Xcls_targets_render : Object
1191 public Gtk.CellRendererText el;
1192 private ValaProjectSettings _this;
1198 public Xcls_targets_render(ValaProjectSettings _owner )
1201 _this.targets_render = this;
1202 this.el = new Gtk.CellRendererText();
1206 // set gobject values
1207 this.el.editable = true;
1210 // user defined functions
1212 public class Xcls_set_vbox : Object
1215 private ValaProjectSettings _this;
1221 public Xcls_set_vbox(ValaProjectSettings _owner )
1224 this.el = new Gtk.VBox( false, 0 );
1228 // set gobject values
1229 var child_0 = new Xcls_Label38( _this );
1231 this.el.pack_start ( child_0.el , false,false,0 );
1232 var child_1 = new Xcls_build_pack_target( _this );
1234 this.el.pack_start ( child_1.el , false,false,0 );
1235 var child_2 = new Xcls_Label40( _this );
1237 this.el.pack_start ( child_2.el , false,false,0 );
1238 var child_3 = new Xcls_build_compile_flags( _this );
1240 this.el.pack_start ( child_3.el , false,false,0 );
1241 var child_4 = new Xcls_Label42( _this );
1243 this.el.pack_start ( child_4.el , false,false,0 );
1244 var child_5 = new Xcls_ScrolledWindow43( _this );
1246 this.el.pack_start ( child_5.el , true,true,0 );
1249 // user defined functions
1251 public class Xcls_Label38 : Object
1253 public Gtk.Label el;
1254 private ValaProjectSettings _this;
1260 public Xcls_Label38(ValaProjectSettings _owner )
1263 this.el = new Gtk.Label( "target filename" );
1267 // set gobject values
1270 // user defined functions
1272 public class Xcls_build_pack_target : Object
1274 public Gtk.Entry el;
1275 private ValaProjectSettings _this;
1281 public Xcls_build_pack_target(ValaProjectSettings _owner )
1284 this.el = new Gtk.Entry();
1288 // set gobject values
1291 // user defined functions
1293 public class Xcls_Label40 : Object
1295 public Gtk.Label el;
1296 private ValaProjectSettings _this;
1302 public Xcls_Label40(ValaProjectSettings _owner )
1305 this.el = new Gtk.Label( "compile flags" );
1309 // set gobject values
1312 // user defined functions
1314 public class Xcls_build_compile_flags : Object
1316 public Gtk.Entry el;
1317 private ValaProjectSettings _this;
1323 public Xcls_build_compile_flags(ValaProjectSettings _owner )
1326 this.el = new Gtk.Entry();
1330 // set gobject values
1333 // user defined functions
1335 public class Xcls_Label42 : Object
1337 public Gtk.Label el;
1338 private ValaProjectSettings _this;
1344 public Xcls_Label42(ValaProjectSettings _owner )
1347 this.el = new Gtk.Label( "Files to compile" );
1351 // set gobject values
1354 // user defined functions
1356 public class Xcls_ScrolledWindow43 : Object
1358 public Gtk.ScrolledWindow el;
1359 private ValaProjectSettings _this;
1365 public Xcls_ScrolledWindow43(ValaProjectSettings _owner )
1368 this.el = new Gtk.ScrolledWindow( null, null );
1372 // set gobject values
1373 var child_0 = new Xcls_files_tree( _this );
1377 // user defined functions
1379 public class Xcls_files_tree : Object
1381 public Gtk.TreeView el;
1382 private ValaProjectSettings _this;
1388 public Xcls_files_tree(ValaProjectSettings _owner )
1391 this.el = new Gtk.TreeView();
1395 // set gobject values
1396 var child_0 = new Xcls_ListStore45( _this );
1398 this.el.set_model ( child_0.el );
1399 var child_1 = new Xcls_TreeViewColumn46( _this );
1401 this.el.append_column ( child_1.el );
1404 // user defined functions
1406 public class Xcls_ListStore45 : Object
1408 public Gtk.ListStore el;
1409 private ValaProjectSettings _this;
1415 public Xcls_ListStore45(ValaProjectSettings _owner )
1418 this.el = new Gtk.ListStore( 2, typeof(string), // 0 key type
1419 typeof(string) // ??
1424 // set gobject values
1427 // user defined functions
1429 public class Xcls_TreeViewColumn46 : Object
1431 public Gtk.TreeViewColumn el;
1432 private ValaProjectSettings _this;
1438 public Xcls_TreeViewColumn46(ValaProjectSettings _owner )
1441 this.el = new Gtk.TreeViewColumn();
1445 // set gobject values
1446 this.el.title = "name";
1447 this.el.resizable = true;
1448 var child_0 = new Xcls_files_render( _this );
1450 this.el.pack_start ( child_0.el , false );
1454 this.el.add_attribute(_this.files_render.el , "markup", 2 );
1455 this.el.add_attribute(_this.files_render.el , "text", 1 ); }
1457 // user defined functions
1459 public class Xcls_files_render : Object
1461 public Gtk.CellRendererText el;
1462 private ValaProjectSettings _this;
1468 public Xcls_files_render(ValaProjectSettings _owner )
1471 _this.files_render = this;
1472 this.el = new Gtk.CellRendererText();
1476 // set gobject values
1479 // user defined functions