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