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 statusbar;
41 public Xcls_search_entry search_entry;
42 public Xcls_search_results search_results;
43 public Xcls_statusbar_errors statusbar_errors;
44 public Xcls_statusbar_warnings statusbar_warnings;
45 public Xcls_statusbar_depricated statusbar_depricated;
46 public Xcls_statusbar_compilestatus_label statusbar_compilestatus_label;
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();
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_Box65( _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_Box65 : Object
2203 private Xcls_MainWindow _this;
2209 public Xcls_Box65(Xcls_MainWindow _owner )
2212 this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
2216 // set gobject values
2217 this.el.homogeneous = false;
2218 var child_0 = new Xcls_Label66( _this );
2220 this.el.pack_start ( child_0.el , true,true,0 );
2221 var child_1 = new Xcls_statusbar( _this );
2223 this.el.pack_start ( child_1.el , true,true,0 );
2224 var child_2 = new Xcls_search_entry( _this );
2226 this.el.pack_start ( child_2.el , false,true,0 );
2227 var child_3 = new Xcls_MenuBar69( _this );
2229 this.el.pack_end ( child_3.el , false,true,0 );
2232 // user defined functions
2234 public class Xcls_Label66 : Object
2236 public Gtk.Label el;
2237 private Xcls_MainWindow _this;
2243 public Xcls_Label66(Xcls_MainWindow _owner )
2246 this.el = new Gtk.Label( " " );
2250 // set gobject values
2253 // user defined functions
2256 public class Xcls_statusbar : Object
2258 public Gtk.ProgressBar el;
2259 private Xcls_MainWindow _this;
2263 public ulong handler_id;
2266 public Xcls_statusbar(Xcls_MainWindow _owner )
2269 _this.statusbar = this;
2270 this.el = new Gtk.ProgressBar();
2273 this.handler_id = -1;
2275 // set gobject values
2276 this.el.show_text = true;
2281 this.handler_id = Resources.singleton().updateProgress.connect((pos,total) => {
2284 _this.mainpane.el.set_sensitive(true);
2288 _this.mainpane.el.set_sensitive(false);
2290 this.el.set_fraction ((1.0f * pos) / (1.0f * total));
2291 this.el.set_text("Fetching Resource : %s/%s".printf(pos.to_string(), total.to_string()));
2297 // user defined functions
2300 public class Xcls_search_entry : Object
2302 public Gtk.SearchEntry el;
2303 private Xcls_MainWindow _this;
2309 public Xcls_search_entry(Xcls_MainWindow _owner )
2312 _this.search_entry = this;
2313 this.el = new Gtk.SearchEntry();
2317 // set gobject values
2321 var description = Pango.FontDescription.from_string("monospace");
2322 description.set_size(8000);
2323 this.el.override_font(description);
2326 this.el.key_press_event.connect( (event) => {
2328 if (event.keyval == Gdk.Key.Return) {
2329 this.forwardSearch(false);
2333 // print(event.key.keyval)
2338 this.el.changed.connect( () => {
2339 if (this.el.text == "") {
2340 _this.search_results.el.hide();
2344 switch(_this.windowstate.state) {
2345 case WindowState.State.CODEONLY:
2346 case WindowState.State.CODE:
2347 // search the code being edited..
2348 res = _this.windowstate.code_editor.search(this.el.text);
2351 case WindowState.State.PREVIEW:
2352 if (_this.windowstate.file.xtype == "Gtk") {
2353 res = _this.windowstate.window_gladeview.search(this.el.text);
2355 res = _this.windowstate.window_rooview.search(this.el.text);
2361 _this.search_results.el.show();
2363 _this.search_results.el.label = "%d Matches".printf(res);
2365 _this.search_results.el.label = "No Matches";
2373 // user defined functions
2374 public void forwardSearch (bool change_focus) {
2375 switch(_this.windowstate.state) {
2376 case WindowState.State.CODEONLY:
2377 case WindowState.State.CODE:
2378 // search the code being edited..
2379 _this.windowstate.code_editor.forwardSearch(change_focus);
2382 case WindowState.State.PREVIEW:
2383 if (_this.windowstate.file.xtype == "Gtk") {
2384 _this.windowstate.window_gladeview.forwardSearch(change_focus);
2386 _this.windowstate.window_rooview.forwardSearch(change_focus);
2395 public class Xcls_MenuBar69 : Object
2397 public Gtk.MenuBar el;
2398 private Xcls_MainWindow _this;
2404 public Xcls_MenuBar69(Xcls_MainWindow _owner )
2407 this.el = new Gtk.MenuBar();
2411 // set gobject values
2412 var child_0 = new Xcls_search_results( _this );
2414 this.el.add ( child_0.el );
2415 var child_1 = new Xcls_statusbar_errors( _this );
2417 this.el.add ( child_1.el );
2418 var child_2 = new Xcls_statusbar_warnings( _this );
2420 this.el.add ( child_2.el );
2421 var child_3 = new Xcls_statusbar_depricated( _this );
2423 this.el.add ( child_3.el );
2424 var child_4 = new Xcls_statusbar_compilestatus_label( _this );
2426 this.el.add ( child_4.el );
2427 var child_5 = new Xcls_statusbar_run( _this );
2429 this.el.add ( child_5.el );
2432 // user defined functions
2434 public class Xcls_search_results : Object
2436 public Gtk.ImageMenuItem el;
2437 private Xcls_MainWindow _this;
2441 public Xcls_ValaCompileErrors popup;
2444 public Xcls_search_results(Xcls_MainWindow _owner )
2447 _this.search_results = this;
2448 this.el = new Gtk.ImageMenuItem();
2452 // set gobject values
2453 this.el.always_show_image = true;
2454 this.el.label = "Matches";
2455 var child_0 = new Xcls_Image71( _this );
2457 this.el.set_image ( child_0.el );
2460 this.el.button_press_event.connect( () => {
2462 if (this.popup == null) {
2463 this.popup = new Xcls_ValaCompileErrors();
2464 this.popup.window = _this;
2468 this.popup.show(this.notices, this.el);
2474 // user defined functions
2476 public class Xcls_Image71 : Object
2478 public Gtk.Image el;
2479 private Xcls_MainWindow _this;
2485 public Xcls_Image71(Xcls_MainWindow _owner )
2488 this.el = new Gtk.Image();
2492 // set gobject values
2493 this.el.icon_name = "system-search";
2494 this.el.sensitive = false;
2497 // user defined functions
2501 public class Xcls_statusbar_errors : Object
2503 public Gtk.ImageMenuItem el;
2504 private Xcls_MainWindow _this;
2508 public Xcls_ValaCompileErrors popup;
2509 public Json.Object notices;
2512 public Xcls_statusbar_errors(Xcls_MainWindow _owner )
2515 _this.statusbar_errors = this;
2516 this.el = new Gtk.ImageMenuItem();
2519 this.notices = new Json.Object() ;
2521 // set gobject values
2522 this.el.always_show_image = true;
2523 this.el.label = "Errors";
2524 var child_0 = new Xcls_Image73( _this );
2526 this.el.set_image ( child_0.el );
2529 this.el.button_press_event.connect( () => {
2530 if (this.popup == null) {
2531 this.popup = new Xcls_ValaCompileErrors();
2532 this.popup.window = _this;
2536 this.popup.show(this.notices, this.el);
2541 // user defined functions
2542 public void setNotices (Json.Object nots, int qty) {
2544 this.el.label = qty.to_string() + " Errors";
2545 this.notices = nots;
2549 public class Xcls_Image73 : Object
2551 public Gtk.Image el;
2552 private Xcls_MainWindow _this;
2558 public Xcls_Image73(Xcls_MainWindow _owner )
2561 this.el = new Gtk.Image();
2565 // set gobject values
2566 this.el.icon_name = "dialog-error";
2569 // user defined functions
2573 public class Xcls_statusbar_warnings : Object
2575 public Gtk.ImageMenuItem el;
2576 private Xcls_MainWindow _this;
2580 public Xcls_ValaCompileErrors popup;
2581 public Json.Object notices;
2584 public Xcls_statusbar_warnings(Xcls_MainWindow _owner )
2587 _this.statusbar_warnings = this;
2588 this.el = new Gtk.ImageMenuItem();
2591 this.notices = new Json.Object();
2593 // set gobject values
2594 this.el.always_show_image = true;
2595 this.el.label = "Warnings";
2596 var child_0 = new Xcls_Image75( _this );
2598 this.el.set_image ( child_0.el );
2601 this.el.button_press_event.connect( () => {
2602 if (this.popup == null) {
2603 this.popup = new Xcls_ValaCompileErrors();
2604 this.popup.window = _this;
2607 this.popup.show(this.notices, this.el);
2612 // user defined functions
2613 public void setNotices (Json.Object nots, int qty) {
2615 this.el.label = qty.to_string() + " Warnings";
2616 this.notices = nots;
2620 public class Xcls_Image75 : Object
2622 public Gtk.Image el;
2623 private Xcls_MainWindow _this;
2629 public Xcls_Image75(Xcls_MainWindow _owner )
2632 this.el = new Gtk.Image();
2636 // set gobject values
2637 this.el.icon_name = "dialog-warning";
2640 // user defined functions
2644 public class Xcls_statusbar_depricated : Object
2646 public Gtk.ImageMenuItem el;
2647 private Xcls_MainWindow _this;
2651 public Xcls_ValaCompileErrors popup;
2652 public Json.Object notices;
2655 public Xcls_statusbar_depricated(Xcls_MainWindow _owner )
2658 _this.statusbar_depricated = this;
2659 this.el = new Gtk.ImageMenuItem();
2662 this.notices = new Json.Object();
2664 // set gobject values
2665 this.el.always_show_image = true;
2666 this.el.label = "Depricated";
2667 var child_0 = new Xcls_Image77( _this );
2669 this.el.set_image ( child_0.el );
2672 this.el.button_press_event.connect( () => {
2673 if (this.popup == null) {
2674 this.popup = new Xcls_ValaCompileErrors();
2675 this.popup.window = _this;
2679 this.popup.show(this.notices, this.el);
2684 // user defined functions
2685 public void setNotices (Json.Object nots, int qty) {
2687 this.el.label = qty.to_string() + " Depricated";
2688 this.notices = nots;
2692 public class Xcls_Image77 : Object
2694 public Gtk.Image el;
2695 private Xcls_MainWindow _this;
2701 public Xcls_Image77(Xcls_MainWindow _owner )
2704 this.el = new Gtk.Image();
2708 // set gobject values
2709 this.el.icon_name = "dialog-information";
2712 // user defined functions
2716 public class Xcls_statusbar_compilestatus_label : Object
2718 public Gtk.MenuItem el;
2719 private Xcls_MainWindow _this;
2725 public Xcls_statusbar_compilestatus_label(Xcls_MainWindow _owner )
2728 _this.statusbar_compilestatus_label = this;
2729 this.el = new Gtk.MenuItem();
2733 // set gobject values
2734 this.el.label = "Compile Status:";
2737 // user defined functions
2740 public class Xcls_statusbar_run : Object
2742 public Gtk.ImageMenuItem el;
2743 private Xcls_MainWindow _this;
2747 public Xcls_ValaCompileErrors popup;
2750 public Xcls_statusbar_run(Xcls_MainWindow _owner )
2753 _this.statusbar_run = this;
2754 this.el = new Gtk.ImageMenuItem();
2758 // set gobject values
2759 this.el.always_show_image = true;
2760 this.el.label = "Run";
2761 var child_0 = new Xcls_Image80( _this );
2763 this.el.set_image ( child_0.el );
2766 this.el.button_press_event.connect( () => {
2767 if (_this.windowstate.file == null) {
2770 _this.windowstate.valasource.spawnExecute(_this.windowstate.file);
2772 _this.windowstate.compile_results.show(this.el,true);
2778 // user defined functions
2780 public class Xcls_Image80 : Object
2782 public Gtk.Image el;
2783 private Xcls_MainWindow _this;
2789 public Xcls_Image80(Xcls_MainWindow _owner )
2792 this.el = new Gtk.Image();
2796 // set gobject values
2797 this.el.icon_name = "media-playback-start";
2800 // user defined functions