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 );
321 // user defined functions
323 public class Xcls_MenuItem7 : Object
325 public Gtk.MenuItem el;
326 private Xcls_MainWindow _this;
332 public Xcls_MenuItem7(Xcls_MainWindow _owner )
335 this.el = new Gtk.MenuItem();
339 // set gobject values
340 this.el.label = "New Window";
344 this.el.activate.connect( ( ) => {
346 _this.windowstate.showPopoverFiles(_this.windowbtn.el, _this.project, true);
350 // user defined functions
353 public class Xcls_SeparatorMenuItem8 : Object
355 public Gtk.SeparatorMenuItem el;
356 private Xcls_MainWindow _this;
362 public Xcls_SeparatorMenuItem8(Xcls_MainWindow _owner )
365 this.el = new Gtk.SeparatorMenuItem();
369 // 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";
938 this.el.activate.connect( ( ) => {
939 Resources.singleton().fetchStart();
943 // user defined functions
946 public class Xcls_MenuItem28 : Object
948 public Gtk.MenuItem el;
949 private Xcls_MainWindow _this;
955 public Xcls_MenuItem28(Xcls_MainWindow _owner )
958 this.el = new Gtk.MenuItem();
962 // set gobject values
963 this.el.label = "About the Builder";
967 this.el.activate.connect( () => {
968 About.singleton().el.show();
972 // user defined functions
976 public class Xcls_Image29 : Object
979 private Xcls_MainWindow _this;
985 public Xcls_Image29(Xcls_MainWindow _owner )
988 this.el = new Gtk.Image();
992 // set gobject values
993 this.el.icon_name = "dialog-information";
996 // user defined functions
1000 public class Xcls_Label30 : Object
1002 public Gtk.Label el;
1003 private Xcls_MainWindow _this;
1009 public Xcls_Label30(Xcls_MainWindow _owner )
1012 this.el = new Gtk.Label( " " );
1016 // set gobject values
1019 // user defined functions
1022 public class Xcls_statusbar : Object
1024 public Gtk.ProgressBar el;
1025 private Xcls_MainWindow _this;
1029 public ulong handler_id;
1032 public Xcls_statusbar(Xcls_MainWindow _owner )
1035 _this.statusbar = this;
1036 this.el = new Gtk.ProgressBar();
1039 this.handler_id = -1;
1041 // set gobject values
1042 this.el.show_text = true;
1047 this.handler_id = Resources.singleton().updateProgress.connect((pos,total) => {
1050 _this.mainpane.el.set_sensitive(true);
1054 _this.mainpane.el.set_sensitive(false);
1056 this.el.set_fraction ((1.0f * pos) / (1.0f * total));
1057 this.el.set_text("Fetching Resource : %s/%s".printf(pos.to_string(), total.to_string()));
1063 // user defined functions
1066 public class Xcls_MenuBar32 : Object
1068 public Gtk.MenuBar el;
1069 private Xcls_MainWindow _this;
1075 public Xcls_MenuBar32(Xcls_MainWindow _owner )
1078 this.el = new Gtk.MenuBar();
1082 // set gobject values
1083 var child_0 = new Xcls_statusbar_compilestatus_label( _this );
1085 this.el.add ( child_0.el );
1086 var child_1 = new Xcls_statusbar_errors( _this );
1088 this.el.add ( child_1.el );
1089 var child_2 = new Xcls_statusbar_warnings( _this );
1091 this.el.add ( child_2.el );
1092 var child_3 = new Xcls_statusbar_depricated( _this );
1094 this.el.add ( child_3.el );
1095 var child_4 = new Xcls_statusbar_run( _this );
1097 this.el.add ( child_4.el );
1100 // user defined functions
1102 public class Xcls_statusbar_compilestatus_label : Object
1104 public Gtk.MenuItem el;
1105 private Xcls_MainWindow _this;
1111 public Xcls_statusbar_compilestatus_label(Xcls_MainWindow _owner )
1114 _this.statusbar_compilestatus_label = this;
1115 this.el = new Gtk.MenuItem();
1119 // set gobject values
1120 this.el.label = "Compile Status:";
1124 // user defined functions
1127 public class Xcls_statusbar_errors : Object
1129 public Gtk.ImageMenuItem el;
1130 private Xcls_MainWindow _this;
1134 public Xcls_ValaCompileErrors popup;
1135 public Json.Object notices;
1138 public Xcls_statusbar_errors(Xcls_MainWindow _owner )
1141 _this.statusbar_errors = this;
1142 this.el = new Gtk.ImageMenuItem();
1145 this.notices = new Json.Object();
1147 // set gobject values
1148 this.el.always_show_image = true;
1149 this.el.label = "Errors";
1150 var child_0 = new Xcls_Image35( _this );
1152 this.el.set_image ( child_0.el );
1156 this.el.button_press_event.connect( () => {
1157 if (this.popup == null) {
1158 this.popup = new Xcls_ValaCompileErrors();
1159 this.popup.window = _this;
1163 this.popup.show(this.notices, this.el);
1168 // user defined functions
1169 public void setNotices (Json.Object nots, int qty) {
1171 this.el.label = qty.to_string() + " Errors";
1172 this.notices = nots;
1176 public class Xcls_Image35 : Object
1178 public Gtk.Image el;
1179 private Xcls_MainWindow _this;
1185 public Xcls_Image35(Xcls_MainWindow _owner )
1188 this.el = new Gtk.Image();
1192 // set gobject values
1193 this.el.icon_name = "dialog-error";
1196 // user defined functions
1200 public class Xcls_statusbar_warnings : Object
1202 public Gtk.ImageMenuItem el;
1203 private Xcls_MainWindow _this;
1207 public Xcls_ValaCompileErrors popup;
1208 public Json.Object notices;
1211 public Xcls_statusbar_warnings(Xcls_MainWindow _owner )
1214 _this.statusbar_warnings = this;
1215 this.el = new Gtk.ImageMenuItem();
1218 this.notices = new Json.Object();
1220 // set gobject values
1221 this.el.always_show_image = true;
1222 this.el.label = "Warnings";
1223 var child_0 = new Xcls_Image37( _this );
1225 this.el.set_image ( child_0.el );
1229 this.el.button_press_event.connect( () => {
1230 if (this.popup == null) {
1231 this.popup = new Xcls_ValaCompileErrors();
1232 this.popup.window = _this;
1235 this.popup.show(this.notices, this.el);
1240 // user defined functions
1241 public void setNotices (Json.Object nots, int qty) {
1243 this.el.label = qty.to_string() + " Warnings";
1244 this.notices = nots;
1248 public class Xcls_Image37 : Object
1250 public Gtk.Image el;
1251 private Xcls_MainWindow _this;
1257 public Xcls_Image37(Xcls_MainWindow _owner )
1260 this.el = new Gtk.Image();
1264 // set gobject values
1265 this.el.icon_name = "dialog-warning";
1268 // user defined functions
1272 public class Xcls_statusbar_depricated : Object
1274 public Gtk.ImageMenuItem el;
1275 private Xcls_MainWindow _this;
1279 public Xcls_ValaCompileErrors popup;
1280 public Json.Object notices;
1283 public Xcls_statusbar_depricated(Xcls_MainWindow _owner )
1286 _this.statusbar_depricated = this;
1287 this.el = new Gtk.ImageMenuItem();
1290 this.notices = new Json.Object();
1292 // set gobject values
1293 this.el.always_show_image = true;
1294 this.el.label = "Depricated";
1295 var child_0 = new Xcls_Image39( _this );
1297 this.el.set_image ( child_0.el );
1301 this.el.button_press_event.connect( () => {
1302 if (this.popup == null) {
1303 this.popup = new Xcls_ValaCompileErrors();
1304 this.popup.window = _this;
1308 this.popup.show(this.notices, this.el);
1313 // user defined functions
1314 public void setNotices (Json.Object nots, int qty) {
1316 this.el.label = qty.to_string() + " Depricated";
1317 this.notices = nots;
1321 public class Xcls_Image39 : Object
1323 public Gtk.Image el;
1324 private Xcls_MainWindow _this;
1330 public Xcls_Image39(Xcls_MainWindow _owner )
1333 this.el = new Gtk.Image();
1337 // set gobject values
1338 this.el.icon_name = "dialog-information";
1341 // user defined functions
1345 public class Xcls_statusbar_run : Object
1347 public Gtk.ImageMenuItem el;
1348 private Xcls_MainWindow _this;
1352 public Xcls_ValaCompileErrors popup;
1355 public Xcls_statusbar_run(Xcls_MainWindow _owner )
1358 _this.statusbar_run = this;
1359 this.el = new Gtk.ImageMenuItem();
1363 // set gobject values
1364 this.el.always_show_image = true;
1365 this.el.label = "Run";
1366 var child_0 = new Xcls_Image41( _this );
1368 this.el.set_image ( child_0.el );
1372 this.el.button_press_event.connect( () => {
1373 if (_this.windowstate.file == null) {
1376 BuilderApplication.valasource.spawnExecute(_this.windowstate.file);
1378 _this.windowstate.compile_results.show(this.el,true);
1384 // user defined functions
1386 public class Xcls_Image41 : Object
1388 public Gtk.Image el;
1389 private Xcls_MainWindow _this;
1395 public Xcls_Image41(Xcls_MainWindow _owner )
1398 this.el = new Gtk.Image();
1402 // set gobject values
1403 this.el.icon_name = "media-playback-start";
1406 // user defined functions
1411 public class Xcls_statusbar_compile_spinner : Object
1413 public Gtk.Spinner el;
1414 private Xcls_MainWindow _this;
1420 public Xcls_statusbar_compile_spinner(Xcls_MainWindow _owner )
1423 _this.statusbar_compile_spinner = this;
1424 this.el = new Gtk.Spinner();
1428 // set gobject values
1429 this.el.tooltip_text = "Compiling";
1432 // user defined functions
1433 public void start () {
1437 public void stop () {