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";
346 this.el.activate.connect( ( ) => {
348 _this.windowstate.showPopoverFiles(_this.windowbtn.el, _this.project, true);
352 // user defined functions
355 public class Xcls_SeparatorMenuItem8 : Object
357 public Gtk.SeparatorMenuItem el;
358 private Xcls_MainWindow _this;
364 public Xcls_SeparatorMenuItem8(Xcls_MainWindow _owner )
367 this.el = new Gtk.SeparatorMenuItem();
371 // set gobject values
375 // user defined functions
380 public class Xcls_open_projects_btn : Object
382 public Gtk.Button el;
383 private Xcls_MainWindow _this;
389 public Xcls_open_projects_btn(Xcls_MainWindow _owner )
392 _this.open_projects_btn = this;
393 this.el = new Gtk.Button();
397 // set gobject values
398 this.el.always_show_image = true;
399 this.el.label = "Files / Projects";
400 var child_0 = new Xcls_Image10( _this );
402 this.el.set_image ( child_0.el );
405 this.el.clicked.connect( ( ) => {
406 _this.windowstate.showPopoverFiles(this.el, _this.project, false);
411 // user defined functions
413 public class Xcls_Image10 : Object
416 private Xcls_MainWindow _this;
422 public Xcls_Image10(Xcls_MainWindow _owner )
425 this.el = new Gtk.Image();
429 // set gobject values
430 this.el.icon_name = "system-file-manager";
433 // user defined functions
439 public class Xcls_vbox : Object
442 private Xcls_MainWindow _this;
448 public Xcls_vbox(Xcls_MainWindow _owner )
452 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
456 // set gobject values
457 this.el.homogeneous = false;
458 var child_0 = new Xcls_mainpane( _this );
460 this.el.pack_start ( child_0.el , true,true,0 );
461 var child_1 = new Xcls_Box20( _this );
463 this.el.pack_end ( child_1.el , false,true,0 );
466 // user defined functions
468 public class Xcls_mainpane : Object
471 private Xcls_MainWindow _this;
475 public int lastWidth;
478 public Xcls_mainpane(Xcls_MainWindow _owner )
481 _this.mainpane = this;
482 this.el = new Gtk.Paned( Gtk.Orientation.HORIZONTAL );
487 // set gobject values
488 this.el.position = 400;
489 var child_0 = new Xcls_leftpane( _this );
491 this.el.add ( child_0.el );
492 var child_1 = new Xcls_Box17( _this );
494 this.el.add2 ( child_1.el );
497 // user defined functions
499 public class Xcls_leftpane : Object
502 private Xcls_MainWindow _this;
508 public Xcls_leftpane(Xcls_MainWindow _owner )
511 _this.leftpane = this;
512 this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
516 // set gobject values
517 var child_0 = new Xcls_editpane( _this );
519 this.el.pack_start ( child_0.el , true,true,0 );
522 // user defined functions
524 public class Xcls_editpane : Object
527 private Xcls_MainWindow _this;
533 public Xcls_editpane(Xcls_MainWindow _owner )
536 _this.editpane = this;
537 this.el = new Gtk.Paned( Gtk.Orientation.HORIZONTAL );
541 // set gobject values
542 var child_0 = new Xcls_tree( _this );
544 this.el.add1 ( child_0.el );
545 var child_1 = new Xcls_props( _this );
547 this.el.add2 ( child_1.el );
550 this.el.accept_position.connect( () => {
551 GLib.debug("Accept postion");
554 this.el.move_handle.connect( (scroll) => {
555 GLib.debug("Move handle");
560 // user defined functions
562 public class Xcls_tree : Object
565 private Xcls_MainWindow _this;
571 public Xcls_tree(Xcls_MainWindow _owner )
575 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
579 // set gobject values
582 // user defined functions
585 public class Xcls_props : Object
588 private Xcls_MainWindow _this;
594 public Xcls_props(Xcls_MainWindow _owner )
598 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
602 // set gobject values
605 // user defined functions
610 public class Xcls_Box17 : Object
613 private Xcls_MainWindow _this;
619 public Xcls_Box17(Xcls_MainWindow _owner )
622 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
626 // set gobject values
627 var child_0 = new Xcls_rooviewbox( _this );
629 this.el.add ( child_0.el );
630 var child_1 = new Xcls_codeeditviewbox( _this );
632 this.el.add ( child_1.el );
635 // user defined functions
637 public class Xcls_rooviewbox : Object
640 private Xcls_MainWindow _this;
646 public Xcls_rooviewbox(Xcls_MainWindow _owner )
649 _this.rooviewbox = this;
650 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
654 // set gobject values
655 this.el.vexpand = true;
658 // user defined functions
661 public class Xcls_codeeditviewbox : Object
664 private Xcls_MainWindow _this;
670 public Xcls_codeeditviewbox(Xcls_MainWindow _owner )
673 _this.codeeditviewbox = this;
674 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
678 // set gobject values
679 this.el.vexpand = true;
682 // user defined functions
687 public class Xcls_Box20 : Object
690 private Xcls_MainWindow _this;
696 public Xcls_Box20(Xcls_MainWindow _owner )
699 this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
703 // set gobject values
704 this.el.homogeneous = false;
705 var child_0 = new Xcls_Button21( _this );
707 this.el.add ( child_0.el );
708 var child_1 = new Xcls_Button23( _this );
710 this.el.add ( child_1.el );
711 var child_2 = new Xcls_MenuButton25( _this );
713 this.el.add ( child_2.el );
714 var child_3 = new Xcls_Label30( _this );
716 this.el.pack_start ( child_3.el , true,true,0 );
717 var child_4 = new Xcls_statusbar( _this );
719 this.el.pack_start ( child_4.el , true,true,0 );
720 var child_5 = new Xcls_MenuBar32( _this );
722 this.el.add ( child_5.el );
723 var child_6 = new Xcls_statusbar_compile_spinner( _this );
725 this.el.add ( child_6.el );
728 // user defined functions
730 public class Xcls_Button21 : Object
732 public Gtk.Button el;
733 private Xcls_MainWindow _this;
739 public Xcls_Button21(Xcls_MainWindow _owner )
742 this.el = new Gtk.Button();
746 // set gobject values
747 this.el.always_show_image = true;
748 this.el.tooltip_text = "Project Details";
749 this.el.label = "Edit Project Settings";
750 var child_0 = new Xcls_Image22( _this );
752 this.el.set_image ( child_0.el );
755 this.el.clicked.connect( ( ) => {
757 _this.windowstate.projectPopoverShow(this.el, _this.project);
763 // user defined functions
765 public class Xcls_Image22 : Object
768 private Xcls_MainWindow _this;
774 public Xcls_Image22(Xcls_MainWindow _owner )
777 this.el = new Gtk.Image();
781 // set gobject values
782 this.el.icon_name = "emblem-system";
785 // user defined functions
789 public class Xcls_Button23 : Object
791 public Gtk.Button el;
792 private Xcls_MainWindow _this;
798 public Xcls_Button23(Xcls_MainWindow _owner )
801 this.el = new Gtk.Button();
805 // set gobject values
806 this.el.always_show_image = true;
807 this.el.tooltip_text = "File Details";
808 this.el.label = "Edit File Properties";
809 var child_0 = new Xcls_Image24( _this );
811 this.el.set_image ( child_0.el );
814 this.el.clicked.connect( ( ) => {
816 // create a new file in project..
817 if (_this.project == null || _this.windowstate.file == null) {
820 _this.windowstate.file_details.show(
821 _this.windowstate.file, this.el, false
830 // user defined functions
832 public class Xcls_Image24 : Object
835 private Xcls_MainWindow _this;
841 public Xcls_Image24(Xcls_MainWindow _owner )
844 this.el = new Gtk.Image();
848 // set gobject values
849 this.el.icon_name = "document-properties";
852 // user defined functions
856 public class Xcls_MenuButton25 : Object
858 public Gtk.MenuButton el;
859 private Xcls_MainWindow _this;
865 public Xcls_MenuButton25(Xcls_MainWindow _owner )
868 this.el = new Gtk.MenuButton();
872 // set gobject values
873 this.el.always_show_image = true;
874 this.el.label = "About";
875 var child_0 = new Xcls_topbarmenu( _this );
877 this.el.set_popup ( child_0.el );
878 var child_1 = new Xcls_Image29( _this );
880 this.el.set_image ( child_1.el );
883 // user defined functions
885 public class Xcls_topbarmenu : Object
888 private Xcls_MainWindow _this;
894 public Xcls_topbarmenu(Xcls_MainWindow _owner )
897 _this.topbarmenu = this;
898 this.el = new Gtk.Menu();
902 // set gobject values
903 var child_0 = new Xcls_MenuItem27( _this );
905 this.el.append ( child_0.el );
906 var child_1 = new Xcls_MenuItem28( _this );
908 this.el.append ( child_1.el );
917 // user defined functions
919 public class Xcls_MenuItem27 : Object
921 public Gtk.MenuItem el;
922 private Xcls_MainWindow _this;
928 public Xcls_MenuItem27(Xcls_MainWindow _owner )
931 this.el = new Gtk.MenuItem();
935 // set gobject values
936 this.el.label = "Download updated Resources";
940 this.el.activate.connect( ( ) => {
941 Resources.singleton().fetchStart();
945 // user defined functions
948 public class Xcls_MenuItem28 : Object
950 public Gtk.MenuItem el;
951 private Xcls_MainWindow _this;
957 public Xcls_MenuItem28(Xcls_MainWindow _owner )
960 this.el = new Gtk.MenuItem();
964 // set gobject values
965 this.el.label = "About the Builder";
969 this.el.activate.connect( () => {
970 About.singleton().el.show();
974 // user defined functions
978 public class Xcls_Image29 : Object
981 private Xcls_MainWindow _this;
987 public Xcls_Image29(Xcls_MainWindow _owner )
990 this.el = new Gtk.Image();
994 // set gobject values
995 this.el.icon_name = "dialog-information";
998 // user defined functions
1002 public class Xcls_Label30 : Object
1004 public Gtk.Label el;
1005 private Xcls_MainWindow _this;
1011 public Xcls_Label30(Xcls_MainWindow _owner )
1014 this.el = new Gtk.Label( " " );
1018 // set gobject values
1021 // user defined functions
1024 public class Xcls_statusbar : Object
1026 public Gtk.ProgressBar el;
1027 private Xcls_MainWindow _this;
1031 public ulong handler_id;
1034 public Xcls_statusbar(Xcls_MainWindow _owner )
1037 _this.statusbar = this;
1038 this.el = new Gtk.ProgressBar();
1041 this.handler_id = -1;
1043 // set gobject values
1044 this.el.show_text = true;
1049 this.handler_id = Resources.singleton().updateProgress.connect((pos,total) => {
1052 _this.mainpane.el.set_sensitive(true);
1056 _this.mainpane.el.set_sensitive(false);
1058 this.el.set_fraction ((1.0f * pos) / (1.0f * total));
1059 this.el.set_text("Fetching Resource : %s/%s".printf(pos.to_string(), total.to_string()));
1065 // user defined functions
1068 public class Xcls_MenuBar32 : Object
1070 public Gtk.MenuBar el;
1071 private Xcls_MainWindow _this;
1077 public Xcls_MenuBar32(Xcls_MainWindow _owner )
1080 this.el = new Gtk.MenuBar();
1084 // set gobject values
1085 var child_0 = new Xcls_statusbar_compilestatus_label( _this );
1087 this.el.add ( child_0.el );
1088 var child_1 = new Xcls_statusbar_errors( _this );
1090 this.el.add ( child_1.el );
1091 var child_2 = new Xcls_statusbar_warnings( _this );
1093 this.el.add ( child_2.el );
1094 var child_3 = new Xcls_statusbar_depricated( _this );
1096 this.el.add ( child_3.el );
1097 var child_4 = new Xcls_statusbar_run( _this );
1099 this.el.add ( child_4.el );
1102 // user defined functions
1104 public class Xcls_statusbar_compilestatus_label : Object
1106 public Gtk.MenuItem el;
1107 private Xcls_MainWindow _this;
1113 public Xcls_statusbar_compilestatus_label(Xcls_MainWindow _owner )
1116 _this.statusbar_compilestatus_label = this;
1117 this.el = new Gtk.MenuItem();
1121 // set gobject values
1122 this.el.label = "Compile Status:";
1126 // user defined functions
1129 public class Xcls_statusbar_errors : Object
1131 public Gtk.ImageMenuItem el;
1132 private Xcls_MainWindow _this;
1136 public Xcls_ValaCompileErrors popup;
1137 public Json.Object notices;
1140 public Xcls_statusbar_errors(Xcls_MainWindow _owner )
1143 _this.statusbar_errors = this;
1144 this.el = new Gtk.ImageMenuItem();
1147 this.notices = new Json.Object();
1149 // set gobject values
1150 this.el.always_show_image = true;
1151 this.el.label = "Errors";
1152 var child_0 = new Xcls_Image35( _this );
1154 this.el.set_image ( child_0.el );
1158 this.el.button_press_event.connect( () => {
1159 if (this.popup == null) {
1160 this.popup = new Xcls_ValaCompileErrors();
1161 this.popup.window = _this;
1165 this.popup.show(this.notices, this.el);
1170 // user defined functions
1171 public void setNotices (Json.Object nots, int qty) {
1173 this.el.label = qty.to_string() + " Errors";
1174 this.notices = nots;
1178 public class Xcls_Image35 : Object
1180 public Gtk.Image el;
1181 private Xcls_MainWindow _this;
1187 public Xcls_Image35(Xcls_MainWindow _owner )
1190 this.el = new Gtk.Image();
1194 // set gobject values
1195 this.el.icon_name = "dialog-error";
1198 // user defined functions
1202 public class Xcls_statusbar_warnings : Object
1204 public Gtk.ImageMenuItem el;
1205 private Xcls_MainWindow _this;
1209 public Xcls_ValaCompileErrors popup;
1210 public Json.Object notices;
1213 public Xcls_statusbar_warnings(Xcls_MainWindow _owner )
1216 _this.statusbar_warnings = this;
1217 this.el = new Gtk.ImageMenuItem();
1220 this.notices = new Json.Object();
1222 // set gobject values
1223 this.el.always_show_image = true;
1224 this.el.label = "Warnings";
1225 var child_0 = new Xcls_Image37( _this );
1227 this.el.set_image ( child_0.el );
1231 this.el.button_press_event.connect( () => {
1232 if (this.popup == null) {
1233 this.popup = new Xcls_ValaCompileErrors();
1234 this.popup.window = _this;
1237 this.popup.show(this.notices, this.el);
1242 // user defined functions
1243 public void setNotices (Json.Object nots, int qty) {
1245 this.el.label = qty.to_string() + " Warnings";
1246 this.notices = nots;
1250 public class Xcls_Image37 : Object
1252 public Gtk.Image el;
1253 private Xcls_MainWindow _this;
1259 public Xcls_Image37(Xcls_MainWindow _owner )
1262 this.el = new Gtk.Image();
1266 // set gobject values
1267 this.el.icon_name = "dialog-warning";
1270 // user defined functions
1274 public class Xcls_statusbar_depricated : Object
1276 public Gtk.ImageMenuItem el;
1277 private Xcls_MainWindow _this;
1281 public Xcls_ValaCompileErrors popup;
1282 public Json.Object notices;
1285 public Xcls_statusbar_depricated(Xcls_MainWindow _owner )
1288 _this.statusbar_depricated = this;
1289 this.el = new Gtk.ImageMenuItem();
1292 this.notices = new Json.Object();
1294 // set gobject values
1295 this.el.always_show_image = true;
1296 this.el.label = "Depricated";
1297 var child_0 = new Xcls_Image39( _this );
1299 this.el.set_image ( child_0.el );
1303 this.el.button_press_event.connect( () => {
1304 if (this.popup == null) {
1305 this.popup = new Xcls_ValaCompileErrors();
1306 this.popup.window = _this;
1310 this.popup.show(this.notices, this.el);
1315 // user defined functions
1316 public void setNotices (Json.Object nots, int qty) {
1318 this.el.label = qty.to_string() + " Depricated";
1319 this.notices = nots;
1323 public class Xcls_Image39 : Object
1325 public Gtk.Image el;
1326 private Xcls_MainWindow _this;
1332 public Xcls_Image39(Xcls_MainWindow _owner )
1335 this.el = new Gtk.Image();
1339 // set gobject values
1340 this.el.icon_name = "dialog-information";
1343 // user defined functions
1347 public class Xcls_statusbar_run : Object
1349 public Gtk.ImageMenuItem el;
1350 private Xcls_MainWindow _this;
1354 public Xcls_ValaCompileErrors popup;
1357 public Xcls_statusbar_run(Xcls_MainWindow _owner )
1360 _this.statusbar_run = this;
1361 this.el = new Gtk.ImageMenuItem();
1365 // set gobject values
1366 this.el.always_show_image = true;
1367 this.el.label = "Run";
1368 var child_0 = new Xcls_Image41( _this );
1370 this.el.set_image ( child_0.el );
1374 this.el.button_press_event.connect( () => {
1375 if (_this.windowstate.file == null) {
1378 BuilderApplication.valasource.spawnExecute(_this.windowstate.file);
1380 _this.windowstate.compile_results.show(this.el,true);
1386 // user defined functions
1388 public class Xcls_Image41 : Object
1390 public Gtk.Image el;
1391 private Xcls_MainWindow _this;
1397 public Xcls_Image41(Xcls_MainWindow _owner )
1400 this.el = new Gtk.Image();
1404 // set gobject values
1405 this.el.icon_name = "media-playback-start";
1408 // user defined functions
1413 public class Xcls_statusbar_compile_spinner : Object
1415 public Gtk.Spinner el;
1416 private Xcls_MainWindow _this;
1422 public Xcls_statusbar_compile_spinner(Xcls_MainWindow _owner )
1425 _this.statusbar_compile_spinner = this;
1426 this.el = new Gtk.Spinner();
1430 // set gobject values
1431 this.el.tooltip_text = "Compiling";
1434 // user defined functions
1435 public void start () {
1439 public void stop () {