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