1 static Xcls_MainWindow _MainWindow;
3 public class Xcls_MainWindow : Object
6 private Xcls_MainWindow _this;
8 public static Xcls_MainWindow singleton()
10 if (_MainWindow == null) {
11 _MainWindow= new Xcls_MainWindow();
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_buttonlayout buttonlayout;
31 public Xcls_backbutton backbutton;
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_compile_spinner statusbar_compile_spinner;
41 public Xcls_statusbar statusbar;
42 public Xcls_search_entry search_entry;
43 public Xcls_search_results search_results;
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;
50 public Project.Project project;
52 public int no_windows;
53 public WindowState windowstate;
56 public Xcls_MainWindow()
59 this.el = new Gtk.Window( Gtk.WindowType.TOPLEVEL );
63 this.title = "Roo Application Builder";
65 this.windowstate = null;
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 );
73 this.el.set_titlebar ( child_0.el );
74 var child_1 = new Xcls_vbox( _this );
76 this.el.add ( child_1.el );
82 this.el.set_icon_name("roobuilder");
83 //} catch (Exception e) {
84 // print("no icon found");
88 this.el.delete_event.connect( ( event) => {
91 this.el.destroy.connect( () => {
92 Xcls_MainWindow.singleton().no_windows--;
94 Resources.singleton().disconnect(_this.statusbar.handler_id);
97 if (Xcls_MainWindow.singleton().no_windows < 1) {
102 this.el.show.connect( ( ) => {
103 // hide the file editing..
105 //this.hideViewEditing();
106 _this.statusbar.el.hide();
107 _this.statusbar_errors.el.hide();
108 _this.statusbar_warnings.el.hide();
109 _this.statusbar_depricated.el.hide();
110 _this.statusbar_compile_spinner.el.hide();
112 Resources.singleton().checkResources();
115 this.el.key_release_event.connect( (event) => {
117 if (this.search_entry.el.is_visible()) {
118 if (event.keyval == Gdk.Key.f && (event.state & Gdk.ModifierType.CONTROL_MASK ) > 0 ) {
119 print("SAVE: ctrl-f pressed");
120 this.search_entry.el.grab_focus();
124 if (event.keyval == Gdk.Key.g && (event.state & Gdk.ModifierType.CONTROL_MASK ) > 0 ) {
125 print("SAVE: ctrl-g pressed");
126 this.search_entry.forwardSearch(true);
132 if (event.keyval == Gdk.Key.n && (event.state & Gdk.ModifierType.CONTROL_MASK ) > 0 ) {
133 print("SAVE: ctrl-n pressed");
134 this.openNewWindow();
138 // print(event.key.keyval)
145 // user defined functions
146 public void openNewWindow () {
147 Xcls_MainWindow.singleton().no_windows++;
148 var w = new Xcls_MainWindow();
153 w.windowstate.switchState(WindowState.State.FILES);
155 public void initChildren () {
156 // this needs putting in a better place..
157 this.windowstate = new WindowState(this);
161 var tl = new Clutter.Timeline(6000);
162 tl.set_repeat_count(-1);
171 public void show () {
176 public void setTitle (string str) {
177 this.headerbar.el.set_title(this.title + " - " + str);
179 public class Xcls_headerbar : Object
181 public Gtk.HeaderBar el;
182 private Xcls_MainWindow _this;
188 public Xcls_headerbar(Xcls_MainWindow _owner )
191 _this.headerbar = this;
192 this.el = new Gtk.HeaderBar();
196 // set gobject values
197 this.el.title = "Application Builder";
198 this.el.show_close_button = true;
199 var child_0 = new Xcls_Box3( _this );
201 this.el.pack_start ( child_0.el );
204 // user defined functions
206 public class Xcls_Box3 : Object
209 private Xcls_MainWindow _this;
215 public Xcls_Box3(Xcls_MainWindow _owner )
218 this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
222 // set gobject values
223 var child_0 = new Xcls_MenuButton4( _this );
225 this.el.add ( child_0.el );
226 var child_1 = new Xcls_openbtn( _this );
228 this.el.add ( child_1.el );
229 var child_2 = new Xcls_openbackbtn( _this );
231 this.el.add ( child_2.el );
234 // user defined functions
236 public class Xcls_MenuButton4 : Object
238 public Gtk.MenuButton el;
239 private Xcls_MainWindow _this;
245 public Xcls_MenuButton4(Xcls_MainWindow _owner )
248 this.el = new Gtk.MenuButton();
252 // set gobject values
253 this.el.use_popover = false;
254 var child_0 = new Xcls_topbarmenu( _this );
256 this.el.set_popup ( child_0.el );
257 var child_1 = new Xcls_Image10( _this );
259 this.el.set_image ( child_1.el );
262 // user defined functions
264 public class Xcls_topbarmenu : Object
267 private Xcls_MainWindow _this;
273 public Xcls_topbarmenu(Xcls_MainWindow _owner )
276 _this.topbarmenu = this;
277 this.el = new Gtk.Menu();
281 // set gobject values
282 var child_0 = new Xcls_MenuItem6( _this );
284 this.el.append ( child_0.el );
285 var child_1 = new Xcls_SeparatorMenuItem7( _this );
287 this.el.append ( child_1.el );
288 var child_2 = new Xcls_MenuItem8( _this );
290 this.el.append ( child_2.el );
291 var child_3 = new Xcls_MenuItem9( _this );
293 this.el.append ( child_3.el );
302 // user defined functions
304 public class Xcls_MenuItem6 : Object
306 public Gtk.MenuItem el;
307 private Xcls_MainWindow _this;
313 public Xcls_MenuItem6(Xcls_MainWindow _owner )
316 this.el = new Gtk.MenuItem();
320 // set gobject values
321 this.el.label = "Open a new Window";
324 this.el.activate.connect( ( ) => {
325 _this.openNewWindow();
329 // user defined functions
332 public class Xcls_SeparatorMenuItem7 : Object
334 public Gtk.SeparatorMenuItem el;
335 private Xcls_MainWindow _this;
341 public Xcls_SeparatorMenuItem7(Xcls_MainWindow _owner )
344 this.el = new Gtk.SeparatorMenuItem();
348 // set gobject values
351 // user defined functions
354 public class Xcls_MenuItem8 : Object
356 public Gtk.MenuItem el;
357 private Xcls_MainWindow _this;
363 public Xcls_MenuItem8(Xcls_MainWindow _owner )
366 this.el = new Gtk.MenuItem();
370 // set gobject values
371 this.el.label = "Download updated Resources";
374 this.el.activate.connect( ( ) => {
375 Resources.singleton().fetchStart();
379 // user defined functions
382 public class Xcls_MenuItem9 : Object
384 public Gtk.MenuItem el;
385 private Xcls_MainWindow _this;
391 public Xcls_MenuItem9(Xcls_MainWindow _owner )
394 this.el = new Gtk.MenuItem();
398 // set gobject values
399 this.el.label = "About the Builder";
402 this.el.activate.connect( () => {
403 About.singleton().el.show();
407 // user defined functions
411 public class Xcls_Image10 : Object
414 private Xcls_MainWindow _this;
420 public Xcls_Image10(Xcls_MainWindow _owner )
423 this.el = new Gtk.Image();
427 // set gobject values
428 this.el.icon_name = "help-about";
431 // user defined functions
435 public class Xcls_openbtn : Object
437 public Gtk.Button el;
438 private Xcls_MainWindow _this;
444 public Xcls_openbtn(Xcls_MainWindow _owner )
447 _this.openbtn = this;
448 this.el = new Gtk.Button();
452 // set gobject values
453 var child_0 = new Xcls_Image12( _this );
455 this.el.set_image ( child_0.el );
458 this.el.clicked.connect( ( ) => {
459 _this.windowstate.switchState(WindowState.State.FILES);
465 // user defined functions
467 public class Xcls_Image12 : Object
470 private Xcls_MainWindow _this;
476 public Xcls_Image12(Xcls_MainWindow _owner )
479 this.el = new Gtk.Image();
483 // set gobject values
484 this.el.icon_name = "document-open";
487 // user defined functions
491 public class Xcls_openbackbtn : Object
493 public Gtk.Button el;
494 private Xcls_MainWindow _this;
500 public Xcls_openbackbtn(Xcls_MainWindow _owner )
503 _this.openbackbtn = this;
504 this.el = new Gtk.Button();
508 // set gobject values
509 this.el.tooltip_text = "Back";
510 this.el.visible = false;
511 var child_0 = new Xcls_Image14( _this );
513 this.el.set_image ( child_0.el );
516 this.el.clicked.connect( ( ) => {
518 _this.windowstate.switchState(WindowState.State.PREVIEW);
524 // user defined functions
526 public class Xcls_Image14 : Object
529 private Xcls_MainWindow _this;
535 public Xcls_Image14(Xcls_MainWindow _owner )
538 this.el = new Gtk.Image();
542 // set gobject values
543 this.el.icon_name = "go-previous";
546 // user defined functions
552 public class Xcls_vbox : Object
555 private Xcls_MainWindow _this;
561 public Xcls_vbox(Xcls_MainWindow _owner )
565 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
569 // set gobject values
570 this.el.homogeneous = false;
571 var child_0 = new Xcls_mainpane( _this );
573 this.el.pack_start ( child_0.el , true,true,0 );
574 var child_1 = new Xcls_statusbar_compile_spinner( _this );
576 this.el.pack_end ( child_1.el , false,true,0 );
579 // user defined functions
581 public class Xcls_mainpane : Object
584 private Xcls_MainWindow _this;
588 public int lastWidth;
591 public Xcls_mainpane(Xcls_MainWindow _owner )
594 _this.mainpane = this;
595 this.el = new Gtk.Paned( Gtk.Orientation.HORIZONTAL );
600 // set gobject values
601 this.el.position = 400;
602 var child_0 = new Xcls_leftpane( _this );
604 this.el.add1 ( child_0.el );
605 var child_1 = new Xcls_Box21( _this );
607 this.el.add2 ( child_1.el );
610 // user defined functions
612 public class Xcls_leftpane : Object
615 private Xcls_MainWindow _this;
621 public Xcls_leftpane(Xcls_MainWindow _owner )
624 _this.leftpane = this;
625 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
629 // set gobject values
630 var child_0 = new Xcls_editpane( _this );
632 this.el.pack_start ( child_0.el , true,true,0 );
635 // user defined functions
637 public class Xcls_editpane : Object
640 private Xcls_MainWindow _this;
646 public Xcls_editpane(Xcls_MainWindow _owner )
649 _this.editpane = this;
650 this.el = new Gtk.Paned( Gtk.Orientation.VERTICAL );
654 // set gobject values
655 var child_0 = new Xcls_tree( _this );
657 this.el.add1 ( child_0.el );
658 var child_1 = new Xcls_props( _this );
660 this.el.add2 ( child_1.el );
663 // user defined functions
665 public class Xcls_tree : Object
668 private Xcls_MainWindow _this;
674 public Xcls_tree(Xcls_MainWindow _owner )
678 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
682 // set gobject values
685 // user defined functions
688 public class Xcls_props : Object
691 private Xcls_MainWindow _this;
697 public Xcls_props(Xcls_MainWindow _owner )
701 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
705 // set gobject values
708 // user defined functions
713 public class Xcls_Box21 : Object
716 private Xcls_MainWindow _this;
722 public Xcls_Box21(Xcls_MainWindow _owner )
725 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
729 // set gobject values
730 var child_0 = new Xcls_clutterembed( _this );
732 this.el.pack_start ( child_0.el , true,true,0 );
735 // user defined functions
737 public class Xcls_clutterembed : Object
739 public GtkClutter.Embed el;
740 private Xcls_MainWindow _this;
746 public Xcls_clutterembed(Xcls_MainWindow _owner )
749 _this.clutterembed = this;
750 this.el = new GtkClutter.Embed();
754 // set gobject values
755 var child_0 = new Xcls_rooview( _this );
757 this.el.get_stage().add_child ( child_0.el );
758 var child_1 = new Xcls_objectview( _this );
760 this.el.get_stage().add_child ( child_1.el );
761 var child_2 = new Xcls_codeeditview( _this );
763 this.el.get_stage().add_child ( child_2.el );
764 var child_3 = new Xcls_addpropsview( _this );
766 this.el.get_stage().add_child ( child_3.el );
767 var child_4 = new Xcls_buttonlayout( _this );
769 this.el.get_stage().add_child ( child_4.el );
773 var stage = this.el.get_stage();
774 stage.set_background_color( Clutter.Color.from_string("#000"));
777 this.el.size_allocate.connect( ( alloc) => {
778 if (_this.windowstate == null) {
781 _this.windowstate.resizeCanvas();
786 // user defined functions
788 public class Xcls_rooview : Object
790 public GtkClutter.Actor el;
791 private Xcls_MainWindow _this;
797 public Xcls_rooview(Xcls_MainWindow _owner )
800 _this.rooview = this;
801 this.el = new GtkClutter.Actor();
805 // set gobject values
812 this.el.add_constraint(
813 new Clutter.AlignConstraint(
814 _this.clutterembed.el.get_stage(),
815 Clutter.AlignAxis.X_AXIS,
820 //this.el.set_position(100,100);
821 this.el.set_pivot_point(1.0f,1.0f);
823 this.el.set_size(_this.clutterembed.el.get_stage().width-50,
824 _this.clutterembed.el.get_stage().height);
829 // user defined functions
832 public class Xcls_objectview : Object
834 public GtkClutter.Actor el;
835 private Xcls_MainWindow _this;
841 public Xcls_objectview(Xcls_MainWindow _owner )
844 _this.objectview = this;
845 this.el = new GtkClutter.Actor();
849 // set gobject values
856 this.el.add_constraint(
857 new Clutter.AlignConstraint(
858 _this.clutterembed.el.get_stage(),
859 Clutter.AlignAxis.X_AXIS,
864 this.el.fixed_x = 50.0f;
865 this.el.fixed_y = 0.0f;
866 //this.el.set_position(100,100);
867 this.el.set_pivot_point(0.0f,0.0f);
868 this.el.set_scale(0.0f,1.0f);
869 this.el.set_size((_this.clutterembed.el.get_stage().width-50)/2,
870 _this.clutterembed.el.get_stage().height);
875 // user defined functions
878 public class Xcls_codeeditview : Object
880 public GtkClutter.Actor el;
881 private Xcls_MainWindow _this;
887 public Xcls_codeeditview(Xcls_MainWindow _owner )
890 _this.codeeditview = this;
891 this.el = new GtkClutter.Actor();
895 // set gobject values
902 this.el.add_constraint(
903 new Clutter.AlignConstraint(
904 _this.clutterembed.el.get_stage(),
905 Clutter.AlignAxis.X_AXIS,
910 this.el.fixed_x = 50.0f;
911 this.el.fixed_y = 0.0f;
912 //this.el.set_position(100,100);
913 this.el.set_pivot_point(0.0f,0.0f);
914 this.el.set_scale(0.0f,1.0f);
915 this.el.set_size((_this.clutterembed.el.get_stage().width-50)/2,
916 _this.clutterembed.el.get_stage().height);
921 // user defined functions
924 public class Xcls_addpropsview : Object
926 public GtkClutter.Actor el;
927 private Xcls_MainWindow _this;
933 public Xcls_addpropsview(Xcls_MainWindow _owner )
936 _this.addpropsview = this;
937 this.el = new GtkClutter.Actor();
941 // set gobject values
948 this.el.add_constraint(
949 new Clutter.AlignConstraint(
950 _this.clutterembed.el.get_stage(),
951 Clutter.AlignAxis.X_AXIS,
956 this.el.fixed_x = 50.0f;
957 this.el.fixed_y = 0.0f;
958 //this.el.set_position(100,100);
959 this.el.set_pivot_point(0.0f,0.0f);
960 this.el.set_scale(0.0f,1.0f);
961 this.el.set_size((_this.clutterembed.el.get_stage().width-50)/2,
962 _this.clutterembed.el.get_stage().height);
967 // user defined functions
970 public class Xcls_buttonlayout : Object
972 public Clutter.Actor el;
973 private Xcls_MainWindow _this;
979 public Xcls_buttonlayout(Xcls_MainWindow _owner )
982 _this.buttonlayout = this;
983 this.el = new Clutter.Actor();
987 // set gobject values
988 var child_0 = new Xcls_BoxLayout28( _this );
990 this.el.layout_manager = child_0.el;
991 var child_1 = new Xcls_backbutton( _this );
993 this.el.add_child ( child_1.el );
994 var child_2 = new Xcls_editfilebutton( _this );
996 this.el.add_child ( child_2.el );
997 var child_3 = new Xcls_projecteditbutton( _this );
999 this.el.add_child ( child_3.el );
1000 var child_4 = new Xcls_objectshowbutton( _this );
1002 this.el.add_child ( child_4.el );
1003 var child_5 = new Xcls_addpropbutton( _this );
1005 this.el.add_child ( child_5.el );
1006 var child_6 = new Xcls_addlistenerbutton( _this );
1008 this.el.add_child ( child_6.el );
1009 var child_7 = new Xcls_addprojectbutton( _this );
1011 this.el.add_child ( child_7.el );
1012 var child_8 = new Xcls_addfilebutton( _this );
1014 this.el.add_child ( child_8.el );
1015 var child_9 = new Xcls_delprojectbutton( _this );
1017 this.el.add_child ( child_9.el );
1023 this.el.add_constraint(
1024 new Clutter.AlignConstraint(
1025 _this.clutterembed.el.get_stage(),
1026 Clutter.AlignAxis.X_AXIS,
1032 //this.el.set_position(100,100);
1033 this.el.set_pivot_point(0.5f,0.5f);
1034 this.el.set_size(50,
1035 _this.clutterembed.el.get_stage().height);
1040 // user defined functions
1042 public class Xcls_BoxLayout28 : Object
1044 public Clutter.BoxLayout el;
1045 private Xcls_MainWindow _this;
1051 public Xcls_BoxLayout28(Xcls_MainWindow _owner )
1054 this.el = new Clutter.BoxLayout();
1058 // set gobject values
1059 this.el.orientation = Clutter.Orientation.VERTICAL;
1062 // user defined functions
1065 public class Xcls_backbutton : Object
1067 public Clutter.Actor el;
1068 private Xcls_MainWindow _this;
1074 public Xcls_backbutton(Xcls_MainWindow _owner )
1077 _this.backbutton = this;
1078 this.el = new Clutter.Actor();
1082 // set gobject values
1083 var child_0 = new Xcls_Actor30( _this );
1085 this.el.add_child ( child_0.el );
1089 this.el.set_size(50,50);
1092 // user defined functions
1094 public class Xcls_Actor30 : Object
1096 public GtkClutter.Actor el;
1097 private Xcls_MainWindow _this;
1103 public Xcls_Actor30(Xcls_MainWindow _owner )
1106 this.el = new GtkClutter.Actor();
1110 // set gobject values
1111 var child_0 = new Xcls_Button31( _this );
1116 ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1119 // user defined functions
1121 public class Xcls_Button31 : Object
1123 public Gtk.Button el;
1124 private Xcls_MainWindow _this;
1130 public Xcls_Button31(Xcls_MainWindow _owner )
1133 this.el = new Gtk.Button();
1137 // set gobject values
1138 this.el.width_request = 50;
1139 this.el.height_request = 50;
1140 this.el.tooltip_text = "Back";
1141 var child_0 = new Xcls_Image32( _this );
1143 this.el.set_image ( child_0.el );
1146 this.el.clicked.connect( ( ) => {
1147 // if (_this.windowstate.state == WindowState.State.FILEPROJECT) {
1149 // _this.windowstate.switchState(WindowState.State.FILES);
1151 _this.windowstate.switchState(WindowState.State.PREVIEW);
1158 // user defined functions
1160 public class Xcls_Image32 : Object
1162 public Gtk.Image el;
1163 private Xcls_MainWindow _this;
1169 public Xcls_Image32(Xcls_MainWindow _owner )
1172 this.el = new Gtk.Image();
1176 // set gobject values
1177 this.el.icon_name = "go-previous";
1180 // user defined functions
1186 public class Xcls_editfilebutton : Object
1188 public Clutter.Actor el;
1189 private Xcls_MainWindow _this;
1195 public Xcls_editfilebutton(Xcls_MainWindow _owner )
1198 _this.editfilebutton = this;
1199 this.el = new Clutter.Actor();
1203 // set gobject values
1204 var child_0 = new Xcls_Actor34( _this );
1206 this.el.add_child ( child_0.el );
1210 this.el.set_size(50.0f,50.0f);
1213 // user defined functions
1215 public class Xcls_Actor34 : Object
1217 public GtkClutter.Actor el;
1218 private Xcls_MainWindow _this;
1224 public Xcls_Actor34(Xcls_MainWindow _owner )
1227 this.el = new GtkClutter.Actor();
1231 // set gobject values
1232 var child_0 = new Xcls_Button35( _this );
1237 ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1240 // user defined functions
1242 public class Xcls_Button35 : Object
1244 public Gtk.Button el;
1245 private Xcls_MainWindow _this;
1251 public Xcls_Button35(Xcls_MainWindow _owner )
1254 this.el = new Gtk.Button();
1258 // set gobject values
1259 this.el.width_request = 50;
1260 this.el.height_request = 50;
1261 this.el.tooltip_text = "File Details";
1262 var child_0 = new Xcls_Image36( _this );
1264 this.el.set_image ( child_0.el );
1267 this.el.clicked.connect( ( ) => {
1269 // create a new file in project..
1270 if (_this.project == null || _this.windowstate.file == null) {
1273 _this.windowstate.file_details.show(
1274 _this.windowstate.file, this.el
1283 // user defined functions
1285 public class Xcls_Image36 : Object
1287 public Gtk.Image el;
1288 private Xcls_MainWindow _this;
1294 public Xcls_Image36(Xcls_MainWindow _owner )
1297 this.el = new Gtk.Image();
1301 // set gobject values
1302 this.el.icon_name = "document-properties";
1305 // user defined functions
1311 public class Xcls_projecteditbutton : Object
1313 public Clutter.Actor el;
1314 private Xcls_MainWindow _this;
1320 public Xcls_projecteditbutton(Xcls_MainWindow _owner )
1323 _this.projecteditbutton = this;
1324 this.el = new Clutter.Actor();
1328 // set gobject values
1329 var child_0 = new Xcls_Actor38( _this );
1331 this.el.add_child ( child_0.el );
1335 this.el.set_size(50,50);
1338 // user defined functions
1340 public class Xcls_Actor38 : Object
1342 public GtkClutter.Actor el;
1343 private Xcls_MainWindow _this;
1349 public Xcls_Actor38(Xcls_MainWindow _owner )
1352 this.el = new GtkClutter.Actor();
1356 // set gobject values
1357 var child_0 = new Xcls_Button39( _this );
1362 ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1365 // user defined functions
1367 public class Xcls_Button39 : Object
1369 public Gtk.Button el;
1370 private Xcls_MainWindow _this;
1376 public Xcls_Button39(Xcls_MainWindow _owner )
1379 this.el = new Gtk.Button();
1383 // set gobject values
1384 this.el.width_request = 50;
1385 this.el.height_request = 50;
1386 this.el.tooltip_text = "Project Details";
1387 var child_0 = new Xcls_Image40( _this );
1389 this.el.set_image ( child_0.el );
1392 this.el.clicked.connect( ( ) => {
1394 _this.windowstate.projectPopoverShow(this.el);
1400 // user defined functions
1402 public class Xcls_Image40 : Object
1404 public Gtk.Image el;
1405 private Xcls_MainWindow _this;
1411 public Xcls_Image40(Xcls_MainWindow _owner )
1414 this.el = new Gtk.Image();
1418 // set gobject values
1419 this.el.icon_name = "emblem-system";
1422 // user defined functions
1428 public class Xcls_objectshowbutton : Object
1430 public Clutter.Actor el;
1431 private Xcls_MainWindow _this;
1437 public Xcls_objectshowbutton(Xcls_MainWindow _owner )
1440 _this.objectshowbutton = this;
1441 this.el = new Clutter.Actor();
1445 // set gobject values
1446 var child_0 = new Xcls_Actor42( _this );
1448 this.el.add_child ( child_0.el );
1452 this.el.set_size(50,50);
1455 this.el.enter_event.connect( ( event) => {
1456 this.el.background_color = Clutter.Color.from_string("#333");
1459 this.el.leave_event.connect( ( event) => {
1460 this.el.background_color = Clutter.Color.from_string("#000");
1465 // user defined functions
1467 public class Xcls_Actor42 : Object
1469 public GtkClutter.Actor el;
1470 private Xcls_MainWindow _this;
1476 public Xcls_Actor42(Xcls_MainWindow _owner )
1479 this.el = new GtkClutter.Actor();
1483 // set gobject values
1484 var child_0 = new Xcls_Button43( _this );
1489 ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1492 // user defined functions
1494 public class Xcls_Button43 : Object
1496 public Gtk.Button el;
1497 private Xcls_MainWindow _this;
1503 public Xcls_Button43(Xcls_MainWindow _owner )
1506 this.el = new Gtk.Button();
1510 // set gobject values
1511 this.el.width_request = 50;
1512 this.el.height_request = 50;
1513 this.el.tooltip_text = "Add Child Element";
1514 var child_0 = new Xcls_Image44( _this );
1516 this.el.set_image ( child_0.el );
1519 this.el.clicked.connect( ( ) => {
1521 _this.windowstate.switchState(WindowState.State.OBJECT);
1527 // user defined functions
1529 public class Xcls_Image44 : Object
1531 public Gtk.Image el;
1532 private Xcls_MainWindow _this;
1538 public Xcls_Image44(Xcls_MainWindow _owner )
1541 this.el = new Gtk.Image();
1545 // set gobject values
1546 this.el.icon_name = "list-add";
1549 // user defined functions
1555 public class Xcls_addpropbutton : Object
1557 public Clutter.Actor el;
1558 private Xcls_MainWindow _this;
1564 public Xcls_addpropbutton(Xcls_MainWindow _owner )
1567 _this.addpropbutton = this;
1568 this.el = new Clutter.Actor();
1572 // set gobject values
1573 var child_0 = new Xcls_Actor46( _this );
1575 this.el.add_child ( child_0.el );
1579 this.el.set_size(50,50);
1582 // user defined functions
1584 public class Xcls_Actor46 : Object
1586 public GtkClutter.Actor el;
1587 private Xcls_MainWindow _this;
1593 public Xcls_Actor46(Xcls_MainWindow _owner )
1596 this.el = new GtkClutter.Actor();
1600 // set gobject values
1601 var child_0 = new Xcls_Button47( _this );
1606 ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1609 // user defined functions
1611 public class Xcls_Button47 : Object
1613 public Gtk.Button el;
1614 private Xcls_MainWindow _this;
1620 public Xcls_Button47(Xcls_MainWindow _owner )
1623 this.el = new Gtk.Button();
1627 // set gobject values
1628 this.el.width_request = 50;
1629 this.el.height_request = 50;
1630 this.el.tooltip_text = "Add Property";
1631 var child_0 = new Xcls_Image48( _this );
1633 this.el.set_image ( child_0.el );
1636 this.el.clicked.connect( ( ) => {
1638 _this.windowstate.switchState(WindowState.State.PROP);
1644 // user defined functions
1646 public class Xcls_Image48 : Object
1648 public Gtk.Image el;
1649 private Xcls_MainWindow _this;
1655 public Xcls_Image48(Xcls_MainWindow _owner )
1658 this.el = new Gtk.Image();
1662 // set gobject values
1663 this.el.icon_name = "format-justify-left";
1666 // user defined functions
1672 public class Xcls_addlistenerbutton : Object
1674 public Clutter.Actor el;
1675 private Xcls_MainWindow _this;
1681 public Xcls_addlistenerbutton(Xcls_MainWindow _owner )
1684 _this.addlistenerbutton = this;
1685 this.el = new Clutter.Actor();
1689 // set gobject values
1690 var child_0 = new Xcls_Actor50( _this );
1692 this.el.add_child ( child_0.el );
1696 this.el.set_size(50,50);
1699 // user defined functions
1701 public class Xcls_Actor50 : Object
1703 public GtkClutter.Actor el;
1704 private Xcls_MainWindow _this;
1710 public Xcls_Actor50(Xcls_MainWindow _owner )
1713 this.el = new GtkClutter.Actor();
1717 // set gobject values
1718 var child_0 = new Xcls_Button51( _this );
1723 ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1726 // user defined functions
1728 public class Xcls_Button51 : Object
1730 public Gtk.Button el;
1731 private Xcls_MainWindow _this;
1737 public Xcls_Button51(Xcls_MainWindow _owner )
1740 this.el = new Gtk.Button();
1744 // set gobject values
1745 this.el.width_request = 50;
1746 this.el.height_request = 50;
1747 this.el.tooltip_text = "Add Event Code";
1748 var child_0 = new Xcls_Image52( _this );
1750 this.el.set_image ( child_0.el );
1753 this.el.clicked.connect( ( ) => {
1755 _this.windowstate.switchState(WindowState.State.LISTENER);
1762 // user defined functions
1764 public class Xcls_Image52 : Object
1766 public Gtk.Image el;
1767 private Xcls_MainWindow _this;
1773 public Xcls_Image52(Xcls_MainWindow _owner )
1776 this.el = new Gtk.Image();
1780 // set gobject values
1781 this.el.icon_name = "appointment-new";
1784 // user defined functions
1790 public class Xcls_addprojectbutton : Object
1792 public Clutter.Actor el;
1793 private Xcls_MainWindow _this;
1799 public Xcls_addprojectbutton(Xcls_MainWindow _owner )
1802 _this.addprojectbutton = this;
1803 this.el = new Clutter.Actor();
1807 // set gobject values
1808 var child_0 = new Xcls_Actor54( _this );
1810 this.el.add_child ( child_0.el );
1814 this.el.set_size(50.0f,50.0f);
1817 // user defined functions
1819 public class Xcls_Actor54 : Object
1821 public GtkClutter.Actor el;
1822 private Xcls_MainWindow _this;
1828 public Xcls_Actor54(Xcls_MainWindow _owner )
1831 this.el = new GtkClutter.Actor();
1835 // set gobject values
1836 var child_0 = new Xcls_Button55( _this );
1841 ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1844 // user defined functions
1846 public class Xcls_Button55 : Object
1848 public Gtk.Button el;
1849 private Xcls_MainWindow _this;
1855 public Xcls_Button55(Xcls_MainWindow _owner )
1858 this.el = new Gtk.Button();
1862 // set gobject values
1863 this.el.width_request = 50;
1864 this.el.height_request = 50;
1865 this.el.tooltip_text = "New\nProj.";
1866 var child_0 = new Xcls_Image56( _this );
1868 this.el.set_image ( child_0.el );
1871 this.el.clicked.connect( ( ) => {
1873 // create a new file in project..
1874 //Xcls_DialogNewComponent.singleton().show(
1875 var pe = EditProject.singleton();
1876 pe.el.set_transient_for(_this.el);
1877 pe.el.set_modal(true);
1886 _this.windowstate.left_projects.is_loaded = false;
1887 _this.windowstate.left_projects.load();
1888 _this.windowstate.left_projects.selectProject(p);
1895 // user defined functions
1897 public class Xcls_Image56 : Object
1899 public Gtk.Image el;
1900 private Xcls_MainWindow _this;
1906 public Xcls_Image56(Xcls_MainWindow _owner )
1909 this.el = new Gtk.Image();
1913 // set gobject values
1914 this.el.icon_name = "folder-new";
1917 // user defined functions
1923 public class Xcls_addfilebutton : Object
1925 public Clutter.Actor el;
1926 private Xcls_MainWindow _this;
1932 public Xcls_addfilebutton(Xcls_MainWindow _owner )
1935 _this.addfilebutton = this;
1936 this.el = new Clutter.Actor();
1940 // set gobject values
1941 var child_0 = new Xcls_Actor58( _this );
1943 this.el.add_child ( child_0.el );
1947 this.el.set_size(50.0f,50.0f);
1950 // user defined functions
1952 public class Xcls_Actor58 : Object
1954 public GtkClutter.Actor el;
1955 private Xcls_MainWindow _this;
1961 public Xcls_Actor58(Xcls_MainWindow _owner )
1964 this.el = new GtkClutter.Actor();
1968 // set gobject values
1969 var child_0 = new Xcls_Button59( _this );
1974 ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1977 // user defined functions
1979 public class Xcls_Button59 : Object
1981 public Gtk.Button el;
1982 private Xcls_MainWindow _this;
1988 public Xcls_Button59(Xcls_MainWindow _owner )
1991 this.el = new Gtk.Button();
1995 // set gobject values
1996 this.el.width_request = 50;
1997 this.el.height_request = 50;
1998 this.el.tooltip_text = "Add File";
1999 var child_0 = new Xcls_Image60( _this );
2001 this.el.set_image ( child_0.el );
2004 this.el.clicked.connect( () => {
2005 // create a new file in project..
2006 print("add file selected\n");
2007 // what's the currently selected project...
2008 var proj = _this.windowstate.left_projects.getSelectedProject();
2011 print("no project selected?\n");
2015 print("creating file?");
2017 var f = JsRender.JsRender.factory(proj.xtype, proj, "");
2018 _this.project = proj;
2019 print("showing popup?");
2020 _this.windowstate.file_details.show(
2029 // user defined functions
2031 public class Xcls_Image60 : Object
2033 public Gtk.Image el;
2034 private Xcls_MainWindow _this;
2040 public Xcls_Image60(Xcls_MainWindow _owner )
2043 this.el = new Gtk.Image();
2047 // set gobject values
2048 this.el.icon_name = "document-new";
2051 // user defined functions
2057 public class Xcls_delprojectbutton : Object
2059 public Clutter.Actor el;
2060 private Xcls_MainWindow _this;
2066 public Xcls_delprojectbutton(Xcls_MainWindow _owner )
2069 _this.delprojectbutton = this;
2070 this.el = new Clutter.Actor();
2074 // set gobject values
2075 var child_0 = new Xcls_Actor62( _this );
2077 this.el.add_child ( child_0.el );
2081 this.el.set_size(50,50);
2084 // user defined functions
2086 public class Xcls_Actor62 : Object
2088 public GtkClutter.Actor el;
2089 private Xcls_MainWindow _this;
2095 public Xcls_Actor62(Xcls_MainWindow _owner )
2098 this.el = new GtkClutter.Actor();
2102 // set gobject values
2103 var child_0 = new Xcls_Button63( _this );
2108 ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
2111 // user defined functions
2113 public class Xcls_Button63 : Object
2115 public Gtk.Button el;
2116 private Xcls_MainWindow _this;
2122 public Xcls_Button63(Xcls_MainWindow _owner )
2125 this.el = new Gtk.Button();
2129 // set gobject values
2130 this.el.width_request = 50;
2131 this.el.height_request = 50;
2132 this.el.tooltip_text = "Delete Project";
2133 var child_0 = new Xcls_Image64( _this );
2135 this.el.set_image ( child_0.el );
2138 this.el.clicked.connect( ( ) => {
2140 var cd = DialogConfirm.singleton();
2141 cd.el.set_transient_for(_this.el);
2142 cd.el.set_modal(true);
2144 var project = _this.windowstate.left_projects.getSelectedProject();
2145 if (project == null) {
2146 print("SKIP - no project\n");
2151 if (Gtk.ResponseType.YES != cd.show("Confirm",
2152 "Are you sure you want to delete project %s".printf(project.name))) {
2158 Project.Project.remove(project);
2159 _this.project = null;
2161 _this.windowstate.left_projects.is_loaded = false;
2162 _this.windowstate.left_projects.load();
2163 _this.windowstate.clutterfiles.clearFiles();
2168 // user defined functions
2170 public class Xcls_Image64 : Object
2172 public Gtk.Image el;
2173 private Xcls_MainWindow _this;
2179 public Xcls_Image64(Xcls_MainWindow _owner )
2182 this.el = new Gtk.Image();
2186 // set gobject values
2187 this.el.icon_name = "user-trash";
2190 // user defined functions
2200 public class Xcls_statusbar_compile_spinner : Object
2203 private Xcls_MainWindow _this;
2209 public Xcls_statusbar_compile_spinner(Xcls_MainWindow _owner )
2212 _this.statusbar_compile_spinner = this;
2213 this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
2217 // set gobject values
2218 this.el.homogeneous = false;
2219 var child_0 = new Xcls_Label66( _this );
2221 this.el.pack_start ( child_0.el , true,true,0 );
2222 var child_1 = new Xcls_statusbar( _this );
2224 this.el.pack_start ( child_1.el , true,true,0 );
2225 var child_2 = new Xcls_search_entry( _this );
2227 this.el.pack_start ( child_2.el , false,true,0 );
2228 var child_3 = new Xcls_MenuBar69( _this );
2230 this.el.pack_end ( child_3.el , false,true,0 );
2231 var child_4 = new Xcls_Spinner80( _this );
2233 this.el.add ( child_4.el );
2236 // user defined functions
2238 public class Xcls_Label66 : Object
2240 public Gtk.Label el;
2241 private Xcls_MainWindow _this;
2247 public Xcls_Label66(Xcls_MainWindow _owner )
2250 this.el = new Gtk.Label( " " );
2254 // set gobject values
2257 // user defined functions
2260 public class Xcls_statusbar : Object
2262 public Gtk.ProgressBar el;
2263 private Xcls_MainWindow _this;
2267 public ulong handler_id;
2270 public Xcls_statusbar(Xcls_MainWindow _owner )
2273 _this.statusbar = this;
2274 this.el = new Gtk.ProgressBar();
2277 this.handler_id = -1;
2279 // set gobject values
2280 this.el.show_text = true;
2285 this.handler_id = Resources.singleton().updateProgress.connect((pos,total) => {
2288 _this.mainpane.el.set_sensitive(true);
2292 _this.mainpane.el.set_sensitive(false);
2294 this.el.set_fraction ((1.0f * pos) / (1.0f * total));
2295 this.el.set_text("Fetching Resource : %s/%s".printf(pos.to_string(), total.to_string()));
2301 // user defined functions
2304 public class Xcls_search_entry : Object
2306 public Gtk.SearchEntry el;
2307 private Xcls_MainWindow _this;
2313 public Xcls_search_entry(Xcls_MainWindow _owner )
2316 _this.search_entry = this;
2317 this.el = new Gtk.SearchEntry();
2321 // set gobject values
2325 var description = Pango.FontDescription.from_string("monospace");
2326 description.set_size(8000);
2327 this.el.override_font(description);
2330 this.el.key_press_event.connect( (event) => {
2332 if (event.keyval == Gdk.Key.Return) {
2333 this.forwardSearch(false);
2337 // print(event.key.keyval)
2342 this.el.changed.connect( () => {
2343 if (this.el.text == "") {
2344 _this.search_results.el.hide();
2348 switch(_this.windowstate.state) {
2349 case WindowState.State.CODEONLY:
2350 case WindowState.State.CODE:
2351 // search the code being edited..
2352 res = _this.windowstate.code_editor.search(this.el.text);
2355 case WindowState.State.PREVIEW:
2356 if (_this.windowstate.file.xtype == "Gtk") {
2357 res = _this.windowstate.window_gladeview.search(this.el.text);
2359 res = _this.windowstate.window_rooview.search(this.el.text);
2365 _this.search_results.el.show();
2367 _this.search_results.el.label = "%d Matches".printf(res);
2369 _this.search_results.el.label = "No Matches";
2377 // user defined functions
2378 public void forwardSearch (bool change_focus) {
2379 switch(_this.windowstate.state) {
2380 case WindowState.State.CODEONLY:
2381 case WindowState.State.CODE:
2382 // search the code being edited..
2383 _this.windowstate.code_editor.forwardSearch(change_focus);
2386 case WindowState.State.PREVIEW:
2387 if (_this.windowstate.file.xtype == "Gtk") {
2388 _this.windowstate.window_gladeview.forwardSearch(change_focus);
2390 _this.windowstate.window_rooview.forwardSearch(change_focus);
2399 public class Xcls_MenuBar69 : Object
2401 public Gtk.MenuBar el;
2402 private Xcls_MainWindow _this;
2408 public Xcls_MenuBar69(Xcls_MainWindow _owner )
2411 this.el = new Gtk.MenuBar();
2415 // set gobject values
2416 var child_0 = new Xcls_search_results( _this );
2418 this.el.add ( child_0.el );
2419 var child_1 = new Xcls_statusbar_errors( _this );
2421 this.el.add ( child_1.el );
2422 var child_2 = new Xcls_statusbar_warnings( _this );
2424 this.el.add ( child_2.el );
2425 var child_3 = new Xcls_statusbar_depricated( _this );
2427 this.el.add ( child_3.el );
2428 var child_4 = new Xcls_statusbar_run( _this );
2430 this.el.add ( child_4.el );
2433 // user defined functions
2435 public class Xcls_search_results : Object
2437 public Gtk.ImageMenuItem el;
2438 private Xcls_MainWindow _this;
2442 public Xcls_ValaCompileErrors popup;
2445 public Xcls_search_results(Xcls_MainWindow _owner )
2448 _this.search_results = this;
2449 this.el = new Gtk.ImageMenuItem();
2453 // set gobject values
2454 this.el.always_show_image = true;
2455 this.el.label = "Matches";
2456 var child_0 = new Xcls_Image71( _this );
2458 this.el.set_image ( child_0.el );
2461 this.el.button_press_event.connect( () => {
2463 if (this.popup == null) {
2464 this.popup = new Xcls_ValaCompileErrors();
2465 this.popup.window = _this;
2469 this.popup.show(this.notices, this.el);
2475 // user defined functions
2477 public class Xcls_Image71 : Object
2479 public Gtk.Image el;
2480 private Xcls_MainWindow _this;
2486 public Xcls_Image71(Xcls_MainWindow _owner )
2489 this.el = new Gtk.Image();
2493 // set gobject values
2494 this.el.icon_name = "system-search";
2495 this.el.sensitive = false;
2498 // user defined functions
2502 public class Xcls_statusbar_errors : Object
2504 public Gtk.ImageMenuItem el;
2505 private Xcls_MainWindow _this;
2509 public Xcls_ValaCompileErrors popup;
2510 public Json.Object notices;
2513 public Xcls_statusbar_errors(Xcls_MainWindow _owner )
2516 _this.statusbar_errors = this;
2517 this.el = new Gtk.ImageMenuItem();
2520 this.notices = new Json.Object() ;
2522 // set gobject values
2523 this.el.always_show_image = true;
2524 this.el.label = "Errors";
2525 var child_0 = new Xcls_Image73( _this );
2527 this.el.set_image ( child_0.el );
2530 this.el.button_press_event.connect( () => {
2531 if (this.popup == null) {
2532 this.popup = new Xcls_ValaCompileErrors();
2533 this.popup.window = _this;
2537 this.popup.show(this.notices, this.el);
2542 // user defined functions
2543 public void setNotices (Json.Object nots, int qty) {
2545 this.el.label = qty.to_string() + " Errors";
2546 this.notices = nots;
2550 public class Xcls_Image73 : Object
2552 public Gtk.Image el;
2553 private Xcls_MainWindow _this;
2559 public Xcls_Image73(Xcls_MainWindow _owner )
2562 this.el = new Gtk.Image();
2566 // set gobject values
2567 this.el.icon_name = "dialog-error";
2570 // user defined functions
2574 public class Xcls_statusbar_warnings : Object
2576 public Gtk.ImageMenuItem el;
2577 private Xcls_MainWindow _this;
2581 public Xcls_ValaCompileErrors popup;
2582 public Json.Object notices;
2585 public Xcls_statusbar_warnings(Xcls_MainWindow _owner )
2588 _this.statusbar_warnings = this;
2589 this.el = new Gtk.ImageMenuItem();
2592 this.notices = new Json.Object();
2594 // set gobject values
2595 this.el.always_show_image = true;
2596 this.el.label = "Warnings";
2597 var child_0 = new Xcls_Image75( _this );
2599 this.el.set_image ( child_0.el );
2602 this.el.button_press_event.connect( () => {
2603 if (this.popup == null) {
2604 this.popup = new Xcls_ValaCompileErrors();
2605 this.popup.window = _this;
2608 this.popup.show(this.notices, this.el);
2613 // user defined functions
2614 public void setNotices (Json.Object nots, int qty) {
2616 this.el.label = qty.to_string() + " Warnings";
2617 this.notices = nots;
2621 public class Xcls_Image75 : Object
2623 public Gtk.Image el;
2624 private Xcls_MainWindow _this;
2630 public Xcls_Image75(Xcls_MainWindow _owner )
2633 this.el = new Gtk.Image();
2637 // set gobject values
2638 this.el.icon_name = "dialog-warning";
2641 // user defined functions
2645 public class Xcls_statusbar_depricated : Object
2647 public Gtk.ImageMenuItem el;
2648 private Xcls_MainWindow _this;
2652 public Xcls_ValaCompileErrors popup;
2653 public Json.Object notices;
2656 public Xcls_statusbar_depricated(Xcls_MainWindow _owner )
2659 _this.statusbar_depricated = this;
2660 this.el = new Gtk.ImageMenuItem();
2663 this.notices = new Json.Object();
2665 // set gobject values
2666 this.el.always_show_image = true;
2667 this.el.label = "Depricated";
2668 var child_0 = new Xcls_Image77( _this );
2670 this.el.set_image ( child_0.el );
2673 this.el.button_press_event.connect( () => {
2674 if (this.popup == null) {
2675 this.popup = new Xcls_ValaCompileErrors();
2676 this.popup.window = _this;
2680 this.popup.show(this.notices, this.el);
2685 // user defined functions
2686 public void setNotices (Json.Object nots, int qty) {
2688 this.el.label = qty.to_string() + " Depricated";
2689 this.notices = nots;
2693 public class Xcls_Image77 : Object
2695 public Gtk.Image el;
2696 private Xcls_MainWindow _this;
2702 public Xcls_Image77(Xcls_MainWindow _owner )
2705 this.el = new Gtk.Image();
2709 // set gobject values
2710 this.el.icon_name = "dialog-information";
2713 // user defined functions
2717 public class Xcls_statusbar_run : Object
2719 public Gtk.ImageMenuItem el;
2720 private Xcls_MainWindow _this;
2724 public Xcls_ValaCompileErrors popup;
2727 public Xcls_statusbar_run(Xcls_MainWindow _owner )
2730 _this.statusbar_run = this;
2731 this.el = new Gtk.ImageMenuItem();
2735 // set gobject values
2736 this.el.always_show_image = true;
2737 this.el.label = "Run";
2738 var child_0 = new Xcls_Image79( _this );
2740 this.el.set_image ( child_0.el );
2743 this.el.button_press_event.connect( () => {
2744 if (_this.windowstate.file == null) {
2747 _this.windowstate.valasource.spawnExecute(_this.windowstate.file);
2749 _this.windowstate.compile_results.show(this.el,true);
2755 // user defined functions
2757 public class Xcls_Image79 : Object
2759 public Gtk.Image el;
2760 private Xcls_MainWindow _this;
2766 public Xcls_Image79(Xcls_MainWindow _owner )
2769 this.el = new Gtk.Image();
2773 // set gobject values
2774 this.el.icon_name = "media-playback-start";
2777 // user defined functions
2782 public class Xcls_Spinner80 : Object
2784 public Gtk.Spinner el;
2785 private Xcls_MainWindow _this;
2791 public Xcls_Spinner80(Xcls_MainWindow _owner )
2794 this.el = new Gtk.Spinner();
2798 // set gobject values
2801 // user defined functions
2802 public void stop () {
2805 public void start () {