3f7e09d21ab37eb38af61f19927d6be5b36c7158
[app.Builder.js] / Builder4 / ValaProjectSettings.vala
1 static ValaProjectSettings  _ValaProjectSettings;
2
3 public class ValaProjectSettings : Object 
4 {
5     public Gtk.VBox el;
6     private ValaProjectSettings  _this;
7
8     public static ValaProjectSettings singleton()
9     {
10         if (_ValaProjectSettings == null) {
11             _ValaProjectSettings= new ValaProjectSettings();
12         }
13         return _ValaProjectSettings;
14     }
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_store default_directory_tree_store;
22     public Xcls_directory_render directory_render;
23     public Xcls_default_directory_menu default_directory_menu;
24     public Xcls_targets_tree targets_tree;
25     public Xcls_targets_render targets_render;
26     public Xcls_files_render files_render;
27
28         // my vars (def)
29     public Project.Gtk project;
30     public Xcls_MainWindow window;
31
32     // ctor 
33     public ValaProjectSettings()
34     {
35         _this = this;
36         this.el = new Gtk.VBox( true, 0 );
37
38         // my vars (dec)
39         this.project = null;
40         this.window = null;
41
42         // set gobject values
43         var child_0 = new Xcls_Notebook2( _this );
44         child_0.ref();
45         this.el.pack_start (  child_0.el , true,true,0 );
46     }
47
48     // user defined functions 
49     public void show (Project.Gtk project) {
50         
51         
52         print("ValaProjectSettings show\n");
53         
54         this.project=  project;
55     
56         this.compile_flags.el.text = "";
57         
58         this.default_directory_tree_store.load();    
59         this.default_packages_tree_store.load();            
60          
61     
62     
63     }
64     public class Xcls_Notebook2 : Object 
65     {
66         public Gtk.Notebook el;
67         private ValaProjectSettings  _this;
68
69
70             // my vars (def)
71
72         // ctor 
73         public Xcls_Notebook2(ValaProjectSettings _owner )
74         {
75             _this = _owner;
76             this.el = new Gtk.Notebook();
77
78             // my vars (dec)
79
80             // set gobject values
81             var child_0 = new Xcls_label_global( _this );
82             child_0.ref();
83             var child_1 = new Xcls_label_targets( _this );
84             child_1.ref();
85             var child_2 = new Xcls_VBox5( _this );
86             child_2.ref();
87             this.el.append_page (  child_2.el , _this.label_global.el );
88             var child_3 = new Xcls_HPaned27( _this );
89             child_3.ref();
90             this.el.append_page (  child_3.el , _this.label_targets.el );
91         }
92
93         // user defined functions 
94     }
95     public class Xcls_label_global : Object 
96     {
97         public Gtk.Label el;
98         private ValaProjectSettings  _this;
99
100
101             // my vars (def)
102
103         // ctor 
104         public Xcls_label_global(ValaProjectSettings _owner )
105         {
106             _this = _owner;
107             _this.label_global = this;
108             this.el = new Gtk.Label( "Global" );
109
110             // my vars (dec)
111
112             // set gobject values
113         }
114
115         // user defined functions 
116     }
117     public class Xcls_label_targets : Object 
118     {
119         public Gtk.Label el;
120         private ValaProjectSettings  _this;
121
122
123             // my vars (def)
124
125         // ctor 
126         public Xcls_label_targets(ValaProjectSettings _owner )
127         {
128             _this = _owner;
129             _this.label_targets = this;
130             this.el = new Gtk.Label( "Targets" );
131
132             // my vars (dec)
133
134             // set gobject values
135         }
136
137         // user defined functions 
138     }
139     public class Xcls_VBox5 : Object 
140     {
141         public Gtk.VBox el;
142         private ValaProjectSettings  _this;
143
144
145             // my vars (def)
146
147         // ctor 
148         public Xcls_VBox5(ValaProjectSettings _owner )
149         {
150             _this = _owner;
151             this.el = new Gtk.VBox( false, 0 );
152
153             // my vars (dec)
154
155             // set gobject values
156             var child_0 = new Xcls_Label6( _this );
157             child_0.ref();
158             this.el.pack_start (  child_0.el , false,false,0 );
159             var child_1 = new Xcls_compile_flags( _this );
160             child_1.ref();
161             this.el.pack_start (  child_1.el , false,false,0 );
162             var child_2 = new Xcls_Label8( _this );
163             child_2.ref();
164             this.el.pack_start (  child_2.el , false,false,0 );
165             var child_3 = new Xcls_ScrolledWindow9( _this );
166             child_3.ref();
167             this.el.pack_start (  child_3.el , true,true,0 );
168             var child_4 = new Xcls_Label16( _this );
169             child_4.ref();
170             this.el.pack_start (  child_4.el , false,false,0 );
171             var child_5 = new Xcls_ScrolledWindow17( _this );
172             child_5.ref();
173             this.el.pack_start (  child_5.el , true,true,0 );
174         }
175
176         // user defined functions 
177     }
178     public class Xcls_Label6 : Object 
179     {
180         public Gtk.Label el;
181         private ValaProjectSettings  _this;
182
183
184             // my vars (def)
185
186         // ctor 
187         public Xcls_Label6(ValaProjectSettings _owner )
188         {
189             _this = _owner;
190             this.el = new Gtk.Label( "compile flags" );
191
192             // my vars (dec)
193
194             // set gobject values
195         }
196
197         // user defined functions 
198     }
199     public class Xcls_compile_flags : Object 
200     {
201         public Gtk.Entry el;
202         private ValaProjectSettings  _this;
203
204
205             // my vars (def)
206
207         // ctor 
208         public Xcls_compile_flags(ValaProjectSettings _owner )
209         {
210             _this = _owner;
211             _this.compile_flags = this;
212             this.el = new Gtk.Entry();
213
214             // my vars (dec)
215
216             // set gobject values
217         }
218
219         // user defined functions 
220     }
221     public class Xcls_Label8 : Object 
222     {
223         public Gtk.Label el;
224         private ValaProjectSettings  _this;
225
226
227             // my vars (def)
228
229         // ctor 
230         public Xcls_Label8(ValaProjectSettings _owner )
231         {
232             _this = _owner;
233             this.el = new Gtk.Label( "packages" );
234
235             // my vars (dec)
236
237             // set gobject values
238         }
239
240         // user defined functions 
241     }
242     public class Xcls_ScrolledWindow9 : Object 
243     {
244         public Gtk.ScrolledWindow el;
245         private ValaProjectSettings  _this;
246
247
248             // my vars (def)
249
250         // ctor 
251         public Xcls_ScrolledWindow9(ValaProjectSettings _owner )
252         {
253             _this = _owner;
254             this.el = new Gtk.ScrolledWindow( null, null );
255
256             // my vars (dec)
257
258             // set gobject values
259             var child_0 = new Xcls_default_packages_tree( _this );
260             child_0.ref();
261             this.el.add (  child_0.el  );
262         }
263
264         // user defined functions 
265     }
266     public class Xcls_default_packages_tree : Object 
267     {
268         public Gtk.TreeView el;
269         private ValaProjectSettings  _this;
270
271
272             // my vars (def)
273
274         // ctor 
275         public Xcls_default_packages_tree(ValaProjectSettings _owner )
276         {
277             _this = _owner;
278             this.el = new Gtk.TreeView();
279
280             // my vars (dec)
281
282             // set gobject values
283             this.el.headers_visible = false;
284             var child_0 = new Xcls_default_packages_tree_store( _this );
285             child_0.ref();
286             this.el.set_model (  child_0.el  );
287             var child_1 = new Xcls_TreeViewColumn12( _this );
288             child_1.ref();
289             this.el.append_column (  child_1.el  );
290             var child_2 = new Xcls_TreeViewColumn14( _this );
291             child_2.ref();
292             this.el.append_column (  child_2.el  );
293         }
294
295         // user defined functions 
296     }
297     public class Xcls_default_packages_tree_store : Object 
298     {
299         public Gtk.ListStore el;
300         private ValaProjectSettings  _this;
301
302
303             // my vars (def)
304
305         // ctor 
306         public Xcls_default_packages_tree_store(ValaProjectSettings _owner )
307         {
308             _this = _owner;
309             _this.default_packages_tree_store = this;
310             this.el = new Gtk.ListStore( 2,     typeof(string),  // 0 key type
311       typeof(bool) );
312
313             // my vars (dec)
314
315             // set gobject values
316         }
317
318         // user defined functions 
319         public void load () {
320          
321             var def = _this.project.compilegroups.get("_default_");
322              var items  = def.packages;
323             
324             this.el.clear();
325             var pal = (Palete.Gtk) Palete.factory("Gtk");
326             var pkgs = pal.packages();
327             print("ValaProjectSettings:packages load %d\n", pkgs.size);
328         
329             Gtk.TreeIter citer;
330         
331             for(var i =0 ; i < pkgs.size; i++) {
332                  this.el.append(out citer);   
333                  
334                 this.el.set_value(citer, 0,   pkgs.get(i) ); // title 
335                 this.el.set_value(citer, 1,   items.contains(pkgs.get(i)) );
336             }
337             this.el.set_sort_column_id(0,Gtk.SortType.ASCENDING);
338             
339         }
340     }
341     public class Xcls_TreeViewColumn12 : Object 
342     {
343         public Gtk.TreeViewColumn el;
344         private ValaProjectSettings  _this;
345
346
347             // my vars (def)
348
349         // ctor 
350         public Xcls_TreeViewColumn12(ValaProjectSettings _owner )
351         {
352             _this = _owner;
353             this.el = new Gtk.TreeViewColumn();
354
355             // my vars (dec)
356
357             // set gobject values
358             this.el.title = "name";
359             this.el.expand = true;
360             this.el.resizable = true;
361             var child_0 = new Xcls_packages_render( _this );
362             child_0.ref();
363             this.el.pack_start (  child_0.el , false );
364
365             // init method 
366
367             this.el.add_attribute(_this.packages_render.el , "text", 0 );        }
368
369         // user defined functions 
370     }
371     public class Xcls_packages_render : Object 
372     {
373         public Gtk.CellRendererText el;
374         private ValaProjectSettings  _this;
375
376
377             // my vars (def)
378
379         // ctor 
380         public Xcls_packages_render(ValaProjectSettings _owner )
381         {
382             _this = _owner;
383             _this.packages_render = this;
384             this.el = new Gtk.CellRendererText();
385
386             // my vars (dec)
387
388             // set gobject values
389         }
390
391         // user defined functions 
392     }
393     public class Xcls_TreeViewColumn14 : Object 
394     {
395         public Gtk.TreeViewColumn el;
396         private ValaProjectSettings  _this;
397
398
399             // my vars (def)
400
401         // ctor 
402         public Xcls_TreeViewColumn14(ValaProjectSettings _owner )
403         {
404             _this = _owner;
405             this.el = new Gtk.TreeViewColumn();
406
407             // my vars (dec)
408
409             // set gobject values
410             this.el.title = "use";
411             this.el.resizable = false;
412             this.el.fixed_width = 50;
413             var child_0 = new Xcls_packages_render_use( _this );
414             child_0.ref();
415             this.el.pack_start (  child_0.el , false );
416
417             // init method 
418
419             {
420              this.el.add_attribute(_this.packages_render_use.el , "active", 1 );
421              }        }
422
423         // user defined functions 
424     }
425     public class Xcls_packages_render_use : Object 
426     {
427         public Gtk.CellRendererToggle el;
428         private ValaProjectSettings  _this;
429
430
431             // my vars (def)
432
433         // ctor 
434         public Xcls_packages_render_use(ValaProjectSettings _owner )
435         {
436             _this = _owner;
437             _this.packages_render_use = this;
438             this.el = new Gtk.CellRendererToggle();
439
440             // my vars (dec)
441
442             // set gobject values
443             this.el.activatable = true;
444
445             // listeners 
446             this.el.toggled.connect( (  path_string) =>  { 
447                 var m = _this.default_packages_tree_store.el;
448                Gtk.TreeIter iter;
449                Gtk.TreePath path = new Gtk.TreePath.from_string (path_string);
450                m.get_iter (out iter, path);
451                GLib.Value val;
452                m.get_value(iter, 1, out val);
453                m.set_value(iter, 1,  ((bool) val) ? false :true); 
454                 
455             });
456         }
457
458         // user defined functions 
459     }
460     public class Xcls_Label16 : Object 
461     {
462         public Gtk.Label el;
463         private ValaProjectSettings  _this;
464
465
466             // my vars (def)
467
468         // ctor 
469         public Xcls_Label16(ValaProjectSettings _owner )
470         {
471             _this = _owner;
472             this.el = new Gtk.Label( "Available Directories" );
473
474             // my vars (dec)
475
476             // set gobject values
477         }
478
479         // user defined functions 
480     }
481     public class Xcls_ScrolledWindow17 : Object 
482     {
483         public Gtk.ScrolledWindow el;
484         private ValaProjectSettings  _this;
485
486
487             // my vars (def)
488
489         // ctor 
490         public Xcls_ScrolledWindow17(ValaProjectSettings _owner )
491         {
492             _this = _owner;
493             this.el = new Gtk.ScrolledWindow( null, null );
494
495             // my vars (dec)
496
497             // set gobject values
498             var child_0 = new Xcls_default_directory_tree( _this );
499             child_0.ref();
500             this.el.add (  child_0.el  );
501             var child_1 = new Xcls_default_directory_menu( _this );
502             child_1.ref();
503         }
504
505         // user defined functions 
506     }
507     public class Xcls_default_directory_tree : Object 
508     {
509         public Gtk.TreeView el;
510         private ValaProjectSettings  _this;
511
512
513             // my vars (def)
514
515         // ctor 
516         public Xcls_default_directory_tree(ValaProjectSettings _owner )
517         {
518             _this = _owner;
519             this.el = new Gtk.TreeView();
520
521             // my vars (dec)
522
523             // set gobject values
524             this.el.headers_visible = false;
525             var child_0 = new Xcls_default_directory_tree_store( _this );
526             child_0.ref();
527             this.el.set_model (  child_0.el  );
528             var child_1 = new Xcls_TreeViewColumn20( _this );
529             child_1.ref();
530             this.el.append_column (  child_1.el  );
531
532             // listeners 
533             this.el.button_press_event.connect( ( ev) => {
534                 //console.log("button press?");
535                
536                 
537                 if (ev.type != Gdk.EventType.BUTTON_PRESS  || ev.button != 3) {
538                     //print("click" + ev.type);
539                     return false;
540                 }
541                 //Gtk.TreePath res;
542                 //if (!this.el.get_path_at_pos((int)ev.x,(int)ev.y, out res, null, null, null) ) {
543                 //    return true;
544                 //}
545                  
546               //  this.el.get_selection().select_path(res);
547                  
548                   //if (!this.get('/LeftTreeMenu').el)  { 
549                   //      this.get('/LeftTreeMenu').init(); 
550                   //  }
551                     
552                  _this.default_directory_menu.el.set_screen(Gdk.Screen.get_default());
553                  _this.default_directory_menu.el.show_all();
554                   _this.default_directory_menu.el.popup(null, null, null,  3, ev.time);
555                  //   print("click:" + res.path.to_string());
556                   return true;
557             });
558         }
559
560         // user defined functions 
561     }
562     public class Xcls_default_directory_tree_store : Object 
563     {
564         public Gtk.ListStore el;
565         private ValaProjectSettings  _this;
566
567
568             // my vars (def)
569
570         // ctor 
571         public Xcls_default_directory_tree_store(ValaProjectSettings _owner )
572         {
573             _this = _owner;
574             _this.default_directory_tree_store = this;
575             this.el = new Gtk.ListStore( 1,     typeof(string)
576       );
577
578             // my vars (dec)
579
580             // set gobject values
581         }
582
583         // user defined functions 
584         public void load () {
585          
586           this.el.clear();
587           
588             
589              var def = _this.project.compilegroups.get("_default_");
590              var items  = def.sources;
591              
592          
593             Gtk.TreeIter citer;
594         
595             for(var i =0 ; i < items.size; i++) {
596                  this.el.append(out citer);   
597                  
598                 this.el.set_value(citer, 0,   items.get(i) ); // title 
599                 //this.el.set_value(citer, 1,   items.get(i) );
600             }
601             this.el.set_sort_column_id(0,Gtk.SortType.ASCENDING);
602             
603         }
604     }
605     public class Xcls_TreeViewColumn20 : Object 
606     {
607         public Gtk.TreeViewColumn el;
608         private ValaProjectSettings  _this;
609
610
611             // my vars (def)
612
613         // ctor 
614         public Xcls_TreeViewColumn20(ValaProjectSettings _owner )
615         {
616             _this = _owner;
617             this.el = new Gtk.TreeViewColumn();
618
619             // my vars (dec)
620
621             // set gobject values
622             this.el.title = "name";
623             this.el.resizable = true;
624             var child_0 = new Xcls_directory_render( _this );
625             child_0.ref();
626             this.el.pack_start (  child_0.el , false );
627
628             // init method 
629
630             this.el.add_attribute(_this.directory_render.el , "text", 0 );        }
631
632         // user defined functions 
633     }
634     public class Xcls_directory_render : Object 
635     {
636         public Gtk.CellRendererText el;
637         private ValaProjectSettings  _this;
638
639
640             // my vars (def)
641
642         // ctor 
643         public Xcls_directory_render(ValaProjectSettings _owner )
644         {
645             _this = _owner;
646             _this.directory_render = this;
647             this.el = new Gtk.CellRendererText();
648
649             // my vars (dec)
650
651             // set gobject values
652         }
653
654         // user defined functions 
655     }
656     public class Xcls_default_directory_menu : Object 
657     {
658         public Gtk.Menu el;
659         private ValaProjectSettings  _this;
660
661
662             // my vars (def)
663
664         // ctor 
665         public Xcls_default_directory_menu(ValaProjectSettings _owner )
666         {
667             _this = _owner;
668             _this.default_directory_menu = this;
669             this.el = new Gtk.Menu();
670
671             // my vars (dec)
672
673             // set gobject values
674             var child_0 = new Xcls_MenuItem23( _this );
675             child_0.ref();
676             this.el.add (  child_0.el  );
677             var child_1 = new Xcls_MenuItem24( _this );
678             child_1.ref();
679             this.el.add (  child_1.el  );
680             var child_2 = new Xcls_SeparatorMenuItem25( _this );
681             child_2.ref();
682             this.el.add (  child_2.el  );
683             var child_3 = new Xcls_MenuItem26( _this );
684             child_3.ref();
685             this.el.add (  child_3.el  );
686         }
687
688         // user defined functions 
689     }
690     public class Xcls_MenuItem23 : Object 
691     {
692         public Gtk.MenuItem el;
693         private ValaProjectSettings  _this;
694
695
696             // my vars (def)
697
698         // ctor 
699         public Xcls_MenuItem23(ValaProjectSettings _owner )
700         {
701             _this = _owner;
702             this.el = new Gtk.MenuItem();
703
704             // my vars (dec)
705
706             // set gobject values
707             this.el.label = "Add Directory";
708
709             // listeners 
710             this.el.activate.connect( ()  => {
711                 
712                 var  chooser = new Gtk.FileChooserDialog (
713                 "Add a directory", _this.window.el, Gtk.FileChooserAction.SELECT_FOLDER ,
714                 "_Cancel",
715                 Gtk.ResponseType.CANCEL,
716                 "_Add",
717                 Gtk.ResponseType.ACCEPT);
718                 if (chooser.run () != Gtk.ResponseType.ACCEPT) {
719                     chooser.close ();
720                        return;
721                    }
722                    chooser.close ();
723                    // add the directory..
724                    var fn = _this.project.relPath(chooser.get_filename());
725                    _this.project.compilegroups.get("_default_").sources.add(fn);
726                    _this.default_directory_tree_store.load();
727             });
728         }
729
730         // user defined functions 
731     }
732     public class Xcls_MenuItem24 : Object 
733     {
734         public Gtk.MenuItem el;
735         private ValaProjectSettings  _this;
736
737
738             // my vars (def)
739
740         // ctor 
741         public Xcls_MenuItem24(ValaProjectSettings _owner )
742         {
743             _this = _owner;
744             this.el = new Gtk.MenuItem();
745
746             // my vars (dec)
747
748             // set gobject values
749             this.el.label = "Add File";
750
751             // listeners 
752             this.el.activate.connect( ()  => {
753                 
754                 var  chooser = new Gtk.FileChooserDialog (
755                 "Add a directory", _this.window.el, Gtk.FileChooserAction.OPEN ,
756                 "_Cancel",
757                 Gtk.ResponseType.CANCEL,
758                 "_Add",
759                 Gtk.ResponseType.ACCEPT);
760                 if (chooser.run () != Gtk.ResponseType.ACCEPT) {
761                     chooser.close ();
762                        return;
763                    }
764                    chooser.close ();
765                    // add the directory..
766                    var fn = _this.project.relPath(chooser.get_filename());
767                    _this.project.compilegroups.get("_default_").sources.add(fn);
768                    _this.default_directory_tree_store.load();
769             });
770         }
771
772         // user defined functions 
773     }
774     public class Xcls_SeparatorMenuItem25 : Object 
775     {
776         public Gtk.SeparatorMenuItem el;
777         private ValaProjectSettings  _this;
778
779
780             // my vars (def)
781
782         // ctor 
783         public Xcls_SeparatorMenuItem25(ValaProjectSettings _owner )
784         {
785             _this = _owner;
786             this.el = new Gtk.SeparatorMenuItem();
787
788             // my vars (dec)
789
790             // set gobject values
791         }
792
793         // user defined functions 
794     }
795     public class Xcls_MenuItem26 : Object 
796     {
797         public Gtk.MenuItem el;
798         private ValaProjectSettings  _this;
799
800
801             // my vars (def)
802
803         // ctor 
804         public Xcls_MenuItem26(ValaProjectSettings _owner )
805         {
806             _this = _owner;
807             this.el = new Gtk.MenuItem();
808
809             // my vars (dec)
810
811             // set gobject values
812             this.el.label = "Remove File/Directory";
813
814             // listeners 
815             this.el.activate.connect( ()  => {
816                 return;
817                  //
818                     Gtk.TreeModel mod;
819                     Gtk.TreeIter iter;
820                     if (!_this.default_directory_tree.get_selection().get_selected(out mod, out iter)) {
821                         return;
822                     }
823             
824                         
825                    // add the directory..
826                    
827                    
828                    GLib.Value val;
829                     mod.get_value(iter,0, out val);
830                    var fn =  (string) val;
831                    _this.project.compilegroups.get("_default_").sources.remove(fn);
832                    _this.default_directory_tree_store.load();
833             });
834         }
835
836         // user defined functions 
837     }
838     public class Xcls_HPaned27 : Object 
839     {
840         public Gtk.HPaned el;
841         private ValaProjectSettings  _this;
842
843
844             // my vars (def)
845
846         // ctor 
847         public Xcls_HPaned27(ValaProjectSettings _owner )
848         {
849             _this = _owner;
850             this.el = new Gtk.HPaned();
851
852             // my vars (dec)
853
854             // set gobject values
855             this.el.position = 300;
856             var child_0 = new Xcls_ScrolledWindow28( _this );
857             child_0.ref();
858             this.el.add1 (  child_0.el  );
859             var child_1 = new Xcls_set_vbox( _this );
860             child_1.ref();
861             this.el.add2 (  child_1.el  );
862         }
863
864         // user defined functions 
865     }
866     public class Xcls_ScrolledWindow28 : Object 
867     {
868         public Gtk.ScrolledWindow el;
869         private ValaProjectSettings  _this;
870
871
872             // my vars (def)
873
874         // ctor 
875         public Xcls_ScrolledWindow28(ValaProjectSettings _owner )
876         {
877             _this = _owner;
878             this.el = new Gtk.ScrolledWindow( null, null );
879
880             // my vars (dec)
881
882             // set gobject values
883             var child_0 = new Xcls_targets_tree( _this );
884             child_0.ref();
885
886             // init method 
887
888             {  
889             this.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);
890             
891             }        }
892
893         // user defined functions 
894     }
895     public class Xcls_targets_tree : Object 
896     {
897         public Gtk.TreeView el;
898         private ValaProjectSettings  _this;
899
900
901             // my vars (def)
902
903         // ctor 
904         public Xcls_targets_tree(ValaProjectSettings _owner )
905         {
906             _this = _owner;
907             _this.targets_tree = this;
908             this.el = new Gtk.TreeView();
909
910             // my vars (dec)
911
912             // set gobject values
913             var child_0 = new Xcls_ListStore30( _this );
914             child_0.ref();
915             this.el.set_model (  child_0.el  );
916             var child_1 = new Xcls_TreeViewColumn31( _this );
917             child_1.ref();
918             this.el.append_column (  child_1.el  );
919         }
920
921         // user defined functions 
922     }
923     public class Xcls_ListStore30 : Object 
924     {
925         public Gtk.ListStore el;
926         private ValaProjectSettings  _this;
927
928
929             // my vars (def)
930
931         // ctor 
932         public Xcls_ListStore30(ValaProjectSettings _owner )
933         {
934             _this = _owner;
935             this.el = new Gtk.ListStore( 2,     typeof(string),  // 0 key type
936      typeof(string) // ??
937       );
938
939             // my vars (dec)
940
941             // set gobject values
942         }
943
944         // user defined functions 
945     }
946     public class Xcls_TreeViewColumn31 : Object 
947     {
948         public Gtk.TreeViewColumn el;
949         private ValaProjectSettings  _this;
950
951
952             // my vars (def)
953
954         // ctor 
955         public Xcls_TreeViewColumn31(ValaProjectSettings _owner )
956         {
957             _this = _owner;
958             this.el = new Gtk.TreeViewColumn();
959
960             // my vars (dec)
961
962             // set gobject values
963             this.el.title = "name";
964             this.el.resizable = true;
965             var child_0 = new Xcls_targets_render( _this );
966             child_0.ref();
967             this.el.pack_start (  child_0.el , false );
968
969             // init method 
970
971             this.el.add_attribute(_this.targets_render.el , "markup", 2 );
972              this.el.add_attribute(_this.targets_render.el , "text", 1 );        }
973
974         // user defined functions 
975     }
976     public class Xcls_targets_render : Object 
977     {
978         public Gtk.CellRendererText el;
979         private ValaProjectSettings  _this;
980
981
982             // my vars (def)
983
984         // ctor 
985         public Xcls_targets_render(ValaProjectSettings _owner )
986         {
987             _this = _owner;
988             _this.targets_render = this;
989             this.el = new Gtk.CellRendererText();
990
991             // my vars (dec)
992
993             // set gobject values
994         }
995
996         // user defined functions 
997     }
998     public class Xcls_set_vbox : Object 
999     {
1000         public Gtk.VBox el;
1001         private ValaProjectSettings  _this;
1002
1003
1004             // my vars (def)
1005
1006         // ctor 
1007         public Xcls_set_vbox(ValaProjectSettings _owner )
1008         {
1009             _this = _owner;
1010             this.el = new Gtk.VBox( false, 0 );
1011
1012             // my vars (dec)
1013
1014             // set gobject values
1015             var child_0 = new Xcls_Label34( _this );
1016             child_0.ref();
1017             this.el.pack_start (  child_0.el , false,false,0 );
1018             var child_1 = new Xcls_build_pack_target( _this );
1019             child_1.ref();
1020             this.el.pack_start (  child_1.el , false,false,0 );
1021             var child_2 = new Xcls_Label36( _this );
1022             child_2.ref();
1023             this.el.pack_start (  child_2.el , false,false,0 );
1024             var child_3 = new Xcls_build_compile_flags( _this );
1025             child_3.ref();
1026             this.el.pack_start (  child_3.el , false,false,0 );
1027             var child_4 = new Xcls_Label38( _this );
1028             child_4.ref();
1029             this.el.pack_start (  child_4.el , false,false,0 );
1030             var child_5 = new Xcls_ScrolledWindow39( _this );
1031             child_5.ref();
1032             this.el.pack_start (  child_5.el , true,true,0 );
1033         }
1034
1035         // user defined functions 
1036     }
1037     public class Xcls_Label34 : Object 
1038     {
1039         public Gtk.Label el;
1040         private ValaProjectSettings  _this;
1041
1042
1043             // my vars (def)
1044
1045         // ctor 
1046         public Xcls_Label34(ValaProjectSettings _owner )
1047         {
1048             _this = _owner;
1049             this.el = new Gtk.Label( "target filename" );
1050
1051             // my vars (dec)
1052
1053             // set gobject values
1054         }
1055
1056         // user defined functions 
1057     }
1058     public class Xcls_build_pack_target : Object 
1059     {
1060         public Gtk.Entry el;
1061         private ValaProjectSettings  _this;
1062
1063
1064             // my vars (def)
1065
1066         // ctor 
1067         public Xcls_build_pack_target(ValaProjectSettings _owner )
1068         {
1069             _this = _owner;
1070             this.el = new Gtk.Entry();
1071
1072             // my vars (dec)
1073
1074             // set gobject values
1075         }
1076
1077         // user defined functions 
1078     }
1079     public class Xcls_Label36 : Object 
1080     {
1081         public Gtk.Label el;
1082         private ValaProjectSettings  _this;
1083
1084
1085             // my vars (def)
1086
1087         // ctor 
1088         public Xcls_Label36(ValaProjectSettings _owner )
1089         {
1090             _this = _owner;
1091             this.el = new Gtk.Label( "compile flags" );
1092
1093             // my vars (dec)
1094
1095             // set gobject values
1096         }
1097
1098         // user defined functions 
1099     }
1100     public class Xcls_build_compile_flags : Object 
1101     {
1102         public Gtk.Entry el;
1103         private ValaProjectSettings  _this;
1104
1105
1106             // my vars (def)
1107
1108         // ctor 
1109         public Xcls_build_compile_flags(ValaProjectSettings _owner )
1110         {
1111             _this = _owner;
1112             this.el = new Gtk.Entry();
1113
1114             // my vars (dec)
1115
1116             // set gobject values
1117         }
1118
1119         // user defined functions 
1120     }
1121     public class Xcls_Label38 : Object 
1122     {
1123         public Gtk.Label el;
1124         private ValaProjectSettings  _this;
1125
1126
1127             // my vars (def)
1128
1129         // ctor 
1130         public Xcls_Label38(ValaProjectSettings _owner )
1131         {
1132             _this = _owner;
1133             this.el = new Gtk.Label( "Files to compile" );
1134
1135             // my vars (dec)
1136
1137             // set gobject values
1138         }
1139
1140         // user defined functions 
1141     }
1142     public class Xcls_ScrolledWindow39 : Object 
1143     {
1144         public Gtk.ScrolledWindow el;
1145         private ValaProjectSettings  _this;
1146
1147
1148             // my vars (def)
1149
1150         // ctor 
1151         public Xcls_ScrolledWindow39(ValaProjectSettings _owner )
1152         {
1153             _this = _owner;
1154             this.el = new Gtk.ScrolledWindow( null, null );
1155
1156             // my vars (dec)
1157
1158             // set gobject values
1159             var child_0 = new Xcls_files_tree( _this );
1160             child_0.ref();
1161         }
1162
1163         // user defined functions 
1164     }
1165     public class Xcls_files_tree : Object 
1166     {
1167         public Gtk.TreeView el;
1168         private ValaProjectSettings  _this;
1169
1170
1171             // my vars (def)
1172
1173         // ctor 
1174         public Xcls_files_tree(ValaProjectSettings _owner )
1175         {
1176             _this = _owner;
1177             this.el = new Gtk.TreeView();
1178
1179             // my vars (dec)
1180
1181             // set gobject values
1182             var child_0 = new Xcls_ListStore41( _this );
1183             child_0.ref();
1184             this.el.set_model (  child_0.el  );
1185             var child_1 = new Xcls_TreeViewColumn42( _this );
1186             child_1.ref();
1187             this.el.append_column (  child_1.el  );
1188         }
1189
1190         // user defined functions 
1191     }
1192     public class Xcls_ListStore41 : Object 
1193     {
1194         public Gtk.ListStore el;
1195         private ValaProjectSettings  _this;
1196
1197
1198             // my vars (def)
1199
1200         // ctor 
1201         public Xcls_ListStore41(ValaProjectSettings _owner )
1202         {
1203             _this = _owner;
1204             this.el = new Gtk.ListStore( 2,     typeof(string),  // 0 key type
1205      typeof(string) // ??
1206       );
1207
1208             // my vars (dec)
1209
1210             // set gobject values
1211         }
1212
1213         // user defined functions 
1214     }
1215     public class Xcls_TreeViewColumn42 : Object 
1216     {
1217         public Gtk.TreeViewColumn el;
1218         private ValaProjectSettings  _this;
1219
1220
1221             // my vars (def)
1222
1223         // ctor 
1224         public Xcls_TreeViewColumn42(ValaProjectSettings _owner )
1225         {
1226             _this = _owner;
1227             this.el = new Gtk.TreeViewColumn();
1228
1229             // my vars (dec)
1230
1231             // set gobject values
1232             this.el.title = "name";
1233             this.el.resizable = true;
1234             var child_0 = new Xcls_files_render( _this );
1235             child_0.ref();
1236             this.el.pack_start (  child_0.el , false );
1237
1238             // init method 
1239
1240             this.el.add_attribute(_this.files_render.el , "markup", 2 );
1241              this.el.add_attribute(_this.files_render.el , "text", 1 );        }
1242
1243         // user defined functions 
1244     }
1245     public class Xcls_files_render : Object 
1246     {
1247         public Gtk.CellRendererText el;
1248         private ValaProjectSettings  _this;
1249
1250
1251             // my vars (def)
1252
1253         // ctor 
1254         public Xcls_files_render(ValaProjectSettings _owner )
1255         {
1256             _this = _owner;
1257             _this.files_render = this;
1258             this.el = new Gtk.CellRendererText();
1259
1260             // my vars (dec)
1261
1262             // set gobject values
1263         }
1264
1265         // user defined functions 
1266     }
1267 }