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_windowbtn windowbtn;
17 public Xcls_open_projects_btn open_projects_btn;
18 public Xcls_vbox vbox;
19 public Xcls_mainpane mainpane;
20 public Xcls_leftpane leftpane;
21 public Xcls_editpane editpane;
22 public Xcls_tree tree;
23 public Xcls_props props;
24 public Xcls_rooviewbox rooviewbox;
25 public Xcls_codeeditviewbox codeeditviewbox;
26 public Xcls_topbarmenu topbarmenu;
27 public Xcls_statusbar statusbar;
28 public Xcls_statusbar_compilestatus_label statusbar_compilestatus_label;
29 public Xcls_statusbar_errors statusbar_errors;
30 public Xcls_statusbar_warnings statusbar_warnings;
31 public Xcls_statusbar_depricated statusbar_depricated;
32 public Xcls_statusbar_run statusbar_run;
33 public Xcls_statusbar_compile_spinner statusbar_compile_spinner;
37 public WindowState windowstate;
38 public Project.Project project;
41 public Xcls_MainWindow()
44 this.el = new Gtk.Window( Gtk.WindowType.TOPLEVEL );
47 this.title = "Roo Application Builder";
51 this.el.border_width = 0;
52 this.el.default_height = 850;
53 this.el.default_width = 1200;
54 var child_0 = new Xcls_headerbar( _this );
56 this.el.set_titlebar ( child_0.el );
57 var child_1 = new Xcls_vbox( _this );
59 this.el.add ( child_1.el );
63 this.el.set_icon_name("roobuilder");
66 this.el.delete_event.connect( ( event) => {
69 this.el.destroy.connect( () => {
72 Resources.singleton().disconnect(_this.statusbar.handler_id);
74 BuilderApplication.removeWindow(this);
76 if (BuilderApplication.windows.size < 1) {
81 this.el.show.connect( ( ) => {
82 // hide the file editing..
84 //this.hideViewEditing();
85 _this.statusbar.el.hide();
86 _this.statusbar_errors.el.hide();
87 _this.statusbar_warnings.el.hide();
88 _this.statusbar_depricated.el.hide();
89 _this.statusbar_compile_spinner.el.hide();
91 Resources.singleton().checkResources();
94 this.el.key_release_event.connect( (event) => {
98 if (event.keyval == Gdk.Key.n && (event.state & Gdk.ModifierType.CONTROL_MASK ) > 0 ) {
99 print("SAVE: ctrl-n pressed");
100 _this.windowstate.showPopoverFiles(_this.windowbtn.el, _this.project, true);
104 // print(event.key.keyval)
111 // user defined functions
112 public void initChildren () {
113 // this needs putting in a better place..
114 this.windowstate = new WindowState(this);
124 public void show () {
129 public void setTitle (string str) {
130 this.headerbar.el.set_title(this.title + " - " + str);
132 public void openNewWindow () {
134 var w = new Xcls_MainWindow();
136 BuilderApplication.addWindow(w);
139 w.windowstate.showPopoverFiles(w.open_projects_btn.el, _this.project, false);
142 public class Xcls_headerbar : Object
144 public Gtk.HeaderBar el;
145 private Xcls_MainWindow _this;
151 public Xcls_headerbar(Xcls_MainWindow _owner )
154 _this.headerbar = this;
155 this.el = new Gtk.HeaderBar();
159 // set gobject values
160 this.el.title = "Application Builder";
161 this.el.show_close_button = true;
162 var child_0 = new Xcls_Box3( _this );
164 this.el.pack_start ( child_0.el );
167 // user defined functions
169 public class Xcls_Box3 : Object
172 private Xcls_MainWindow _this;
178 public Xcls_Box3(Xcls_MainWindow _owner )
181 this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
185 // set gobject values
186 var child_0 = new Xcls_windowbtn( _this );
188 this.el.add( child_0.el );
189 var child_1 = new Xcls_open_projects_btn( _this );
191 this.el.add ( child_1.el );
194 // user defined functions
196 public class Xcls_windowbtn : Object
198 public Gtk.MenuButton el;
199 private Xcls_MainWindow _this;
203 public Gee.ArrayList<Gtk.MenuItem> mitems;
206 public Xcls_windowbtn(Xcls_MainWindow _owner )
209 _this.windowbtn = this;
210 this.el = new Gtk.MenuButton();
214 // set gobject values
215 this.el.margin_end = 4;
216 this.el.halign = Gtk.Align.START;
217 this.el.direction = Gtk.ArrowType.DOWN;
218 this.el.use_popover = false;
219 this.el.always_show_image = true;
220 this.el.label = "Windows";
221 var child_0 = new Xcls_Image5( _this );
223 this.el.set_image ( child_0.el );
224 var child_1 = new Xcls_Menu6( _this );
226 this.el.popup = child_1.el;
231 this.mitems = new Gee.ArrayList<Gtk.MenuItem>();
236 // user defined functions
237 public void updateMenu () {
238 foreach(var m in this.mitems) {
239 this.el.popup.remove(m);
243 foreach(var w in BuilderApplication.windows) {
244 var wid = BuilderApplication.windows.index_of(w);
245 // fixme find a better way to display this.
246 if (w.windowstate == null ||
247 w.windowstate.file == null ||
248 _this.windowstate == null ||
249 _this.windowstate.file == null
254 if (w.windowstate.file.path == _this.windowstate.file.path) {
258 GLib.debug("add menuitem %s", w.windowstate.file.path);
259 var m = new Gtk.MenuItem.with_label(w.windowstate.file.path);
260 m.activate.connect(() => {
261 BuilderApplication.windows.get(wid).el.present();
263 this.el.popup.append(m);
269 public class Xcls_Image5 : Object
272 private Xcls_MainWindow _this;
278 public Xcls_Image5(Xcls_MainWindow _owner )
281 this.el = new Gtk.Image();
285 // set gobject values
286 this.el.icon_name = "window-new";
289 // user defined functions
292 public class Xcls_Menu6 : Object
295 private Xcls_MainWindow _this;
301 public Xcls_Menu6(Xcls_MainWindow _owner )
304 this.el = new Gtk.Menu();
308 // set gobject values
309 var child_0 = new Xcls_MenuItem7( _this );
311 this.el.append ( child_0.el );
312 var child_1 = new Xcls_SeparatorMenuItem8( _this );
314 this.el.append ( child_1.el );
323 // user defined functions
325 public class Xcls_MenuItem7 : Object
327 public Gtk.MenuItem el;
328 private Xcls_MainWindow _this;
334 public Xcls_MenuItem7(Xcls_MainWindow _owner )
337 this.el = new Gtk.MenuItem();
341 // set gobject values
342 this.el.label = "New Window";
345 this.el.activate.connect( ( ) => {
347 _this.windowstate.showPopoverFiles(_this.windowbtn.el, _this.project, true);
351 // user defined functions
354 public class Xcls_SeparatorMenuItem8 : Object
356 public Gtk.SeparatorMenuItem el;
357 private Xcls_MainWindow _this;
363 public Xcls_SeparatorMenuItem8(Xcls_MainWindow _owner )
366 this.el = new Gtk.SeparatorMenuItem();
370 // set gobject values
373 // user defined functions
378 public class Xcls_open_projects_btn : Object
380 public Gtk.Button el;
381 private Xcls_MainWindow _this;
387 public Xcls_open_projects_btn(Xcls_MainWindow _owner )
390 _this.open_projects_btn = this;
391 this.el = new Gtk.Button();
395 // set gobject values
396 this.el.always_show_image = true;
397 this.el.label = "Files / Projects";
398 var child_0 = new Xcls_Image10( _this );
400 this.el.set_image ( child_0.el );
403 this.el.clicked.connect( ( ) => {
404 _this.windowstate.showPopoverFiles(this.el, _this.project, false);
409 // 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 = "system-file-manager";
431 // user defined functions
437 public class Xcls_vbox : Object
440 private Xcls_MainWindow _this;
446 public Xcls_vbox(Xcls_MainWindow _owner )
450 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
454 // set gobject values
455 this.el.homogeneous = false;
456 var child_0 = new Xcls_mainpane( _this );
458 this.el.pack_start ( child_0.el , true,true,0 );
459 var child_1 = new Xcls_Box20( _this );
461 this.el.pack_end ( child_1.el , false,true,0 );
464 // user defined functions
466 public class Xcls_mainpane : Object
469 private Xcls_MainWindow _this;
473 public int lastWidth;
476 public Xcls_mainpane(Xcls_MainWindow _owner )
479 _this.mainpane = this;
480 this.el = new Gtk.Paned( Gtk.Orientation.HORIZONTAL );
485 // set gobject values
486 this.el.position = 400;
487 var child_0 = new Xcls_leftpane( _this );
489 this.el.add ( child_0.el );
490 var child_1 = new Xcls_Box17( _this );
492 this.el.add2 ( child_1.el );
495 // user defined functions
497 public class Xcls_leftpane : Object
500 private Xcls_MainWindow _this;
506 public Xcls_leftpane(Xcls_MainWindow _owner )
509 _this.leftpane = this;
510 this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
514 // set gobject values
515 var child_0 = new Xcls_editpane( _this );
517 this.el.pack_start ( child_0.el , true,true,0 );
520 // user defined functions
522 public class Xcls_editpane : Object
525 private Xcls_MainWindow _this;
531 public Xcls_editpane(Xcls_MainWindow _owner )
534 _this.editpane = this;
535 this.el = new Gtk.Paned( Gtk.Orientation.HORIZONTAL );
539 // set gobject values
540 var child_0 = new Xcls_tree( _this );
542 this.el.add1 ( child_0.el );
543 var child_1 = new Xcls_props( _this );
545 this.el.add2 ( child_1.el );
548 this.el.accept_position.connect( () => {
549 GLib.debug("Accept postion");
552 this.el.move_handle.connect( (scroll) => {
553 GLib.debug("Move handle");
558 // user defined functions
560 public class Xcls_tree : Object
563 private Xcls_MainWindow _this;
569 public Xcls_tree(Xcls_MainWindow _owner )
573 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
577 // set gobject values
580 // user defined functions
583 public class Xcls_props : Object
586 private Xcls_MainWindow _this;
592 public Xcls_props(Xcls_MainWindow _owner )
596 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
600 // set gobject values
603 // user defined functions
608 public class Xcls_Box17 : Object
611 private Xcls_MainWindow _this;
617 public Xcls_Box17(Xcls_MainWindow _owner )
620 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
624 // set gobject values
625 var child_0 = new Xcls_rooviewbox( _this );
627 this.el.add ( child_0.el );
628 var child_1 = new Xcls_codeeditviewbox( _this );
630 this.el.add ( child_1.el );
633 // user defined functions
635 public class Xcls_rooviewbox : Object
638 private Xcls_MainWindow _this;
644 public Xcls_rooviewbox(Xcls_MainWindow _owner )
647 _this.rooviewbox = this;
648 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
652 // set gobject values
653 this.el.vexpand = true;
656 // user defined functions
659 public class Xcls_codeeditviewbox : Object
662 private Xcls_MainWindow _this;
668 public Xcls_codeeditviewbox(Xcls_MainWindow _owner )
671 _this.codeeditviewbox = this;
672 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
676 // set gobject values
677 this.el.vexpand = true;
680 // user defined functions
685 public class Xcls_Box20 : Object
688 private Xcls_MainWindow _this;
694 public Xcls_Box20(Xcls_MainWindow _owner )
697 this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
701 // set gobject values
702 this.el.homogeneous = false;
703 var child_0 = new Xcls_Button21( _this );
705 this.el.add ( child_0.el );
706 var child_1 = new Xcls_Button23( _this );
708 this.el.add ( child_1.el );
709 var child_2 = new Xcls_MenuButton25( _this );
711 this.el.add ( child_2.el );
712 var child_3 = new Xcls_Label30( _this );
714 this.el.pack_start ( child_3.el , true,true,0 );
715 var child_4 = new Xcls_statusbar( _this );
717 this.el.pack_start ( child_4.el , true,true,0 );
718 var child_5 = new Xcls_MenuBar32( _this );
720 this.el.add ( child_5.el );
721 var child_6 = new Xcls_statusbar_compile_spinner( _this );
723 this.el.add ( child_6.el );
726 // user defined functions
728 public class Xcls_Button21 : Object
730 public Gtk.Button el;
731 private Xcls_MainWindow _this;
737 public Xcls_Button21(Xcls_MainWindow _owner )
740 this.el = new Gtk.Button();
744 // set gobject values
745 this.el.always_show_image = true;
746 this.el.tooltip_text = "Project Details";
747 this.el.label = "Edit Project Settings";
748 var child_0 = new Xcls_Image22( _this );
750 this.el.set_image ( child_0.el );
753 this.el.clicked.connect( ( ) => {
755 _this.windowstate.projectPopoverShow(this.el, _this.project);
761 // user defined functions
763 public class Xcls_Image22 : Object
766 private Xcls_MainWindow _this;
772 public Xcls_Image22(Xcls_MainWindow _owner )
775 this.el = new Gtk.Image();
779 // set gobject values
780 this.el.icon_name = "emblem-system";
783 // user defined functions
787 public class Xcls_Button23 : Object
789 public Gtk.Button el;
790 private Xcls_MainWindow _this;
796 public Xcls_Button23(Xcls_MainWindow _owner )
799 this.el = new Gtk.Button();
803 // set gobject values
804 this.el.always_show_image = true;
805 this.el.tooltip_text = "File Details";
806 this.el.label = "Edit File Properties";
807 var child_0 = new Xcls_Image24( _this );
809 this.el.set_image ( child_0.el );
812 this.el.clicked.connect( ( ) => {
814 // create a new file in project..
815 if (_this.project == null || _this.windowstate.file == null) {
818 _this.windowstate.file_details.show(
819 _this.windowstate.file, this.el, false
828 // user defined functions
830 public class Xcls_Image24 : Object
833 private Xcls_MainWindow _this;
839 public Xcls_Image24(Xcls_MainWindow _owner )
842 this.el = new Gtk.Image();
846 // set gobject values
847 this.el.icon_name = "document-properties";
850 // user defined functions
854 public class Xcls_MenuButton25 : Object
856 public Gtk.MenuButton el;
857 private Xcls_MainWindow _this;
863 public Xcls_MenuButton25(Xcls_MainWindow _owner )
866 this.el = new Gtk.MenuButton();
870 // set gobject values
871 this.el.always_show_image = true;
872 this.el.label = "About";
873 var child_0 = new Xcls_topbarmenu( _this );
875 this.el.set_popup ( child_0.el );
876 var child_1 = new Xcls_Image29( _this );
878 this.el.set_image ( child_1.el );
881 // user defined functions
883 public class Xcls_topbarmenu : Object
886 private Xcls_MainWindow _this;
892 public Xcls_topbarmenu(Xcls_MainWindow _owner )
895 _this.topbarmenu = this;
896 this.el = new Gtk.Menu();
900 // set gobject values
901 var child_0 = new Xcls_MenuItem27( _this );
903 this.el.append ( child_0.el );
904 var child_1 = new Xcls_MenuItem28( _this );
906 this.el.append ( child_1.el );
915 // user defined functions
917 public class Xcls_MenuItem27 : Object
919 public Gtk.MenuItem el;
920 private Xcls_MainWindow _this;
926 public Xcls_MenuItem27(Xcls_MainWindow _owner )
929 this.el = new Gtk.MenuItem();
933 // set gobject values
934 this.el.label = "Download updated Resources";
937 this.el.activate.connect( ( ) => {
938 Resources.singleton().fetchStart();
942 // user defined functions
945 public class Xcls_MenuItem28 : Object
947 public Gtk.MenuItem el;
948 private Xcls_MainWindow _this;
954 public Xcls_MenuItem28(Xcls_MainWindow _owner )
957 this.el = new Gtk.MenuItem();
961 // set gobject values
962 this.el.label = "About the Builder";
965 this.el.activate.connect( () => {
966 About.singleton().el.show();
970 // user defined functions
974 public class Xcls_Image29 : Object
977 private Xcls_MainWindow _this;
983 public Xcls_Image29(Xcls_MainWindow _owner )
986 this.el = new Gtk.Image();
990 // set gobject values
991 this.el.icon_name = "dialog-information";
994 // user defined functions
998 public class Xcls_Label30 : Object
1000 public Gtk.Label el;
1001 private Xcls_MainWindow _this;
1007 public Xcls_Label30(Xcls_MainWindow _owner )
1010 this.el = new Gtk.Label( " " );
1014 // set gobject values
1017 // user defined functions
1020 public class Xcls_statusbar : Object
1022 public Gtk.ProgressBar el;
1023 private Xcls_MainWindow _this;
1027 public ulong handler_id;
1030 public Xcls_statusbar(Xcls_MainWindow _owner )
1033 _this.statusbar = this;
1034 this.el = new Gtk.ProgressBar();
1037 this.handler_id = -1;
1039 // set gobject values
1040 this.el.show_text = true;
1045 this.handler_id = Resources.singleton().updateProgress.connect((pos,total) => {
1048 _this.mainpane.el.set_sensitive(true);
1052 _this.mainpane.el.set_sensitive(false);
1054 this.el.set_fraction ((1.0f * pos) / (1.0f * total));
1055 this.el.set_text("Fetching Resource : %s/%s".printf(pos.to_string(), total.to_string()));
1061 // user defined functions
1064 public class Xcls_MenuBar32 : Object
1066 public Gtk.MenuBar el;
1067 private Xcls_MainWindow _this;
1073 public Xcls_MenuBar32(Xcls_MainWindow _owner )
1076 this.el = new Gtk.MenuBar();
1080 // set gobject values
1081 var child_0 = new Xcls_statusbar_compilestatus_label( _this );
1083 this.el.add ( child_0.el );
1084 var child_1 = new Xcls_statusbar_errors( _this );
1086 this.el.add ( child_1.el );
1087 var child_2 = new Xcls_statusbar_warnings( _this );
1089 this.el.add ( child_2.el );
1090 var child_3 = new Xcls_statusbar_depricated( _this );
1092 this.el.add ( child_3.el );
1093 var child_4 = new Xcls_statusbar_run( _this );
1095 this.el.add ( child_4.el );
1098 // user defined functions
1100 public class Xcls_statusbar_compilestatus_label : Object
1102 public Gtk.MenuItem el;
1103 private Xcls_MainWindow _this;
1109 public Xcls_statusbar_compilestatus_label(Xcls_MainWindow _owner )
1112 _this.statusbar_compilestatus_label = this;
1113 this.el = new Gtk.MenuItem();
1117 // set gobject values
1118 this.el.label = "Compile Status:";
1121 // user defined functions
1124 public class Xcls_statusbar_errors : Object
1126 public Gtk.ImageMenuItem el;
1127 private Xcls_MainWindow _this;
1131 public Xcls_ValaCompileErrors popup;
1132 public Json.Object notices;
1135 public Xcls_statusbar_errors(Xcls_MainWindow _owner )
1138 _this.statusbar_errors = this;
1139 this.el = new Gtk.ImageMenuItem();
1142 this.notices = new Json.Object();
1144 // set gobject values
1145 this.el.always_show_image = true;
1146 this.el.label = "Errors";
1147 var child_0 = new Xcls_Image35( _this );
1149 this.el.set_image ( child_0.el );
1152 this.el.button_press_event.connect( () => {
1153 if (this.popup == null) {
1154 this.popup = new Xcls_ValaCompileErrors();
1155 this.popup.window = _this;
1159 this.popup.show(this.notices, this.el);
1164 // user defined functions
1165 public void setNotices (Json.Object nots, int qty) {
1167 this.el.label = qty.to_string() + " Errors";
1168 this.notices = nots;
1172 public class Xcls_Image35 : Object
1174 public Gtk.Image el;
1175 private Xcls_MainWindow _this;
1181 public Xcls_Image35(Xcls_MainWindow _owner )
1184 this.el = new Gtk.Image();
1188 // set gobject values
1189 this.el.icon_name = "dialog-error";
1192 // user defined functions
1196 public class Xcls_statusbar_warnings : Object
1198 public Gtk.ImageMenuItem el;
1199 private Xcls_MainWindow _this;
1203 public Xcls_ValaCompileErrors popup;
1204 public Json.Object notices;
1207 public Xcls_statusbar_warnings(Xcls_MainWindow _owner )
1210 _this.statusbar_warnings = this;
1211 this.el = new Gtk.ImageMenuItem();
1214 this.notices = new Json.Object();
1216 // set gobject values
1217 this.el.always_show_image = true;
1218 this.el.label = "Warnings";
1219 var child_0 = new Xcls_Image37( _this );
1221 this.el.set_image ( child_0.el );
1224 this.el.button_press_event.connect( () => {
1225 if (this.popup == null) {
1226 this.popup = new Xcls_ValaCompileErrors();
1227 this.popup.window = _this;
1230 this.popup.show(this.notices, this.el);
1235 // user defined functions
1236 public void setNotices (Json.Object nots, int qty) {
1238 this.el.label = qty.to_string() + " Warnings";
1239 this.notices = nots;
1243 public class Xcls_Image37 : Object
1245 public Gtk.Image el;
1246 private Xcls_MainWindow _this;
1252 public Xcls_Image37(Xcls_MainWindow _owner )
1255 this.el = new Gtk.Image();
1259 // set gobject values
1260 this.el.icon_name = "dialog-warning";
1263 // user defined functions
1267 public class Xcls_statusbar_depricated : Object
1269 public Gtk.ImageMenuItem el;
1270 private Xcls_MainWindow _this;
1274 public Xcls_ValaCompileErrors popup;
1275 public Json.Object notices;
1278 public Xcls_statusbar_depricated(Xcls_MainWindow _owner )
1281 _this.statusbar_depricated = this;
1282 this.el = new Gtk.ImageMenuItem();
1285 this.notices = new Json.Object();
1287 // set gobject values
1288 this.el.always_show_image = true;
1289 this.el.label = "Depricated";
1290 var child_0 = new Xcls_Image39( _this );
1292 this.el.set_image ( child_0.el );
1295 this.el.button_press_event.connect( () => {
1296 if (this.popup == null) {
1297 this.popup = new Xcls_ValaCompileErrors();
1298 this.popup.window = _this;
1302 this.popup.show(this.notices, this.el);
1307 // user defined functions
1308 public void setNotices (Json.Object nots, int qty) {
1310 this.el.label = qty.to_string() + " Depricated";
1311 this.notices = nots;
1315 public class Xcls_Image39 : Object
1317 public Gtk.Image el;
1318 private Xcls_MainWindow _this;
1324 public Xcls_Image39(Xcls_MainWindow _owner )
1327 this.el = new Gtk.Image();
1331 // set gobject values
1332 this.el.icon_name = "dialog-information";
1335 // user defined functions
1339 public class Xcls_statusbar_run : Object
1341 public Gtk.ImageMenuItem el;
1342 private Xcls_MainWindow _this;
1346 public Xcls_ValaCompileErrors popup;
1349 public Xcls_statusbar_run(Xcls_MainWindow _owner )
1352 _this.statusbar_run = this;
1353 this.el = new Gtk.ImageMenuItem();
1357 // set gobject values
1358 this.el.always_show_image = true;
1359 this.el.label = "Run";
1360 var child_0 = new Xcls_Image41( _this );
1362 this.el.set_image ( child_0.el );
1365 this.el.button_press_event.connect( () => {
1366 if (_this.windowstate.file == null) {
1369 BuilderApplication.valasource.spawnExecute(_this.windowstate.file);
1371 _this.windowstate.compile_results.show(this.el,true);
1377 // user defined functions
1379 public class Xcls_Image41 : Object
1381 public Gtk.Image el;
1382 private Xcls_MainWindow _this;
1388 public Xcls_Image41(Xcls_MainWindow _owner )
1391 this.el = new Gtk.Image();
1395 // set gobject values
1396 this.el.icon_name = "media-playback-start";
1399 // user defined functions
1404 public class Xcls_statusbar_compile_spinner : Object
1406 public Gtk.Spinner el;
1407 private Xcls_MainWindow _this;
1413 public Xcls_statusbar_compile_spinner(Xcls_MainWindow _owner )
1416 _this.statusbar_compile_spinner = this;
1417 this.el = new Gtk.Spinner();
1421 // set gobject values
1422 this.el.tooltip_text = "Compiling";
1425 // user defined functions
1426 public void start () {
1430 public void stop () {