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