src/Builder4/MainWindow.bjs
[app.Builder.js] / src / Builder4 / MainWindow.vala
1 static Xcls_MainWindow  _MainWindow;
2
3 public class Xcls_MainWindow : Object
4 {
5     public Gtk.Window el;
6     private Xcls_MainWindow  _this;
7
8     public static Xcls_MainWindow singleton()
9     {
10         if (_MainWindow == null) {
11             _MainWindow= new Xcls_MainWindow();
12         }
13         return _MainWindow;
14     }
15     public Xcls_headerbar headerbar;
16     public Xcls_topbarmenu topbarmenu;
17     public Xcls_openbtn openbtn;
18     public Xcls_openbackbtn openbackbtn;
19     public Xcls_vbox vbox;
20     public Xcls_mainpane mainpane;
21     public Xcls_leftpane leftpane;
22     public Xcls_editpane editpane;
23     public Xcls_tree tree;
24     public Xcls_props props;
25     public Xcls_clutterembed clutterembed;
26     public Xcls_rooview rooview;
27     public Xcls_objectview objectview;
28     public Xcls_codeeditview codeeditview;
29     public Xcls_addpropsview addpropsview;
30     public Xcls_projecteditview projecteditview;
31     public Xcls_buttonlayout buttonlayout;
32     public Xcls_backbutton backbutton;
33     public Xcls_editfilebutton editfilebutton;
34     public Xcls_projecteditbutton projecteditbutton;
35     public Xcls_objectshowbutton objectshowbutton;
36     public Xcls_addpropbutton addpropbutton;
37     public Xcls_addlistenerbutton addlistenerbutton;
38     public Xcls_addprojectbutton addprojectbutton;
39     public Xcls_addfilebutton addfilebutton;
40     public Xcls_delprojectbutton delprojectbutton;
41     public Xcls_statusbar statusbar;
42     public Xcls_search_entry search_entry;
43     public Xcls_search_results search_results;
44     public Xcls_statusbar_compilestatus_label statusbar_compilestatus_label;
45     public Xcls_statusbar_errors statusbar_errors;
46     public Xcls_statusbar_warnings statusbar_warnings;
47     public Xcls_statusbar_depricated statusbar_depricated;
48     public Xcls_statusbar_run statusbar_run;
49
50         // my vars (def)
51     public Project.Project project;
52     public string title;
53     public int no_windows;
54     public WindowState windowstate;
55
56     // ctor
57     public Xcls_MainWindow()
58     {
59         _this = this;
60         this.el = new Gtk.Window( Gtk.WindowType.TOPLEVEL );
61
62         // my vars (dec)
63         this.project = null;
64         this.title = "Application Builder";
65         this.no_windows = 1;
66         this.windowstate = null;
67
68         // set gobject values
69         this.el.border_width = 0;
70         this.el.default_height = 500;
71         this.el.default_width = 800;
72         var child_0 = new Xcls_headerbar( _this );
73         child_0.ref();
74         this.el.set_titlebar (  child_0.el  );
75         var child_1 = new Xcls_vbox( _this );
76         child_1.ref();
77         this.el.add (  child_1.el  );
78
79         // init method
80
81         //this.el.show_all();
82
83         //listeners
84         this.el.delete_event.connect( (   event) => {
85             return false;
86         });
87         this.el.destroy.connect( () =>  {
88          Xcls_MainWindow.singleton().no_windows--;
89          
90          Resources.singleton().disconnect(_this.statusbar.handler_id);
91          
92          
93          if (Xcls_MainWindow.singleton().no_windows < 1) {
94         
95              Gtk.main_quit();
96          }
97         });
98         this.el.show.connect( ( ) => {
99             // hide the file editing..
100            
101             //this.hideViewEditing();
102             _this.statusbar.el.hide();
103              _this.statusbar_errors.el.hide();
104             _this.statusbar_warnings.el.hide();
105             _this.statusbar_depricated.el.hide();
106             
107           
108             Resources.singleton().checkResources();
109         
110         });
111         this.el.key_release_event.connect( (event) => {
112             
113             if (this.search_entry.el.is_visible()) {
114                         if (event.keyval == Gdk.Key.f && (event.state & Gdk.ModifierType.CONTROL_MASK ) > 0 ) {
115                             print("SAVE: ctrl-f  pressed");
116                                 this.search_entry.el.grab_focus();
117                             return false;
118                         }
119                         
120                         if (event.keyval == Gdk.Key.g && (event.state & Gdk.ModifierType.CONTROL_MASK ) > 0 ) {
121                             print("SAVE: ctrl-g  pressed");
122                                 this.search_entry.forwardSearch(true);
123                             return false;
124                         }
125                         
126                 }    
127                 
128                 if (event.keyval == Gdk.Key.n && (event.state & Gdk.ModifierType.CONTROL_MASK ) > 0 ) {
129                         print("SAVE: ctrl-n  pressed");
130                         this.openNewWindow();
131                         return false;
132                 }
133                 
134            // print(event.key.keyval)
135             
136             return false;
137         
138         });
139     }
140
141     // user defined functions
142     public void openNewWindow () {
143         Xcls_MainWindow.singleton().no_windows++;
144             var w = new Xcls_MainWindow();
145             w.ref();
146     
147             w.el.show_all();
148             w.initChildren();
149             w.windowstate.switchState(WindowState.State.FILES);
150     }
151     public        void initChildren () {
152         // this needs putting in a better place..
153         this.windowstate = new WindowState(this);
154          
155     
156         //w.el.show_all();
157         var tl = new Clutter.Timeline(6000);
158         tl.set_repeat_count(-1);
159         tl.start();
160         tl.ref();
161     
162         
163     
164     
165     
166     }
167     public             void show () {
168        
169         this.el.show_all();
170     
171     }
172     public             void setTitle (string str) {
173         this.headerbar.el.set_title(this.title + " - " + str);
174     }
175     public class Xcls_headerbar : Object
176     {
177         public Gtk.HeaderBar el;
178         private Xcls_MainWindow  _this;
179
180
181             // my vars (def)
182
183         // ctor
184         public Xcls_headerbar(Xcls_MainWindow _owner )
185         {
186             _this = _owner;
187             _this.headerbar = this;
188             this.el = new Gtk.HeaderBar();
189
190             // my vars (dec)
191
192             // set gobject values
193             this.el.title = "Application Builder";
194             this.el.show_close_button = true;
195             var child_0 = new Xcls_Box3( _this );
196             child_0.ref();
197             this.el.pack_start (  child_0.el  );
198         }
199
200         // user defined functions
201     }
202     public class Xcls_Box3 : Object
203     {
204         public Gtk.Box el;
205         private Xcls_MainWindow  _this;
206
207
208             // my vars (def)
209
210         // ctor
211         public Xcls_Box3(Xcls_MainWindow _owner )
212         {
213             _this = _owner;
214             this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
215
216             // my vars (dec)
217
218             // set gobject values
219             var child_0 = new Xcls_MenuButton4( _this );
220             child_0.ref();
221             this.el.add (  child_0.el  );
222             var child_1 = new Xcls_openbtn( _this );
223             child_1.ref();
224             this.el.add (  child_1.el  );
225             var child_2 = new Xcls_openbackbtn( _this );
226             child_2.ref();
227             this.el.add (  child_2.el  );
228         }
229
230         // user defined functions
231     }
232     public class Xcls_MenuButton4 : Object
233     {
234         public Gtk.MenuButton el;
235         private Xcls_MainWindow  _this;
236
237
238             // my vars (def)
239
240         // ctor
241         public Xcls_MenuButton4(Xcls_MainWindow _owner )
242         {
243             _this = _owner;
244             this.el = new Gtk.MenuButton();
245
246             // my vars (dec)
247
248             // set gobject values
249             this.el.use_popover = false;
250             var child_0 = new Xcls_topbarmenu( _this );
251             child_0.ref();
252             this.el.set_popup (  child_0.el  );
253             var child_1 = new Xcls_Image10( _this );
254             child_1.ref();
255             this.el.set_image (  child_1.el  );
256         }
257
258         // user defined functions
259     }
260     public class Xcls_topbarmenu : Object
261     {
262         public Gtk.Menu el;
263         private Xcls_MainWindow  _this;
264
265
266             // my vars (def)
267
268         // ctor
269         public Xcls_topbarmenu(Xcls_MainWindow _owner )
270         {
271             _this = _owner;
272             _this.topbarmenu = this;
273             this.el = new Gtk.Menu();
274
275             // my vars (dec)
276
277             // set gobject values
278             var child_0 = new Xcls_MenuItem6( _this );
279             child_0.ref();
280             this.el.append (  child_0.el  );
281             var child_1 = new Xcls_SeparatorMenuItem7( _this );
282             child_1.ref();
283             this.el.append (  child_1.el  );
284             var child_2 = new Xcls_MenuItem8( _this );
285             child_2.ref();
286             this.el.append (  child_2.el  );
287             var child_3 = new Xcls_MenuItem9( _this );
288             child_3.ref();
289             this.el.append (  child_3.el  );
290
291             // init method
292
293             {
294                 this.el.show_all();
295             }
296         }
297
298         // user defined functions
299     }
300     public class Xcls_MenuItem6 : Object
301     {
302         public Gtk.MenuItem el;
303         private Xcls_MainWindow  _this;
304
305
306             // my vars (def)
307
308         // ctor
309         public Xcls_MenuItem6(Xcls_MainWindow _owner )
310         {
311             _this = _owner;
312             this.el = new Gtk.MenuItem();
313
314             // my vars (dec)
315
316             // set gobject values
317             this.el.label = "Open a new Window";
318
319             //listeners
320             this.el.activate.connect( ( ) => {
321                    _this.openNewWindow();
322             });
323         }
324
325         // user defined functions
326     }
327
328     public class Xcls_SeparatorMenuItem7 : Object
329     {
330         public Gtk.SeparatorMenuItem el;
331         private Xcls_MainWindow  _this;
332
333
334             // my vars (def)
335
336         // ctor
337         public Xcls_SeparatorMenuItem7(Xcls_MainWindow _owner )
338         {
339             _this = _owner;
340             this.el = new Gtk.SeparatorMenuItem();
341
342             // my vars (dec)
343
344             // set gobject values
345         }
346
347         // user defined functions
348     }
349
350     public class Xcls_MenuItem8 : Object
351     {
352         public Gtk.MenuItem el;
353         private Xcls_MainWindow  _this;
354
355
356             // my vars (def)
357
358         // ctor
359         public Xcls_MenuItem8(Xcls_MainWindow _owner )
360         {
361             _this = _owner;
362             this.el = new Gtk.MenuItem();
363
364             // my vars (dec)
365
366             // set gobject values
367             this.el.label = "Download updated Resources";
368
369             //listeners
370             this.el.activate.connect( ( ) => {
371                      Resources.singleton().fetchStart();
372             });
373         }
374
375         // user defined functions
376     }
377
378     public class Xcls_MenuItem9 : Object
379     {
380         public Gtk.MenuItem el;
381         private Xcls_MainWindow  _this;
382
383
384             // my vars (def)
385
386         // ctor
387         public Xcls_MenuItem9(Xcls_MainWindow _owner )
388         {
389             _this = _owner;
390             this.el = new Gtk.MenuItem();
391
392             // my vars (dec)
393
394             // set gobject values
395             this.el.label = "About the Builder";
396
397             //listeners
398             this.el.activate.connect( () => {
399                 About.singleton().el.show();
400                 });
401         }
402
403         // user defined functions
404     }
405
406
407     public class Xcls_Image10 : Object
408     {
409         public Gtk.Image el;
410         private Xcls_MainWindow  _this;
411
412
413             // my vars (def)
414
415         // ctor
416         public Xcls_Image10(Xcls_MainWindow _owner )
417         {
418             _this = _owner;
419             this.el = new Gtk.Image();
420
421             // my vars (dec)
422
423             // set gobject values
424             this.el.icon_name = "help-about";
425         }
426
427         // user defined functions
428     }
429
430
431     public class Xcls_openbtn : Object
432     {
433         public Gtk.Button el;
434         private Xcls_MainWindow  _this;
435
436
437             // my vars (def)
438
439         // ctor
440         public Xcls_openbtn(Xcls_MainWindow _owner )
441         {
442             _this = _owner;
443             _this.openbtn = this;
444             this.el = new Gtk.Button();
445
446             // my vars (dec)
447
448             // set gobject values
449             this.el.height_request = 50;
450             var child_0 = new Xcls_Image12( _this );
451             child_0.ref();
452             this.el.set_image (  child_0.el  );
453
454             //listeners
455             this.el.clicked.connect( ( ) => {
456                _this.windowstate.switchState(WindowState.State.FILES);
457                   
458             
459             });
460         }
461
462         // user defined functions
463     }
464     public class Xcls_Image12 : Object
465     {
466         public Gtk.Image el;
467         private Xcls_MainWindow  _this;
468
469
470             // my vars (def)
471
472         // ctor
473         public Xcls_Image12(Xcls_MainWindow _owner )
474         {
475             _this = _owner;
476             this.el = new Gtk.Image();
477
478             // my vars (dec)
479
480             // set gobject values
481             this.el.icon_name = "document-open";
482         }
483
484         // user defined functions
485     }
486
487
488     public class Xcls_openbackbtn : Object
489     {
490         public Gtk.Button el;
491         private Xcls_MainWindow  _this;
492
493
494             // my vars (def)
495
496         // ctor
497         public Xcls_openbackbtn(Xcls_MainWindow _owner )
498         {
499             _this = _owner;
500             _this.openbackbtn = this;
501             this.el = new Gtk.Button();
502
503             // my vars (dec)
504
505             // set gobject values
506             this.el.width_request = 50;
507             this.el.height_request = 50;
508             this.el.tooltip_text = "Back";
509             this.el.visible = false;
510             var child_0 = new Xcls_Image14( _this );
511             child_0.ref();
512             this.el.set_image (  child_0.el  );
513
514             //listeners
515             this.el.clicked.connect( ( ) => {
516               
517                 _this.windowstate.switchState(WindowState.State.PREVIEW);
518                 
519             
520             });
521         }
522
523         // user defined functions
524     }
525     public class Xcls_Image14 : Object
526     {
527         public Gtk.Image el;
528         private Xcls_MainWindow  _this;
529
530
531             // my vars (def)
532
533         // ctor
534         public Xcls_Image14(Xcls_MainWindow _owner )
535         {
536             _this = _owner;
537             this.el = new Gtk.Image();
538
539             // my vars (dec)
540
541             // set gobject values
542             this.el.icon_name = "go-previous";
543         }
544
545         // user defined functions
546     }
547
548
549
550
551     public class Xcls_vbox : Object
552     {
553         public Gtk.Box el;
554         private Xcls_MainWindow  _this;
555
556
557             // my vars (def)
558
559         // ctor
560         public Xcls_vbox(Xcls_MainWindow _owner )
561         {
562             _this = _owner;
563             _this.vbox = this;
564             this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
565
566             // my vars (dec)
567
568             // set gobject values
569             this.el.homogeneous = false;
570             var child_0 = new Xcls_mainpane( _this );
571             child_0.ref();
572             this.el.pack_start (  child_0.el , true,true,0 );
573             var child_1 = new Xcls_Box66( _this );
574             child_1.ref();
575             this.el.pack_end (  child_1.el , false,true,0 );
576         }
577
578         // user defined functions
579     }
580     public class Xcls_mainpane : Object
581     {
582         public Gtk.Paned el;
583         private Xcls_MainWindow  _this;
584
585
586             // my vars (def)
587         public int lastWidth;
588
589         // ctor
590         public Xcls_mainpane(Xcls_MainWindow _owner )
591         {
592             _this = _owner;
593             _this.mainpane = this;
594             this.el = new Gtk.Paned( Gtk.Orientation.HORIZONTAL );
595
596             // my vars (dec)
597             this.lastWidth = 0;
598
599             // set gobject values
600             this.el.position = 400;
601             var child_0 = new Xcls_leftpane( _this );
602             child_0.ref();
603             this.el.add1 (  child_0.el  );
604             var child_1 = new Xcls_Box21( _this );
605             child_1.ref();
606             this.el.add2 (  child_1.el  );
607         }
608
609         // user defined functions
610     }
611     public class Xcls_leftpane : Object
612     {
613         public Gtk.Box el;
614         private Xcls_MainWindow  _this;
615
616
617             // my vars (def)
618
619         // ctor
620         public Xcls_leftpane(Xcls_MainWindow _owner )
621         {
622             _this = _owner;
623             _this.leftpane = this;
624             this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
625
626             // my vars (dec)
627
628             // set gobject values
629             var child_0 = new Xcls_editpane( _this );
630             child_0.ref();
631             this.el.pack_start (  child_0.el , true,true,0 );
632         }
633
634         // user defined functions
635     }
636     public class Xcls_editpane : Object
637     {
638         public Gtk.Paned el;
639         private Xcls_MainWindow  _this;
640
641
642             // my vars (def)
643
644         // ctor
645         public Xcls_editpane(Xcls_MainWindow _owner )
646         {
647             _this = _owner;
648             _this.editpane = this;
649             this.el = new Gtk.Paned( Gtk.Orientation.VERTICAL );
650
651             // my vars (dec)
652
653             // set gobject values
654             var child_0 = new Xcls_tree( _this );
655             child_0.ref();
656             this.el.add1 (  child_0.el  );
657             var child_1 = new Xcls_props( _this );
658             child_1.ref();
659             this.el.add2 (  child_1.el  );
660         }
661
662         // user defined functions
663     }
664     public class Xcls_tree : Object
665     {
666         public Gtk.Box el;
667         private Xcls_MainWindow  _this;
668
669
670             // my vars (def)
671
672         // ctor
673         public Xcls_tree(Xcls_MainWindow _owner )
674         {
675             _this = _owner;
676             _this.tree = this;
677             this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
678
679             // my vars (dec)
680
681             // set gobject values
682         }
683
684         // user defined functions
685     }
686
687     public class Xcls_props : Object
688     {
689         public Gtk.Box el;
690         private Xcls_MainWindow  _this;
691
692
693             // my vars (def)
694
695         // ctor
696         public Xcls_props(Xcls_MainWindow _owner )
697         {
698             _this = _owner;
699             _this.props = this;
700             this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
701
702             // my vars (dec)
703
704             // set gobject values
705         }
706
707         // user defined functions
708     }
709
710
711
712     public class Xcls_Box21 : Object
713     {
714         public Gtk.Box el;
715         private Xcls_MainWindow  _this;
716
717
718             // my vars (def)
719
720         // ctor
721         public Xcls_Box21(Xcls_MainWindow _owner )
722         {
723             _this = _owner;
724             this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
725
726             // my vars (dec)
727
728             // set gobject values
729             var child_0 = new Xcls_clutterembed( _this );
730             child_0.ref();
731             this.el.pack_start (  child_0.el , true,true,0 );
732         }
733
734         // user defined functions
735     }
736     public class Xcls_clutterembed : Object
737     {
738         public GtkClutter.Embed el;
739         private Xcls_MainWindow  _this;
740
741
742             // my vars (def)
743
744         // ctor
745         public Xcls_clutterembed(Xcls_MainWindow _owner )
746         {
747             _this = _owner;
748             _this.clutterembed = this;
749             this.el = new GtkClutter.Embed();
750
751             // my vars (dec)
752
753             // set gobject values
754             var child_0 = new Xcls_rooview( _this );
755             child_0.ref();
756             this.el.get_stage().add_child (  child_0.el  );
757             var child_1 = new Xcls_objectview( _this );
758             child_1.ref();
759             this.el.get_stage().add_child (  child_1.el  );
760             var child_2 = new Xcls_codeeditview( _this );
761             child_2.ref();
762             this.el.get_stage().add_child (  child_2.el  );
763             var child_3 = new Xcls_addpropsview( _this );
764             child_3.ref();
765             this.el.get_stage().add_child (  child_3.el  );
766             var child_4 = new Xcls_projecteditview( _this );
767             child_4.ref();
768             this.el.get_stage().add_child (  child_4.el  );
769             var child_5 = new Xcls_buttonlayout( _this );
770             child_5.ref();
771             this.el.get_stage().add_child (  child_5.el  );
772
773             // init method
774
775             var stage = this.el.get_stage();
776                 stage.set_background_color(  Clutter.Color.from_string("#000"));
777
778             //listeners
779             this.el.size_allocate.connect( (  alloc) => {
780                 if (_this.windowstate == null) {
781                     return;
782                 }
783                 _this.windowstate.resizeCanvas(); 
784                     
785             });
786         }
787
788         // user defined functions
789     }
790     public class Xcls_rooview : Object
791     {
792         public GtkClutter.Actor el;
793         private Xcls_MainWindow  _this;
794
795
796             // my vars (def)
797
798         // ctor
799         public Xcls_rooview(Xcls_MainWindow _owner )
800         {
801             _this = _owner;
802             _this.rooview = this;
803             this.el = new GtkClutter.Actor();
804
805             // my vars (dec)
806
807             // set gobject values
808
809             // init method
810
811             {
812                
813                
814                 this.el.add_constraint(
815                     new Clutter.AlignConstraint(
816                         _this.clutterembed.el.get_stage(), 
817                         Clutter.AlignAxis.X_AXIS,
818                         1.0f
819                     )
820                 );
821                     
822                 //this.el.set_position(100,100);
823                 this.el.set_pivot_point(1.0f,1.0f);
824                 
825                 this.el.set_size(_this.clutterembed.el.get_stage().width-50,
826                         _this.clutterembed.el.get_stage().height);
827                         
828             }
829         }
830
831         // user defined functions
832     }
833
834     public class Xcls_objectview : Object
835     {
836         public GtkClutter.Actor el;
837         private Xcls_MainWindow  _this;
838
839
840             // my vars (def)
841
842         // ctor
843         public Xcls_objectview(Xcls_MainWindow _owner )
844         {
845             _this = _owner;
846             _this.objectview = this;
847             this.el = new GtkClutter.Actor();
848
849             // my vars (dec)
850
851             // set gobject values
852
853             // init method
854
855             {
856                
857                /*
858                 this.el.add_constraint(
859                     new Clutter.AlignConstraint(
860                         _this.clutterembed.el.get_stage(), 
861                         Clutter.AlignAxis.X_AXIS,
862                         0.0f
863                     )
864                 );
865                 */
866                 this.el.fixed_x = 50.0f;
867                 this.el.fixed_y = 0.0f;
868                 //this.el.set_position(100,100);
869                 this.el.set_pivot_point(0.0f,0.0f);
870                 this.el.set_scale(0.0f,1.0f);
871                 this.el.set_size((_this.clutterembed.el.get_stage().width-50)/2,
872                         _this.clutterembed.el.get_stage().height);
873                         
874             }
875         }
876
877         // user defined functions
878     }
879
880     public class Xcls_codeeditview : Object
881     {
882         public GtkClutter.Actor el;
883         private Xcls_MainWindow  _this;
884
885
886             // my vars (def)
887
888         // ctor
889         public Xcls_codeeditview(Xcls_MainWindow _owner )
890         {
891             _this = _owner;
892             _this.codeeditview = this;
893             this.el = new GtkClutter.Actor();
894
895             // my vars (dec)
896
897             // set gobject values
898
899             // init method
900
901             {
902                
903                /*
904                 this.el.add_constraint(
905                     new Clutter.AlignConstraint(
906                         _this.clutterembed.el.get_stage(), 
907                         Clutter.AlignAxis.X_AXIS,
908                         0.0f
909                     )
910                 );
911                 */
912                 this.el.fixed_x = 50.0f;
913                 this.el.fixed_y = 0.0f;
914                 //this.el.set_position(100,100);
915                 this.el.set_pivot_point(0.0f,0.0f);
916                 this.el.set_scale(0.0f,1.0f);
917                 this.el.set_size((_this.clutterembed.el.get_stage().width-50)/2,
918                         _this.clutterembed.el.get_stage().height);
919                         
920             }
921         }
922
923         // user defined functions
924     }
925
926     public class Xcls_addpropsview : Object
927     {
928         public GtkClutter.Actor el;
929         private Xcls_MainWindow  _this;
930
931
932             // my vars (def)
933
934         // ctor
935         public Xcls_addpropsview(Xcls_MainWindow _owner )
936         {
937             _this = _owner;
938             _this.addpropsview = this;
939             this.el = new GtkClutter.Actor();
940
941             // my vars (dec)
942
943             // set gobject values
944
945             // init method
946
947             {
948                
949                /*
950                 this.el.add_constraint(
951                     new Clutter.AlignConstraint(
952                         _this.clutterembed.el.get_stage(), 
953                         Clutter.AlignAxis.X_AXIS,
954                         0.0f
955                     )
956                 );
957                 */
958                 this.el.fixed_x = 50.0f;
959                 this.el.fixed_y = 0.0f;
960                 //this.el.set_position(100,100);
961                 this.el.set_pivot_point(0.0f,0.0f);
962                 this.el.set_scale(0.0f,1.0f);
963                 this.el.set_size((_this.clutterembed.el.get_stage().width-50)/2,
964                         _this.clutterembed.el.get_stage().height);
965                         
966             }
967         }
968
969         // user defined functions
970     }
971
972     public class Xcls_projecteditview : Object
973     {
974         public GtkClutter.Actor el;
975         private Xcls_MainWindow  _this;
976
977
978             // my vars (def)
979
980         // ctor
981         public Xcls_projecteditview(Xcls_MainWindow _owner )
982         {
983             _this = _owner;
984             _this.projecteditview = this;
985             this.el = new GtkClutter.Actor();
986
987             // my vars (dec)
988
989             // set gobject values
990
991             // init method
992
993             {
994                
995                
996                 this.el.add_constraint(
997                     new Clutter.AlignConstraint(
998                         _this.clutterembed.el.get_stage(), 
999                         Clutter.AlignAxis.X_AXIS,
1000                         1.0f
1001                     )
1002                 );
1003                     
1004                 //this.el.set_position(100,100);
1005                 this.el.set_pivot_point(0.0f,0.0f);
1006                 this.el.set_scale(1.0f,0.0f);
1007                 this.el.set_size(_this.clutterembed.el.get_stage().width-50,
1008                         _this.clutterembed.el.get_stage().height /2);
1009                         
1010             }
1011         }
1012
1013         // user defined functions
1014     }
1015
1016     public class Xcls_buttonlayout : Object
1017     {
1018         public Clutter.Actor el;
1019         private Xcls_MainWindow  _this;
1020
1021
1022             // my vars (def)
1023
1024         // ctor
1025         public Xcls_buttonlayout(Xcls_MainWindow _owner )
1026         {
1027             _this = _owner;
1028             _this.buttonlayout = this;
1029             this.el = new Clutter.Actor();
1030
1031             // my vars (dec)
1032
1033             // set gobject values
1034             var child_0 = new Xcls_BoxLayout29( _this );
1035             child_0.ref();
1036             this.el.layout_manager = child_0.el;
1037             var child_1 = new Xcls_backbutton( _this );
1038             child_1.ref();
1039             this.el.add_child (  child_1.el  );
1040             var child_2 = new Xcls_editfilebutton( _this );
1041             child_2.ref();
1042             this.el.add_child (  child_2.el  );
1043             var child_3 = new Xcls_projecteditbutton( _this );
1044             child_3.ref();
1045             this.el.add_child (  child_3.el  );
1046             var child_4 = new Xcls_objectshowbutton( _this );
1047             child_4.ref();
1048             this.el.add_child (  child_4.el  );
1049             var child_5 = new Xcls_addpropbutton( _this );
1050             child_5.ref();
1051             this.el.add_child (  child_5.el  );
1052             var child_6 = new Xcls_addlistenerbutton( _this );
1053             child_6.ref();
1054             this.el.add_child (  child_6.el  );
1055             var child_7 = new Xcls_addprojectbutton( _this );
1056             child_7.ref();
1057             this.el.add_child (  child_7.el  );
1058             var child_8 = new Xcls_addfilebutton( _this );
1059             child_8.ref();
1060             this.el.add_child (  child_8.el  );
1061             var child_9 = new Xcls_delprojectbutton( _this );
1062             child_9.ref();
1063             this.el.add_child (  child_9.el  );
1064
1065             // init method
1066
1067             {
1068                 
1069                 this.el.add_constraint(
1070                     new Clutter.AlignConstraint(
1071                         _this.clutterembed.el.get_stage(), 
1072                         Clutter.AlignAxis.X_AXIS,
1073                         0.0f
1074                     )
1075                 );
1076                  
1077                 
1078                 //this.el.set_position(100,100);
1079                 this.el.set_pivot_point(0.5f,0.5f);
1080                  this.el.set_size(50,
1081                        _this.clutterembed.el.get_stage().height);
1082                  
1083             }
1084         }
1085
1086         // user defined functions
1087     }
1088     public class Xcls_BoxLayout29 : Object
1089     {
1090         public Clutter.BoxLayout el;
1091         private Xcls_MainWindow  _this;
1092
1093
1094             // my vars (def)
1095
1096         // ctor
1097         public Xcls_BoxLayout29(Xcls_MainWindow _owner )
1098         {
1099             _this = _owner;
1100             this.el = new Clutter.BoxLayout();
1101
1102             // my vars (dec)
1103
1104             // set gobject values
1105             this.el.orientation = Clutter.Orientation.VERTICAL;
1106         }
1107
1108         // user defined functions
1109     }
1110
1111     public class Xcls_backbutton : Object
1112     {
1113         public Clutter.Actor el;
1114         private Xcls_MainWindow  _this;
1115
1116
1117             // my vars (def)
1118
1119         // ctor
1120         public Xcls_backbutton(Xcls_MainWindow _owner )
1121         {
1122             _this = _owner;
1123             _this.backbutton = this;
1124             this.el = new Clutter.Actor();
1125
1126             // my vars (dec)
1127
1128             // set gobject values
1129             var child_0 = new Xcls_Actor31( _this );
1130             child_0.ref();
1131             this.el.add_child (  child_0.el  );
1132
1133             // init method
1134
1135             this.el.set_size(50,50);
1136         }
1137
1138         // user defined functions
1139     }
1140     public class Xcls_Actor31 : Object
1141     {
1142         public GtkClutter.Actor el;
1143         private Xcls_MainWindow  _this;
1144
1145
1146             // my vars (def)
1147
1148         // ctor
1149         public Xcls_Actor31(Xcls_MainWindow _owner )
1150         {
1151             _this = _owner;
1152             this.el = new GtkClutter.Actor();
1153
1154             // my vars (dec)
1155
1156             // set gobject values
1157             var child_0 = new Xcls_Button32( _this );
1158             child_0.ref();
1159
1160             // init method
1161
1162             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1163         }
1164
1165         // user defined functions
1166     }
1167     public class Xcls_Button32 : Object
1168     {
1169         public Gtk.Button el;
1170         private Xcls_MainWindow  _this;
1171
1172
1173             // my vars (def)
1174
1175         // ctor
1176         public Xcls_Button32(Xcls_MainWindow _owner )
1177         {
1178             _this = _owner;
1179             this.el = new Gtk.Button();
1180
1181             // my vars (dec)
1182
1183             // set gobject values
1184             this.el.width_request = 50;
1185             this.el.height_request = 50;
1186             this.el.tooltip_text = "Back";
1187             var child_0 = new Xcls_Image33( _this );
1188             child_0.ref();
1189             this.el.set_image (  child_0.el  );
1190
1191             //listeners
1192             this.el.clicked.connect( ( ) => {
1193               
1194                 _this.windowstate.switchState(WindowState.State.PREVIEW);
1195                 
1196             
1197             });
1198         }
1199
1200         // user defined functions
1201     }
1202     public class Xcls_Image33 : Object
1203     {
1204         public Gtk.Image el;
1205         private Xcls_MainWindow  _this;
1206
1207
1208             // my vars (def)
1209
1210         // ctor
1211         public Xcls_Image33(Xcls_MainWindow _owner )
1212         {
1213             _this = _owner;
1214             this.el = new Gtk.Image();
1215
1216             // my vars (dec)
1217
1218             // set gobject values
1219             this.el.icon_name = "go-previous";
1220         }
1221
1222         // user defined functions
1223     }
1224
1225
1226
1227
1228     public class Xcls_editfilebutton : Object
1229     {
1230         public Clutter.Actor el;
1231         private Xcls_MainWindow  _this;
1232
1233
1234             // my vars (def)
1235
1236         // ctor
1237         public Xcls_editfilebutton(Xcls_MainWindow _owner )
1238         {
1239             _this = _owner;
1240             _this.editfilebutton = this;
1241             this.el = new Clutter.Actor();
1242
1243             // my vars (dec)
1244
1245             // set gobject values
1246             var child_0 = new Xcls_Actor35( _this );
1247             child_0.ref();
1248             this.el.add_child (  child_0.el  );
1249
1250             // init method
1251
1252             this.el.set_size(50.0f,50.0f);
1253         }
1254
1255         // user defined functions
1256     }
1257     public class Xcls_Actor35 : Object
1258     {
1259         public GtkClutter.Actor el;
1260         private Xcls_MainWindow  _this;
1261
1262
1263             // my vars (def)
1264
1265         // ctor
1266         public Xcls_Actor35(Xcls_MainWindow _owner )
1267         {
1268             _this = _owner;
1269             this.el = new GtkClutter.Actor();
1270
1271             // my vars (dec)
1272
1273             // set gobject values
1274             var child_0 = new Xcls_Button36( _this );
1275             child_0.ref();
1276
1277             // init method
1278
1279             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1280         }
1281
1282         // user defined functions
1283     }
1284     public class Xcls_Button36 : Object
1285     {
1286         public Gtk.Button el;
1287         private Xcls_MainWindow  _this;
1288
1289
1290             // my vars (def)
1291
1292         // ctor
1293         public Xcls_Button36(Xcls_MainWindow _owner )
1294         {
1295             _this = _owner;
1296             this.el = new Gtk.Button();
1297
1298             // my vars (dec)
1299
1300             // set gobject values
1301             this.el.width_request = 50;
1302             this.el.height_request = 50;
1303             this.el.tooltip_text = "File Details";
1304             var child_0 = new Xcls_Image37( _this );
1305             child_0.ref();
1306             this.el.set_image (  child_0.el  );
1307
1308             //listeners
1309             this.el.clicked.connect( ( ) => {
1310               
1311                 // create a new file in project..
1312                 if (_this.project == null || _this.windowstate.file == null) {
1313                     return  ;
1314                 }
1315                  _this.windowstate.file_details.show(
1316                     _this.windowstate.file, this.el
1317                 );
1318                  
1319                 return  ;    
1320             
1321             
1322             });
1323         }
1324
1325         // user defined functions
1326     }
1327     public class Xcls_Image37 : Object
1328     {
1329         public Gtk.Image el;
1330         private Xcls_MainWindow  _this;
1331
1332
1333             // my vars (def)
1334
1335         // ctor
1336         public Xcls_Image37(Xcls_MainWindow _owner )
1337         {
1338             _this = _owner;
1339             this.el = new Gtk.Image();
1340
1341             // my vars (dec)
1342
1343             // set gobject values
1344             this.el.icon_name = "document-properties";
1345         }
1346
1347         // user defined functions
1348     }
1349
1350
1351
1352
1353     public class Xcls_projecteditbutton : Object
1354     {
1355         public Clutter.Actor el;
1356         private Xcls_MainWindow  _this;
1357
1358
1359             // my vars (def)
1360
1361         // ctor
1362         public Xcls_projecteditbutton(Xcls_MainWindow _owner )
1363         {
1364             _this = _owner;
1365             _this.projecteditbutton = this;
1366             this.el = new Clutter.Actor();
1367
1368             // my vars (dec)
1369
1370             // set gobject values
1371             var child_0 = new Xcls_Actor39( _this );
1372             child_0.ref();
1373             this.el.add_child (  child_0.el  );
1374
1375             // init method
1376
1377             this.el.set_size(50,50);
1378         }
1379
1380         // user defined functions
1381     }
1382     public class Xcls_Actor39 : Object
1383     {
1384         public GtkClutter.Actor el;
1385         private Xcls_MainWindow  _this;
1386
1387
1388             // my vars (def)
1389
1390         // ctor
1391         public Xcls_Actor39(Xcls_MainWindow _owner )
1392         {
1393             _this = _owner;
1394             this.el = new GtkClutter.Actor();
1395
1396             // my vars (dec)
1397
1398             // set gobject values
1399             var child_0 = new Xcls_Button40( _this );
1400             child_0.ref();
1401
1402             // init method
1403
1404             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1405         }
1406
1407         // user defined functions
1408     }
1409     public class Xcls_Button40 : Object
1410     {
1411         public Gtk.Button el;
1412         private Xcls_MainWindow  _this;
1413
1414
1415             // my vars (def)
1416
1417         // ctor
1418         public Xcls_Button40(Xcls_MainWindow _owner )
1419         {
1420             _this = _owner;
1421             this.el = new Gtk.Button();
1422
1423             // my vars (dec)
1424
1425             // set gobject values
1426             this.el.width_request = 50;
1427             this.el.height_request = 50;
1428             this.el.tooltip_text = "Project Details";
1429             var child_0 = new Xcls_Image41( _this );
1430             child_0.ref();
1431             this.el.set_image (  child_0.el  );
1432
1433             //listeners
1434             this.el.clicked.connect( ( ) => {
1435                  _this.windowstate.switchState(WindowState.State.PROJECT);
1436                
1437             
1438             
1439             });
1440         }
1441
1442         // user defined functions
1443     }
1444     public class Xcls_Image41 : Object
1445     {
1446         public Gtk.Image el;
1447         private Xcls_MainWindow  _this;
1448
1449
1450             // my vars (def)
1451
1452         // ctor
1453         public Xcls_Image41(Xcls_MainWindow _owner )
1454         {
1455             _this = _owner;
1456             this.el = new Gtk.Image();
1457
1458             // my vars (dec)
1459
1460             // set gobject values
1461             this.el.icon_name = "emblem-system";
1462         }
1463
1464         // user defined functions
1465     }
1466
1467
1468
1469
1470     public class Xcls_objectshowbutton : Object
1471     {
1472         public Clutter.Actor el;
1473         private Xcls_MainWindow  _this;
1474
1475
1476             // my vars (def)
1477
1478         // ctor
1479         public Xcls_objectshowbutton(Xcls_MainWindow _owner )
1480         {
1481             _this = _owner;
1482             _this.objectshowbutton = this;
1483             this.el = new Clutter.Actor();
1484
1485             // my vars (dec)
1486
1487             // set gobject values
1488             var child_0 = new Xcls_Actor43( _this );
1489             child_0.ref();
1490             this.el.add_child (  child_0.el  );
1491
1492             // init method
1493
1494             this.el.set_size(50,50);
1495
1496             //listeners
1497             this.el.enter_event.connect( (  event)  => {
1498                 this.el.background_color =   Clutter.Color.from_string("#333");
1499                     return false;
1500             });
1501             this.el.leave_event.connect( (  event)  => {
1502                 this.el.background_color =   Clutter.Color.from_string("#000");
1503                 return false;
1504             });
1505         }
1506
1507         // user defined functions
1508     }
1509     public class Xcls_Actor43 : Object
1510     {
1511         public GtkClutter.Actor el;
1512         private Xcls_MainWindow  _this;
1513
1514
1515             // my vars (def)
1516
1517         // ctor
1518         public Xcls_Actor43(Xcls_MainWindow _owner )
1519         {
1520             _this = _owner;
1521             this.el = new GtkClutter.Actor();
1522
1523             // my vars (dec)
1524
1525             // set gobject values
1526             var child_0 = new Xcls_Button44( _this );
1527             child_0.ref();
1528
1529             // init method
1530
1531             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1532         }
1533
1534         // user defined functions
1535     }
1536     public class Xcls_Button44 : Object
1537     {
1538         public Gtk.Button el;
1539         private Xcls_MainWindow  _this;
1540
1541
1542             // my vars (def)
1543
1544         // ctor
1545         public Xcls_Button44(Xcls_MainWindow _owner )
1546         {
1547             _this = _owner;
1548             this.el = new Gtk.Button();
1549
1550             // my vars (dec)
1551
1552             // set gobject values
1553             this.el.width_request = 50;
1554             this.el.height_request = 50;
1555             this.el.tooltip_text = "Add Child Element";
1556             var child_0 = new Xcls_Image45( _this );
1557             child_0.ref();
1558             this.el.set_image (  child_0.el  );
1559
1560             //listeners
1561             this.el.clicked.connect( ( ) => {
1562                 
1563                  _this.windowstate.switchState(WindowState.State.OBJECT);
1564               
1565              
1566             });
1567         }
1568
1569         // user defined functions
1570     }
1571     public class Xcls_Image45 : Object
1572     {
1573         public Gtk.Image el;
1574         private Xcls_MainWindow  _this;
1575
1576
1577             // my vars (def)
1578
1579         // ctor
1580         public Xcls_Image45(Xcls_MainWindow _owner )
1581         {
1582             _this = _owner;
1583             this.el = new Gtk.Image();
1584
1585             // my vars (dec)
1586
1587             // set gobject values
1588             this.el.icon_name = "list-add";
1589         }
1590
1591         // user defined functions
1592     }
1593
1594
1595
1596
1597     public class Xcls_addpropbutton : Object
1598     {
1599         public Clutter.Actor el;
1600         private Xcls_MainWindow  _this;
1601
1602
1603             // my vars (def)
1604
1605         // ctor
1606         public Xcls_addpropbutton(Xcls_MainWindow _owner )
1607         {
1608             _this = _owner;
1609             _this.addpropbutton = this;
1610             this.el = new Clutter.Actor();
1611
1612             // my vars (dec)
1613
1614             // set gobject values
1615             var child_0 = new Xcls_Actor47( _this );
1616             child_0.ref();
1617             this.el.add_child (  child_0.el  );
1618
1619             // init method
1620
1621             this.el.set_size(50,50);
1622         }
1623
1624         // user defined functions
1625     }
1626     public class Xcls_Actor47 : Object
1627     {
1628         public GtkClutter.Actor el;
1629         private Xcls_MainWindow  _this;
1630
1631
1632             // my vars (def)
1633
1634         // ctor
1635         public Xcls_Actor47(Xcls_MainWindow _owner )
1636         {
1637             _this = _owner;
1638             this.el = new GtkClutter.Actor();
1639
1640             // my vars (dec)
1641
1642             // set gobject values
1643             var child_0 = new Xcls_Button48( _this );
1644             child_0.ref();
1645
1646             // init method
1647
1648             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1649         }
1650
1651         // user defined functions
1652     }
1653     public class Xcls_Button48 : Object
1654     {
1655         public Gtk.Button el;
1656         private Xcls_MainWindow  _this;
1657
1658
1659             // my vars (def)
1660
1661         // ctor
1662         public Xcls_Button48(Xcls_MainWindow _owner )
1663         {
1664             _this = _owner;
1665             this.el = new Gtk.Button();
1666
1667             // my vars (dec)
1668
1669             // set gobject values
1670             this.el.width_request = 50;
1671             this.el.height_request = 50;
1672             this.el.tooltip_text = "Add Property";
1673             var child_0 = new Xcls_Image49( _this );
1674             child_0.ref();
1675             this.el.set_image (  child_0.el  );
1676
1677             //listeners
1678             this.el.clicked.connect( ( ) => {
1679                 
1680                  _this.windowstate.switchState(WindowState.State.PROP);
1681              
1682             
1683             });
1684         }
1685
1686         // user defined functions
1687     }
1688     public class Xcls_Image49 : Object
1689     {
1690         public Gtk.Image el;
1691         private Xcls_MainWindow  _this;
1692
1693
1694             // my vars (def)
1695
1696         // ctor
1697         public Xcls_Image49(Xcls_MainWindow _owner )
1698         {
1699             _this = _owner;
1700             this.el = new Gtk.Image();
1701
1702             // my vars (dec)
1703
1704             // set gobject values
1705             this.el.icon_name = "format-justify-left";
1706         }
1707
1708         // user defined functions
1709     }
1710
1711
1712
1713
1714     public class Xcls_addlistenerbutton : Object
1715     {
1716         public Clutter.Actor el;
1717         private Xcls_MainWindow  _this;
1718
1719
1720             // my vars (def)
1721
1722         // ctor
1723         public Xcls_addlistenerbutton(Xcls_MainWindow _owner )
1724         {
1725             _this = _owner;
1726             _this.addlistenerbutton = this;
1727             this.el = new Clutter.Actor();
1728
1729             // my vars (dec)
1730
1731             // set gobject values
1732             var child_0 = new Xcls_Actor51( _this );
1733             child_0.ref();
1734             this.el.add_child (  child_0.el  );
1735
1736             // init method
1737
1738             this.el.set_size(50,50);
1739         }
1740
1741         // user defined functions
1742     }
1743     public class Xcls_Actor51 : Object
1744     {
1745         public GtkClutter.Actor el;
1746         private Xcls_MainWindow  _this;
1747
1748
1749             // my vars (def)
1750
1751         // ctor
1752         public Xcls_Actor51(Xcls_MainWindow _owner )
1753         {
1754             _this = _owner;
1755             this.el = new GtkClutter.Actor();
1756
1757             // my vars (dec)
1758
1759             // set gobject values
1760             var child_0 = new Xcls_Button52( _this );
1761             child_0.ref();
1762
1763             // init method
1764
1765             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1766         }
1767
1768         // user defined functions
1769     }
1770     public class Xcls_Button52 : Object
1771     {
1772         public Gtk.Button el;
1773         private Xcls_MainWindow  _this;
1774
1775
1776             // my vars (def)
1777
1778         // ctor
1779         public Xcls_Button52(Xcls_MainWindow _owner )
1780         {
1781             _this = _owner;
1782             this.el = new Gtk.Button();
1783
1784             // my vars (dec)
1785
1786             // set gobject values
1787             this.el.width_request = 50;
1788             this.el.height_request = 50;
1789             this.el.tooltip_text = "Add Event Code";
1790             var child_0 = new Xcls_Image53( _this );
1791             child_0.ref();
1792             this.el.set_image (  child_0.el  );
1793
1794             //listeners
1795             this.el.clicked.connect( ( ) => {
1796                 
1797                 _this.windowstate.switchState(WindowState.State.LISTENER);
1798               
1799             
1800             
1801             });
1802         }
1803
1804         // user defined functions
1805     }
1806     public class Xcls_Image53 : Object
1807     {
1808         public Gtk.Image el;
1809         private Xcls_MainWindow  _this;
1810
1811
1812             // my vars (def)
1813
1814         // ctor
1815         public Xcls_Image53(Xcls_MainWindow _owner )
1816         {
1817             _this = _owner;
1818             this.el = new Gtk.Image();
1819
1820             // my vars (dec)
1821
1822             // set gobject values
1823             this.el.icon_name = "appointment-new";
1824         }
1825
1826         // user defined functions
1827     }
1828
1829
1830
1831
1832     public class Xcls_addprojectbutton : Object
1833     {
1834         public Clutter.Actor el;
1835         private Xcls_MainWindow  _this;
1836
1837
1838             // my vars (def)
1839
1840         // ctor
1841         public Xcls_addprojectbutton(Xcls_MainWindow _owner )
1842         {
1843             _this = _owner;
1844             _this.addprojectbutton = this;
1845             this.el = new Clutter.Actor();
1846
1847             // my vars (dec)
1848
1849             // set gobject values
1850             var child_0 = new Xcls_Actor55( _this );
1851             child_0.ref();
1852             this.el.add_child (  child_0.el  );
1853
1854             // init method
1855
1856             this.el.set_size(50.0f,50.0f);
1857         }
1858
1859         // user defined functions
1860     }
1861     public class Xcls_Actor55 : Object
1862     {
1863         public GtkClutter.Actor el;
1864         private Xcls_MainWindow  _this;
1865
1866
1867             // my vars (def)
1868
1869         // ctor
1870         public Xcls_Actor55(Xcls_MainWindow _owner )
1871         {
1872             _this = _owner;
1873             this.el = new GtkClutter.Actor();
1874
1875             // my vars (dec)
1876
1877             // set gobject values
1878             var child_0 = new Xcls_Button56( _this );
1879             child_0.ref();
1880
1881             // init method
1882
1883             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1884         }
1885
1886         // user defined functions
1887     }
1888     public class Xcls_Button56 : Object
1889     {
1890         public Gtk.Button el;
1891         private Xcls_MainWindow  _this;
1892
1893
1894             // my vars (def)
1895
1896         // ctor
1897         public Xcls_Button56(Xcls_MainWindow _owner )
1898         {
1899             _this = _owner;
1900             this.el = new Gtk.Button();
1901
1902             // my vars (dec)
1903
1904             // set gobject values
1905             this.el.width_request = 50;
1906             this.el.height_request = 50;
1907             this.el.tooltip_text = "New\nProj.";
1908             var child_0 = new Xcls_Image57( _this );
1909             child_0.ref();
1910             this.el.set_image (  child_0.el  );
1911
1912             //listeners
1913             this.el.clicked.connect( ( ) => {
1914               
1915                 // create a new file in project..
1916                 //Xcls_DialogNewComponent.singleton().show(
1917                var  pe =      EditProject.singleton();
1918                 pe.el.set_transient_for(_this.el);
1919                 pe.el.set_modal(true);   
1920                
1921                 var p  = pe.show();
1922             
1923                 if (p == null) {
1924                     return;
1925                 }
1926                 
1927                 
1928                 _this.windowstate.left_projects.is_loaded = false;    
1929                 _this.windowstate.left_projects.load();
1930                 _this.windowstate.left_projects.selectProject(p);
1931                 return  ;    
1932             
1933             
1934             });
1935         }
1936
1937         // user defined functions
1938     }
1939     public class Xcls_Image57 : Object
1940     {
1941         public Gtk.Image el;
1942         private Xcls_MainWindow  _this;
1943
1944
1945             // my vars (def)
1946
1947         // ctor
1948         public Xcls_Image57(Xcls_MainWindow _owner )
1949         {
1950             _this = _owner;
1951             this.el = new Gtk.Image();
1952
1953             // my vars (dec)
1954
1955             // set gobject values
1956             this.el.icon_name = "folder-new";
1957         }
1958
1959         // user defined functions
1960     }
1961
1962
1963
1964
1965     public class Xcls_addfilebutton : Object
1966     {
1967         public Clutter.Actor el;
1968         private Xcls_MainWindow  _this;
1969
1970
1971             // my vars (def)
1972
1973         // ctor
1974         public Xcls_addfilebutton(Xcls_MainWindow _owner )
1975         {
1976             _this = _owner;
1977             _this.addfilebutton = this;
1978             this.el = new Clutter.Actor();
1979
1980             // my vars (dec)
1981
1982             // set gobject values
1983             var child_0 = new Xcls_Actor59( _this );
1984             child_0.ref();
1985             this.el.add_child (  child_0.el  );
1986
1987             // init method
1988
1989             this.el.set_size(50.0f,50.0f);
1990         }
1991
1992         // user defined functions
1993     }
1994     public class Xcls_Actor59 : Object
1995     {
1996         public GtkClutter.Actor el;
1997         private Xcls_MainWindow  _this;
1998
1999
2000             // my vars (def)
2001
2002         // ctor
2003         public Xcls_Actor59(Xcls_MainWindow _owner )
2004         {
2005             _this = _owner;
2006             this.el = new GtkClutter.Actor();
2007
2008             // my vars (dec)
2009
2010             // set gobject values
2011             var child_0 = new Xcls_Button60( _this );
2012             child_0.ref();
2013
2014             // init method
2015
2016             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
2017         }
2018
2019         // user defined functions
2020     }
2021     public class Xcls_Button60 : Object
2022     {
2023         public Gtk.Button el;
2024         private Xcls_MainWindow  _this;
2025
2026
2027             // my vars (def)
2028
2029         // ctor
2030         public Xcls_Button60(Xcls_MainWindow _owner )
2031         {
2032             _this = _owner;
2033             this.el = new Gtk.Button();
2034
2035             // my vars (dec)
2036
2037             // set gobject values
2038             this.el.width_request = 50;
2039             this.el.height_request = 50;
2040             this.el.tooltip_text = "Add File";
2041             var child_0 = new Xcls_Image61( _this );
2042             child_0.ref();
2043             this.el.set_image (  child_0.el  );
2044
2045             //listeners
2046             this.el.clicked.connect( () => {
2047                 // create a new file in project..
2048                 print("add file selected\n");
2049                 // what's the currently selected project...
2050                 var proj = _this.windowstate.left_projects.getSelectedProject();
2051                 
2052                 if (proj == null) {
2053                         print("no project selected?\n");
2054                     return  ;
2055                 }
2056                 
2057                 print("creating file?");
2058                 
2059                 var f = JsRender.JsRender.factory(proj.xtype,  proj, "");
2060                 _this.project = proj;
2061                     print("showing popup?");
2062                  _this.windowstate.file_details.show(
2063                    f, this.el
2064                 );
2065                 
2066                 
2067                 return  ;    
2068             });
2069         }
2070
2071         // user defined functions
2072     }
2073     public class Xcls_Image61 : Object
2074     {
2075         public Gtk.Image el;
2076         private Xcls_MainWindow  _this;
2077
2078
2079             // my vars (def)
2080
2081         // ctor
2082         public Xcls_Image61(Xcls_MainWindow _owner )
2083         {
2084             _this = _owner;
2085             this.el = new Gtk.Image();
2086
2087             // my vars (dec)
2088
2089             // set gobject values
2090             this.el.icon_name = "document-new";
2091         }
2092
2093         // user defined functions
2094     }
2095
2096
2097
2098
2099     public class Xcls_delprojectbutton : Object
2100     {
2101         public Clutter.Actor el;
2102         private Xcls_MainWindow  _this;
2103
2104
2105             // my vars (def)
2106
2107         // ctor
2108         public Xcls_delprojectbutton(Xcls_MainWindow _owner )
2109         {
2110             _this = _owner;
2111             _this.delprojectbutton = this;
2112             this.el = new Clutter.Actor();
2113
2114             // my vars (dec)
2115
2116             // set gobject values
2117             var child_0 = new Xcls_Actor63( _this );
2118             child_0.ref();
2119             this.el.add_child (  child_0.el  );
2120
2121             // init method
2122
2123             this.el.set_size(50,50);
2124         }
2125
2126         // user defined functions
2127     }
2128     public class Xcls_Actor63 : Object
2129     {
2130         public GtkClutter.Actor el;
2131         private Xcls_MainWindow  _this;
2132
2133
2134             // my vars (def)
2135
2136         // ctor
2137         public Xcls_Actor63(Xcls_MainWindow _owner )
2138         {
2139             _this = _owner;
2140             this.el = new GtkClutter.Actor();
2141
2142             // my vars (dec)
2143
2144             // set gobject values
2145             var child_0 = new Xcls_Button64( _this );
2146             child_0.ref();
2147
2148             // init method
2149
2150             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
2151         }
2152
2153         // user defined functions
2154     }
2155     public class Xcls_Button64 : Object
2156     {
2157         public Gtk.Button el;
2158         private Xcls_MainWindow  _this;
2159
2160
2161             // my vars (def)
2162
2163         // ctor
2164         public Xcls_Button64(Xcls_MainWindow _owner )
2165         {
2166             _this = _owner;
2167             this.el = new Gtk.Button();
2168
2169             // my vars (dec)
2170
2171             // set gobject values
2172             this.el.width_request = 50;
2173             this.el.height_request = 50;
2174             this.el.tooltip_text = "Delete Project";
2175             var child_0 = new Xcls_Image65( _this );
2176             child_0.ref();
2177             this.el.set_image (  child_0.el  );
2178
2179             //listeners
2180             this.el.clicked.connect( ( ) => {
2181                  
2182                  var cd = DialogConfirm.singleton();
2183                  cd.el.set_transient_for(_this.el);
2184                 cd.el.set_modal(true);
2185             
2186                  var project =   _this.windowstate.left_projects.getSelectedProject();
2187                 if (project == null) {
2188                     print("SKIP - no project\n");
2189                     return;
2190                 }
2191                 
2192                     
2193                  if (Gtk.ResponseType.YES != cd.show("Confirm", 
2194                     "Are you sure you want to delete project %s".printf(project.name))) {
2195                     return;
2196                 }
2197                  
2198             
2199                 // confirm?
2200                 Project.Project.remove(project);
2201                 _this.project = null;
2202                 
2203                 _this.windowstate.left_projects.is_loaded =  false;
2204                 _this.windowstate.left_projects.load();
2205                 _this.windowstate.clutterfiles.clearFiles();
2206             
2207             });
2208         }
2209
2210         // user defined functions
2211     }
2212     public class Xcls_Image65 : Object
2213     {
2214         public Gtk.Image el;
2215         private Xcls_MainWindow  _this;
2216
2217
2218             // my vars (def)
2219
2220         // ctor
2221         public Xcls_Image65(Xcls_MainWindow _owner )
2222         {
2223             _this = _owner;
2224             this.el = new Gtk.Image();
2225
2226             // my vars (dec)
2227
2228             // set gobject values
2229             this.el.icon_name = "user-trash";
2230         }
2231
2232         // user defined functions
2233     }
2234
2235
2236
2237
2238
2239
2240
2241
2242     public class Xcls_Box66 : Object
2243     {
2244         public Gtk.Box el;
2245         private Xcls_MainWindow  _this;
2246
2247
2248             // my vars (def)
2249
2250         // ctor
2251         public Xcls_Box66(Xcls_MainWindow _owner )
2252         {
2253             _this = _owner;
2254             this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
2255
2256             // my vars (dec)
2257
2258             // set gobject values
2259             this.el.homogeneous = false;
2260             var child_0 = new Xcls_Label67( _this );
2261             child_0.ref();
2262             this.el.pack_start (  child_0.el , true,true,0 );
2263             var child_1 = new Xcls_statusbar( _this );
2264             child_1.ref();
2265             this.el.pack_start (  child_1.el , true,true,0 );
2266             var child_2 = new Xcls_search_entry( _this );
2267             child_2.ref();
2268             this.el.pack_start (  child_2.el , false,true,0 );
2269             var child_3 = new Xcls_MenuBar70( _this );
2270             child_3.ref();
2271             this.el.pack_end (  child_3.el , false,true,0 );
2272         }
2273
2274         // user defined functions
2275     }
2276     public class Xcls_Label67 : Object
2277     {
2278         public Gtk.Label el;
2279         private Xcls_MainWindow  _this;
2280
2281
2282             // my vars (def)
2283
2284         // ctor
2285         public Xcls_Label67(Xcls_MainWindow _owner )
2286         {
2287             _this = _owner;
2288             this.el = new Gtk.Label( "   " );
2289
2290             // my vars (dec)
2291
2292             // set gobject values
2293         }
2294
2295         // user defined functions
2296     }
2297
2298     public class Xcls_statusbar : Object
2299     {
2300         public Gtk.ProgressBar el;
2301         private Xcls_MainWindow  _this;
2302
2303
2304             // my vars (def)
2305         public ulong handler_id;
2306
2307         // ctor
2308         public Xcls_statusbar(Xcls_MainWindow _owner )
2309         {
2310             _this = _owner;
2311             _this.statusbar = this;
2312             this.el = new Gtk.ProgressBar();
2313
2314             // my vars (dec)
2315             this.handler_id = -1;
2316
2317             // set gobject values
2318             this.el.show_text = true;
2319
2320             // init method
2321
2322             {
2323                  this.handler_id = Resources.singleton().updateProgress.connect((pos,total) => {
2324                     if (pos < 1) {
2325                         this.el.hide();
2326                         _this.mainpane.el.set_sensitive(true);
2327                         
2328                         return;
2329                     }
2330                      _this.mainpane.el.set_sensitive(false);
2331                      this.el.show();
2332                      this.el.set_fraction ((1.0f * pos) / (1.0f * total));
2333                      this.el.set_text("Fetching Resource : %s/%s".printf(pos.to_string(), total.to_string()));
2334                    
2335                  });
2336             }
2337         }
2338
2339         // user defined functions
2340     }
2341
2342     public class Xcls_search_entry : Object
2343     {
2344         public Gtk.SearchEntry el;
2345         private Xcls_MainWindow  _this;
2346
2347
2348             // my vars (def)
2349
2350         // ctor
2351         public Xcls_search_entry(Xcls_MainWindow _owner )
2352         {
2353             _this = _owner;
2354             _this.search_entry = this;
2355             this.el = new Gtk.SearchEntry();
2356
2357             // my vars (dec)
2358
2359             // set gobject values
2360
2361             // init method
2362
2363             var description =   Pango.FontDescription.from_string("monospace");
2364                 description.set_size(8000);
2365                  this.el.override_font(description);
2366
2367             //listeners
2368             this.el.key_press_event.connect( (event) => {
2369                 
2370                 if (event.keyval == Gdk.Key.Return) {
2371                         this.forwardSearch(false);
2372                     return true;
2373             
2374                 }    
2375                // print(event.key.keyval)
2376                 
2377                 return false;
2378             
2379             });
2380             this.el.changed.connect( () => {
2381                 if (this.el.text == "") {
2382                         _this.search_results.el.hide();
2383                         return;
2384                 }
2385                 var res = 0;
2386                 switch(_this.windowstate.state) {
2387                         case WindowState.State.CODEONLY:
2388                         case WindowState.State.CODE:
2389                                 // search the code being edited..
2390                                 res = _this.windowstate.code_editor.search(this.el.text);
2391                                 
2392                                 break;
2393                         case WindowState.State.PREVIEW:
2394                                 if (_this.windowstate.file.xtype == "Gtk") {
2395                                          res = _this.windowstate.window_gladeview.search(this.el.text);
2396                                 } else { 
2397                                          res = _this.windowstate.window_rooview.search(this.el.text);                   
2398                                 }
2399                         
2400                         
2401                                 break;
2402                 }
2403                 _this.search_results.el.show();
2404                 if (res > 0) {
2405                         _this.search_results.el.label = "%d Matches".printf(res);
2406                 } else {
2407                         _this.search_results.el.label = "No Matches";
2408                 }
2409                         
2410                 
2411                 
2412             });
2413         }
2414
2415         // user defined functions
2416         public void forwardSearch (bool change_focus) {
2417                 switch(_this.windowstate.state) {
2418                         case WindowState.State.CODEONLY:
2419                         case WindowState.State.CODE:
2420                                 // search the code being edited..
2421                                 _this.windowstate.code_editor.forwardSearch(change_focus);
2422                                 
2423                                 break;
2424                         case WindowState.State.PREVIEW:
2425                                 if (_this.windowstate.file.xtype == "Gtk") {
2426                                         _this.windowstate.window_gladeview.forwardSearch(change_focus);
2427                                 } else { 
2428                                          _this.windowstate.window_rooview.forwardSearch(change_focus);
2429                                 }
2430                         
2431                                 break;
2432                 }
2433                 
2434         }
2435     }
2436
2437     public class Xcls_MenuBar70 : Object
2438     {
2439         public Gtk.MenuBar el;
2440         private Xcls_MainWindow  _this;
2441
2442
2443             // my vars (def)
2444
2445         // ctor
2446         public Xcls_MenuBar70(Xcls_MainWindow _owner )
2447         {
2448             _this = _owner;
2449             this.el = new Gtk.MenuBar();
2450
2451             // my vars (dec)
2452
2453             // set gobject values
2454             var child_0 = new Xcls_search_results( _this );
2455             child_0.ref();
2456             this.el.add (  child_0.el  );
2457             var child_1 = new Xcls_statusbar_compilestatus_label( _this );
2458             child_1.ref();
2459             this.el.add (  child_1.el  );
2460             var child_2 = new Xcls_statusbar_errors( _this );
2461             child_2.ref();
2462             this.el.add (  child_2.el  );
2463             var child_3 = new Xcls_statusbar_warnings( _this );
2464             child_3.ref();
2465             this.el.add (  child_3.el  );
2466             var child_4 = new Xcls_statusbar_depricated( _this );
2467             child_4.ref();
2468             this.el.add (  child_4.el  );
2469             var child_5 = new Xcls_statusbar_run( _this );
2470             child_5.ref();
2471             this.el.add (  child_5.el  );
2472         }
2473
2474         // user defined functions
2475     }
2476     public class Xcls_search_results : Object
2477     {
2478         public Gtk.ImageMenuItem el;
2479         private Xcls_MainWindow  _this;
2480
2481
2482             // my vars (def)
2483         public Xcls_ValaCompileErrors popup;
2484
2485         // ctor
2486         public Xcls_search_results(Xcls_MainWindow _owner )
2487         {
2488             _this = _owner;
2489             _this.search_results = this;
2490             this.el = new Gtk.ImageMenuItem();
2491
2492             // my vars (dec)
2493
2494             // set gobject values
2495             this.el.always_show_image = true;
2496             this.el.label = "Matches";
2497             var child_0 = new Xcls_Image72( _this );
2498             child_0.ref();
2499             this.el.set_image (  child_0.el  );
2500
2501             //listeners
2502             this.el.button_press_event.connect( () => {
2503             /*
2504                 if (this.popup == null) {
2505                     this.popup = new Xcls_ValaCompileErrors();
2506                     this.popup.window = _this;
2507                 }
2508                
2509                 
2510                 this.popup.show(this.notices, this.el);
2511                 */
2512                 return true;
2513             });
2514         }
2515
2516         // user defined functions
2517     }
2518     public class Xcls_Image72 : Object
2519     {
2520         public Gtk.Image el;
2521         private Xcls_MainWindow  _this;
2522
2523
2524             // my vars (def)
2525
2526         // ctor
2527         public Xcls_Image72(Xcls_MainWindow _owner )
2528         {
2529             _this = _owner;
2530             this.el = new Gtk.Image();
2531
2532             // my vars (dec)
2533
2534             // set gobject values
2535             this.el.icon_name = "system-search";
2536             this.el.sensitive = false;
2537         }
2538
2539         // user defined functions
2540     }
2541
2542
2543     public class Xcls_statusbar_compilestatus_label : Object
2544     {
2545         public Gtk.MenuItem el;
2546         private Xcls_MainWindow  _this;
2547
2548
2549             // my vars (def)
2550
2551         // ctor
2552         public Xcls_statusbar_compilestatus_label(Xcls_MainWindow _owner )
2553         {
2554             _this = _owner;
2555             _this.statusbar_compilestatus_label = this;
2556             this.el = new Gtk.MenuItem();
2557
2558             // my vars (dec)
2559
2560             // set gobject values
2561             this.el.label = "Compile Status:";
2562         }
2563
2564         // user defined functions
2565     }
2566
2567     public class Xcls_statusbar_errors : Object
2568     {
2569         public Gtk.ImageMenuItem el;
2570         private Xcls_MainWindow  _this;
2571
2572
2573             // my vars (def)
2574         public Xcls_ValaCompileErrors popup;
2575         public Json.Object notices;
2576
2577         // ctor
2578         public Xcls_statusbar_errors(Xcls_MainWindow _owner )
2579         {
2580             _this = _owner;
2581             _this.statusbar_errors = this;
2582             this.el = new Gtk.ImageMenuItem();
2583
2584             // my vars (dec)
2585             this.notices = new Json.Object() ;
2586
2587             // set gobject values
2588             this.el.always_show_image = true;
2589             this.el.label = "Errors";
2590             var child_0 = new Xcls_Image75( _this );
2591             child_0.ref();
2592             this.el.set_image (  child_0.el  );
2593
2594             //listeners
2595             this.el.button_press_event.connect( () => {
2596                 if (this.popup == null) {
2597                     this.popup = new Xcls_ValaCompileErrors();
2598                     this.popup.window = _this;
2599                 }
2600                
2601                 
2602                 this.popup.show(this.notices, this.el);
2603                 return true;
2604             });
2605         }
2606
2607         // user defined functions
2608         public void setNotices (Json.Object nots, int qty) {
2609             this.el.show();
2610             this.el.label = qty.to_string() + " Errors";
2611             this.notices = nots;
2612         
2613         }
2614     }
2615     public class Xcls_Image75 : Object
2616     {
2617         public Gtk.Image el;
2618         private Xcls_MainWindow  _this;
2619
2620
2621             // my vars (def)
2622
2623         // ctor
2624         public Xcls_Image75(Xcls_MainWindow _owner )
2625         {
2626             _this = _owner;
2627             this.el = new Gtk.Image();
2628
2629             // my vars (dec)
2630
2631             // set gobject values
2632             this.el.icon_name = "dialog-error";
2633         }
2634
2635         // user defined functions
2636     }
2637
2638
2639     public class Xcls_statusbar_warnings : Object
2640     {
2641         public Gtk.ImageMenuItem el;
2642         private Xcls_MainWindow  _this;
2643
2644
2645             // my vars (def)
2646         public Xcls_ValaCompileErrors popup;
2647         public Json.Object notices;
2648
2649         // ctor
2650         public Xcls_statusbar_warnings(Xcls_MainWindow _owner )
2651         {
2652             _this = _owner;
2653             _this.statusbar_warnings = this;
2654             this.el = new Gtk.ImageMenuItem();
2655
2656             // my vars (dec)
2657             this.notices = new Json.Object();
2658
2659             // set gobject values
2660             this.el.always_show_image = true;
2661             this.el.label = "Warnings";
2662             var child_0 = new Xcls_Image77( _this );
2663             child_0.ref();
2664             this.el.set_image (  child_0.el  );
2665
2666             //listeners
2667             this.el.button_press_event.connect( () => {
2668                 if (this.popup == null) {
2669                     this.popup = new Xcls_ValaCompileErrors();
2670                     this.popup.window = _this;
2671                 }
2672                 
2673                 this.popup.show(this.notices, this.el);
2674                 return true;
2675             });
2676         }
2677
2678         // user defined functions
2679         public void setNotices (Json.Object nots, int qty) {
2680             this.el.show();
2681             this.el.label = qty.to_string() + " Warnings";
2682             this.notices = nots;
2683         
2684         }
2685     }
2686     public class Xcls_Image77 : Object
2687     {
2688         public Gtk.Image el;
2689         private Xcls_MainWindow  _this;
2690
2691
2692             // my vars (def)
2693
2694         // ctor
2695         public Xcls_Image77(Xcls_MainWindow _owner )
2696         {
2697             _this = _owner;
2698             this.el = new Gtk.Image();
2699
2700             // my vars (dec)
2701
2702             // set gobject values
2703             this.el.icon_name = "dialog-warning";
2704         }
2705
2706         // user defined functions
2707     }
2708
2709
2710     public class Xcls_statusbar_depricated : Object
2711     {
2712         public Gtk.ImageMenuItem el;
2713         private Xcls_MainWindow  _this;
2714
2715
2716             // my vars (def)
2717         public Xcls_ValaCompileErrors popup;
2718         public Json.Object notices;
2719
2720         // ctor
2721         public Xcls_statusbar_depricated(Xcls_MainWindow _owner )
2722         {
2723             _this = _owner;
2724             _this.statusbar_depricated = this;
2725             this.el = new Gtk.ImageMenuItem();
2726
2727             // my vars (dec)
2728             this.notices = new Json.Object();
2729
2730             // set gobject values
2731             this.el.always_show_image = true;
2732             this.el.label = "Depricated";
2733             var child_0 = new Xcls_Image79( _this );
2734             child_0.ref();
2735             this.el.set_image (  child_0.el  );
2736
2737             //listeners
2738             this.el.button_press_event.connect( () => {
2739                 if (this.popup == null) {
2740                     this.popup = new Xcls_ValaCompileErrors();
2741                     this.popup.window = _this;
2742                 }
2743                 
2744                 
2745                 this.popup.show(this.notices, this.el);
2746                 return true;
2747             });
2748         }
2749
2750         // user defined functions
2751         public void setNotices (Json.Object nots, int qty) {
2752             this.el.show();
2753             this.el.label = qty.to_string() + " Depricated";
2754             this.notices = nots;
2755         
2756         }
2757     }
2758     public class Xcls_Image79 : Object
2759     {
2760         public Gtk.Image el;
2761         private Xcls_MainWindow  _this;
2762
2763
2764             // my vars (def)
2765
2766         // ctor
2767         public Xcls_Image79(Xcls_MainWindow _owner )
2768         {
2769             _this = _owner;
2770             this.el = new Gtk.Image();
2771
2772             // my vars (dec)
2773
2774             // set gobject values
2775             this.el.icon_name = "dialog-information";
2776         }
2777
2778         // user defined functions
2779     }
2780
2781
2782     public class Xcls_statusbar_run : Object
2783     {
2784         public Gtk.ImageMenuItem el;
2785         private Xcls_MainWindow  _this;
2786
2787
2788             // my vars (def)
2789         public Xcls_ValaCompileErrors popup;
2790
2791         // ctor
2792         public Xcls_statusbar_run(Xcls_MainWindow _owner )
2793         {
2794             _this = _owner;
2795             _this.statusbar_run = this;
2796             this.el = new Gtk.ImageMenuItem();
2797
2798             // my vars (dec)
2799
2800             // set gobject values
2801             this.el.always_show_image = true;
2802             this.el.label = "Run";
2803             var child_0 = new Xcls_Image81( _this );
2804             child_0.ref();
2805             this.el.set_image (  child_0.el  );
2806
2807             //listeners
2808             this.el.button_press_event.connect( () => {
2809                 if (_this.windowstate.file == null) {
2810                         return true;
2811                 }
2812                 _this.windowstate.valasource.spawnExecute(_this.windowstate.file);
2813                 
2814                 _this.windowstate.compile_results.show(this.el,true);
2815                 
2816                 return true;
2817             });
2818         }
2819
2820         // user defined functions
2821     }
2822     public class Xcls_Image81 : Object
2823     {
2824         public Gtk.Image el;
2825         private Xcls_MainWindow  _this;
2826
2827
2828             // my vars (def)
2829
2830         // ctor
2831         public Xcls_Image81(Xcls_MainWindow _owner )
2832         {
2833             _this = _owner;
2834             this.el = new Gtk.Image();
2835
2836             // my vars (dec)
2837
2838             // set gobject values
2839             this.el.icon_name = "media-playback-start";
2840         }
2841
2842         // user defined functions
2843     }
2844
2845
2846
2847
2848
2849 }