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_run statusbar_run;
49 public Project.Project project;
51 public int no_windows;
52 public WindowState windowstate;
55 public Xcls_MainWindow()
58 this.el = new Gtk.Window( Gtk.WindowType.TOPLEVEL );
62 this.title = "Roo Application Builder";
64 this.windowstate = null;
67 this.el.border_width = 0;
68 this.el.default_height = 500;
69 this.el.default_width = 800;
70 var child_0 = new Xcls_headerbar( _this );
72 this.el.set_titlebar ( child_0.el );
73 var child_1 = new Xcls_vbox( _this );
75 this.el.add ( child_1.el );
81 this.el.set_icon_name("roobuilder");
82 //} catch (Exception e) {
83 // print("no icon found");
87 this.el.delete_event.connect( ( event) => {
90 this.el.destroy.connect( () => {
91 Xcls_MainWindow.singleton().no_windows--;
93 Resources.singleton().disconnect(_this.statusbar.handler_id);
96 if (Xcls_MainWindow.singleton().no_windows < 1) {
101 this.el.show.connect( ( ) => {
102 // hide the file editing..
104 //this.hideViewEditing();
105 _this.statusbar.el.hide();
106 _this.statusbar_errors.el.hide();
107 _this.statusbar_warnings.el.hide();
108 _this.statusbar_depricated.el.hide();
111 Resources.singleton().checkResources();
114 this.el.key_release_event.connect( (event) => {
116 if (this.search_entry.el.is_visible()) {
117 if (event.keyval == Gdk.Key.f && (event.state & Gdk.ModifierType.CONTROL_MASK ) > 0 ) {
118 print("SAVE: ctrl-f pressed");
119 this.search_entry.el.grab_focus();
123 if (event.keyval == Gdk.Key.g && (event.state & Gdk.ModifierType.CONTROL_MASK ) > 0 ) {
124 print("SAVE: ctrl-g pressed");
125 this.search_entry.forwardSearch(true);
131 if (event.keyval == Gdk.Key.n && (event.state & Gdk.ModifierType.CONTROL_MASK ) > 0 ) {
132 print("SAVE: ctrl-n pressed");
133 this.openNewWindow();
137 // print(event.key.keyval)
144 // user defined functions
145 public void openNewWindow () {
146 Xcls_MainWindow.singleton().no_windows++;
147 var w = new Xcls_MainWindow();
152 w.windowstate.switchState(WindowState.State.FILES);
154 public void initChildren () {
155 // this needs putting in a better place..
156 this.windowstate = new WindowState(this);
160 var tl = new Clutter.Timeline(6000);
161 tl.set_repeat_count(-1);
170 public void show () {
175 public void setTitle (string str) {
176 this.headerbar.el.set_title(this.title + " - " + str);
178 public class Xcls_headerbar : Object
180 public Gtk.HeaderBar el;
181 private Xcls_MainWindow _this;
187 public Xcls_headerbar(Xcls_MainWindow _owner )
190 _this.headerbar = this;
191 this.el = new Gtk.HeaderBar();
195 // set gobject values
196 this.el.title = "Application Builder";
197 this.el.show_close_button = true;
198 var child_0 = new Xcls_Box3( _this );
200 this.el.pack_start ( child_0.el );
203 // user defined functions
205 public class Xcls_Box3 : Object
208 private Xcls_MainWindow _this;
214 public Xcls_Box3(Xcls_MainWindow _owner )
217 this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
221 // set gobject values
222 var child_0 = new Xcls_MenuButton4( _this );
224 this.el.add ( child_0.el );
225 var child_1 = new Xcls_openbtn( _this );
227 this.el.add ( child_1.el );
228 var child_2 = new Xcls_openbackbtn( _this );
230 this.el.add ( child_2.el );
233 // user defined functions
235 public class Xcls_MenuButton4 : Object
237 public Gtk.MenuButton el;
238 private Xcls_MainWindow _this;
244 public Xcls_MenuButton4(Xcls_MainWindow _owner )
247 this.el = new Gtk.MenuButton();
251 // set gobject values
252 this.el.use_popover = false;
253 var child_0 = new Xcls_topbarmenu( _this );
255 this.el.set_popup ( child_0.el );
256 var child_1 = new Xcls_Image10( _this );
258 this.el.set_image ( child_1.el );
261 // user defined functions
263 public class Xcls_topbarmenu : Object
266 private Xcls_MainWindow _this;
272 public Xcls_topbarmenu(Xcls_MainWindow _owner )
275 _this.topbarmenu = this;
276 this.el = new Gtk.Menu();
280 // set gobject values
281 var child_0 = new Xcls_MenuItem6( _this );
283 this.el.append ( child_0.el );
284 var child_1 = new Xcls_SeparatorMenuItem7( _this );
286 this.el.append ( child_1.el );
287 var child_2 = new Xcls_MenuItem8( _this );
289 this.el.append ( child_2.el );
290 var child_3 = new Xcls_MenuItem9( _this );
292 this.el.append ( child_3.el );
301 // user defined functions
303 public class Xcls_MenuItem6 : Object
305 public Gtk.MenuItem el;
306 private Xcls_MainWindow _this;
312 public Xcls_MenuItem6(Xcls_MainWindow _owner )
315 this.el = new Gtk.MenuItem();
319 // set gobject values
320 this.el.label = "Open a new Window";
323 this.el.activate.connect( ( ) => {
324 _this.openNewWindow();
328 // user defined functions
331 public class Xcls_SeparatorMenuItem7 : Object
333 public Gtk.SeparatorMenuItem el;
334 private Xcls_MainWindow _this;
340 public Xcls_SeparatorMenuItem7(Xcls_MainWindow _owner )
343 this.el = new Gtk.SeparatorMenuItem();
347 // set gobject values
350 // user defined functions
353 public class Xcls_MenuItem8 : Object
355 public Gtk.MenuItem el;
356 private Xcls_MainWindow _this;
362 public Xcls_MenuItem8(Xcls_MainWindow _owner )
365 this.el = new Gtk.MenuItem();
369 // set gobject values
370 this.el.label = "Download updated Resources";
373 this.el.activate.connect( ( ) => {
374 Resources.singleton().fetchStart();
378 // user defined functions
381 public class Xcls_MenuItem9 : Object
383 public Gtk.MenuItem el;
384 private Xcls_MainWindow _this;
390 public Xcls_MenuItem9(Xcls_MainWindow _owner )
393 this.el = new Gtk.MenuItem();
397 // set gobject values
398 this.el.label = "About the Builder";
401 this.el.activate.connect( () => {
402 About.singleton().el.show();
406 // user defined functions
410 public class Xcls_Image10 : Object
413 private Xcls_MainWindow _this;
419 public Xcls_Image10(Xcls_MainWindow _owner )
422 this.el = new Gtk.Image();
426 // set gobject values
427 this.el.icon_name = "help-about";
430 // user defined functions
434 public class Xcls_openbtn : Object
436 public Gtk.Button el;
437 private Xcls_MainWindow _this;
443 public Xcls_openbtn(Xcls_MainWindow _owner )
446 _this.openbtn = this;
447 this.el = new Gtk.Button();
451 // set gobject values
452 var child_0 = new Xcls_Image12( _this );
454 this.el.set_image ( child_0.el );
457 this.el.clicked.connect( ( ) => {
458 _this.windowstate.switchState(WindowState.State.FILES);
464 // user defined functions
466 public class Xcls_Image12 : Object
469 private Xcls_MainWindow _this;
475 public Xcls_Image12(Xcls_MainWindow _owner )
478 this.el = new Gtk.Image();
482 // set gobject values
483 this.el.icon_name = "document-open";
486 // user defined functions
490 public class Xcls_openbackbtn : Object
492 public Gtk.Button el;
493 private Xcls_MainWindow _this;
499 public Xcls_openbackbtn(Xcls_MainWindow _owner )
502 _this.openbackbtn = this;
503 this.el = new Gtk.Button();
507 // set gobject values
508 this.el.tooltip_text = "Back";
509 this.el.visible = false;
510 var child_0 = new Xcls_Image14( _this );
512 this.el.set_image ( child_0.el );
515 this.el.clicked.connect( ( ) => {
517 _this.windowstate.switchState(WindowState.State.PREVIEW);
523 // user defined functions
525 public class Xcls_Image14 : Object
528 private Xcls_MainWindow _this;
534 public Xcls_Image14(Xcls_MainWindow _owner )
537 this.el = new Gtk.Image();
541 // set gobject values
542 this.el.icon_name = "go-previous";
545 // user defined functions
551 public class Xcls_vbox : Object
554 private Xcls_MainWindow _this;
560 public Xcls_vbox(Xcls_MainWindow _owner )
564 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
568 // set gobject values
569 this.el.homogeneous = false;
570 var child_0 = new Xcls_mainpane( _this );
572 this.el.pack_start ( child_0.el , true,true,0 );
573 var child_1 = new Xcls_Box65( _this );
575 this.el.pack_end ( child_1.el , false,true,0 );
578 // user defined functions
580 public class Xcls_mainpane : Object
583 private Xcls_MainWindow _this;
587 public int lastWidth;
590 public Xcls_mainpane(Xcls_MainWindow _owner )
593 _this.mainpane = this;
594 this.el = new Gtk.Paned( Gtk.Orientation.HORIZONTAL );
599 // set gobject values
600 this.el.position = 400;
601 var child_0 = new Xcls_leftpane( _this );
603 this.el.add1 ( child_0.el );
604 var child_1 = new Xcls_Box21( _this );
606 this.el.add2 ( child_1.el );
609 // user defined functions
611 public class Xcls_leftpane : Object
614 private Xcls_MainWindow _this;
620 public Xcls_leftpane(Xcls_MainWindow _owner )
623 _this.leftpane = this;
624 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
628 // set gobject values
629 var child_0 = new Xcls_editpane( _this );
631 this.el.pack_start ( child_0.el , true,true,0 );
634 // user defined functions
636 public class Xcls_editpane : Object
639 private Xcls_MainWindow _this;
645 public Xcls_editpane(Xcls_MainWindow _owner )
648 _this.editpane = this;
649 this.el = new Gtk.Paned( Gtk.Orientation.VERTICAL );
653 // set gobject values
654 var child_0 = new Xcls_tree( _this );
656 this.el.add1 ( child_0.el );
657 var child_1 = new Xcls_props( _this );
659 this.el.add2 ( child_1.el );
662 // user defined functions
664 public class Xcls_tree : Object
667 private Xcls_MainWindow _this;
673 public Xcls_tree(Xcls_MainWindow _owner )
677 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
681 // set gobject values
684 // user defined functions
687 public class Xcls_props : Object
690 private Xcls_MainWindow _this;
696 public Xcls_props(Xcls_MainWindow _owner )
700 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
704 // set gobject values
707 // user defined functions
712 public class Xcls_Box21 : Object
715 private Xcls_MainWindow _this;
721 public Xcls_Box21(Xcls_MainWindow _owner )
724 this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
728 // set gobject values
729 var child_0 = new Xcls_clutterembed( _this );
731 this.el.pack_start ( child_0.el , true,true,0 );
734 // user defined functions
736 public class Xcls_clutterembed : Object
738 public GtkClutter.Embed el;
739 private Xcls_MainWindow _this;
745 public Xcls_clutterembed(Xcls_MainWindow _owner )
748 _this.clutterembed = this;
749 this.el = new GtkClutter.Embed();
753 // set gobject values
754 var child_0 = new Xcls_rooview( _this );
756 this.el.get_stage().add_child ( child_0.el );
757 var child_1 = new Xcls_objectview( _this );
759 this.el.get_stage().add_child ( child_1.el );
760 var child_2 = new Xcls_codeeditview( _this );
762 this.el.get_stage().add_child ( child_2.el );
763 var child_3 = new Xcls_addpropsview( _this );
765 this.el.get_stage().add_child ( child_3.el );
766 var child_4 = new Xcls_buttonlayout( _this );
768 this.el.get_stage().add_child ( child_4.el );
772 var stage = this.el.get_stage();
773 stage.set_background_color( Clutter.Color.from_string("#000"));
776 this.el.size_allocate.connect( ( alloc) => {
777 if (_this.windowstate == null) {
780 _this.windowstate.resizeCanvas();
785 // user defined functions
787 public class Xcls_rooview : Object
789 public GtkClutter.Actor el;
790 private Xcls_MainWindow _this;
796 public Xcls_rooview(Xcls_MainWindow _owner )
799 _this.rooview = this;
800 this.el = new GtkClutter.Actor();
804 // set gobject values
811 this.el.add_constraint(
812 new Clutter.AlignConstraint(
813 _this.clutterembed.el.get_stage(),
814 Clutter.AlignAxis.X_AXIS,
819 //this.el.set_position(100,100);
820 this.el.set_pivot_point(1.0f,1.0f);
822 this.el.set_size(_this.clutterembed.el.get_stage().width-50,
823 _this.clutterembed.el.get_stage().height);
828 // user defined functions
831 public class Xcls_objectview : Object
833 public GtkClutter.Actor el;
834 private Xcls_MainWindow _this;
840 public Xcls_objectview(Xcls_MainWindow _owner )
843 _this.objectview = this;
844 this.el = new GtkClutter.Actor();
848 // set gobject values
855 this.el.add_constraint(
856 new Clutter.AlignConstraint(
857 _this.clutterembed.el.get_stage(),
858 Clutter.AlignAxis.X_AXIS,
863 this.el.fixed_x = 50.0f;
864 this.el.fixed_y = 0.0f;
865 //this.el.set_position(100,100);
866 this.el.set_pivot_point(0.0f,0.0f);
867 this.el.set_scale(0.0f,1.0f);
868 this.el.set_size((_this.clutterembed.el.get_stage().width-50)/2,
869 _this.clutterembed.el.get_stage().height);
874 // user defined functions
877 public class Xcls_codeeditview : Object
879 public GtkClutter.Actor el;
880 private Xcls_MainWindow _this;
886 public Xcls_codeeditview(Xcls_MainWindow _owner )
889 _this.codeeditview = this;
890 this.el = new GtkClutter.Actor();
894 // set gobject values
901 this.el.add_constraint(
902 new Clutter.AlignConstraint(
903 _this.clutterembed.el.get_stage(),
904 Clutter.AlignAxis.X_AXIS,
909 this.el.fixed_x = 50.0f;
910 this.el.fixed_y = 0.0f;
911 //this.el.set_position(100,100);
912 this.el.set_pivot_point(0.0f,0.0f);
913 this.el.set_scale(0.0f,1.0f);
914 this.el.set_size((_this.clutterembed.el.get_stage().width-50)/2,
915 _this.clutterembed.el.get_stage().height);
920 // user defined functions
923 public class Xcls_addpropsview : Object
925 public GtkClutter.Actor el;
926 private Xcls_MainWindow _this;
932 public Xcls_addpropsview(Xcls_MainWindow _owner )
935 _this.addpropsview = this;
936 this.el = new GtkClutter.Actor();
940 // set gobject values
947 this.el.add_constraint(
948 new Clutter.AlignConstraint(
949 _this.clutterembed.el.get_stage(),
950 Clutter.AlignAxis.X_AXIS,
955 this.el.fixed_x = 50.0f;
956 this.el.fixed_y = 0.0f;
957 //this.el.set_position(100,100);
958 this.el.set_pivot_point(0.0f,0.0f);
959 this.el.set_scale(0.0f,1.0f);
960 this.el.set_size((_this.clutterembed.el.get_stage().width-50)/2,
961 _this.clutterembed.el.get_stage().height);
966 // user defined functions
969 public class Xcls_buttonlayout : Object
971 public Clutter.Actor el;
972 private Xcls_MainWindow _this;
978 public Xcls_buttonlayout(Xcls_MainWindow _owner )
981 _this.buttonlayout = this;
982 this.el = new Clutter.Actor();
986 // set gobject values
987 var child_0 = new Xcls_BoxLayout28( _this );
989 this.el.layout_manager = child_0.el;
990 var child_1 = new Xcls_backbutton( _this );
992 this.el.add_child ( child_1.el );
993 var child_2 = new Xcls_editfilebutton( _this );
995 this.el.add_child ( child_2.el );
996 var child_3 = new Xcls_projecteditbutton( _this );
998 this.el.add_child ( child_3.el );
999 var child_4 = new Xcls_objectshowbutton( _this );
1001 this.el.add_child ( child_4.el );
1002 var child_5 = new Xcls_addpropbutton( _this );
1004 this.el.add_child ( child_5.el );
1005 var child_6 = new Xcls_addlistenerbutton( _this );
1007 this.el.add_child ( child_6.el );
1008 var child_7 = new Xcls_addprojectbutton( _this );
1010 this.el.add_child ( child_7.el );
1011 var child_8 = new Xcls_addfilebutton( _this );
1013 this.el.add_child ( child_8.el );
1014 var child_9 = new Xcls_delprojectbutton( _this );
1016 this.el.add_child ( child_9.el );
1022 this.el.add_constraint(
1023 new Clutter.AlignConstraint(
1024 _this.clutterembed.el.get_stage(),
1025 Clutter.AlignAxis.X_AXIS,
1031 //this.el.set_position(100,100);
1032 this.el.set_pivot_point(0.5f,0.5f);
1033 this.el.set_size(50,
1034 _this.clutterembed.el.get_stage().height);
1039 // user defined functions
1041 public class Xcls_BoxLayout28 : Object
1043 public Clutter.BoxLayout el;
1044 private Xcls_MainWindow _this;
1050 public Xcls_BoxLayout28(Xcls_MainWindow _owner )
1053 this.el = new Clutter.BoxLayout();
1057 // set gobject values
1058 this.el.orientation = Clutter.Orientation.VERTICAL;
1061 // user defined functions
1064 public class Xcls_backbutton : Object
1066 public Clutter.Actor el;
1067 private Xcls_MainWindow _this;
1073 public Xcls_backbutton(Xcls_MainWindow _owner )
1076 _this.backbutton = this;
1077 this.el = new Clutter.Actor();
1081 // set gobject values
1082 var child_0 = new Xcls_Actor30( _this );
1084 this.el.add_child ( child_0.el );
1088 this.el.set_size(50,50);
1091 // user defined functions
1093 public class Xcls_Actor30 : Object
1095 public GtkClutter.Actor el;
1096 private Xcls_MainWindow _this;
1102 public Xcls_Actor30(Xcls_MainWindow _owner )
1105 this.el = new GtkClutter.Actor();
1109 // set gobject values
1110 var child_0 = new Xcls_Button31( _this );
1115 ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1118 // user defined functions
1120 public class Xcls_Button31 : Object
1122 public Gtk.Button el;
1123 private Xcls_MainWindow _this;
1129 public Xcls_Button31(Xcls_MainWindow _owner )
1132 this.el = new Gtk.Button();
1136 // set gobject values
1137 this.el.width_request = 50;
1138 this.el.height_request = 50;
1139 this.el.tooltip_text = "Back";
1140 var child_0 = new Xcls_Image32( _this );
1142 this.el.set_image ( child_0.el );
1145 this.el.clicked.connect( ( ) => {
1146 // if (_this.windowstate.state == WindowState.State.FILEPROJECT) {
1148 // _this.windowstate.switchState(WindowState.State.FILES);
1150 _this.windowstate.switchState(WindowState.State.PREVIEW);
1157 // user defined functions
1159 public class Xcls_Image32 : Object
1161 public Gtk.Image el;
1162 private Xcls_MainWindow _this;
1168 public Xcls_Image32(Xcls_MainWindow _owner )
1171 this.el = new Gtk.Image();
1175 // set gobject values
1176 this.el.icon_name = "go-previous";
1179 // user defined functions
1185 public class Xcls_editfilebutton : Object
1187 public Clutter.Actor el;
1188 private Xcls_MainWindow _this;
1194 public Xcls_editfilebutton(Xcls_MainWindow _owner )
1197 _this.editfilebutton = this;
1198 this.el = new Clutter.Actor();
1202 // set gobject values
1203 var child_0 = new Xcls_Actor34( _this );
1205 this.el.add_child ( child_0.el );
1209 this.el.set_size(50.0f,50.0f);
1212 // user defined functions
1214 public class Xcls_Actor34 : Object
1216 public GtkClutter.Actor el;
1217 private Xcls_MainWindow _this;
1223 public Xcls_Actor34(Xcls_MainWindow _owner )
1226 this.el = new GtkClutter.Actor();
1230 // set gobject values
1231 var child_0 = new Xcls_Button35( _this );
1236 ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1239 // user defined functions
1241 public class Xcls_Button35 : Object
1243 public Gtk.Button el;
1244 private Xcls_MainWindow _this;
1250 public Xcls_Button35(Xcls_MainWindow _owner )
1253 this.el = new Gtk.Button();
1257 // set gobject values
1258 this.el.width_request = 50;
1259 this.el.height_request = 50;
1260 this.el.tooltip_text = "File Details";
1261 var child_0 = new Xcls_Image36( _this );
1263 this.el.set_image ( child_0.el );
1266 this.el.clicked.connect( ( ) => {
1268 // create a new file in project..
1269 if (_this.project == null || _this.windowstate.file == null) {
1272 _this.windowstate.file_details.show(
1273 _this.windowstate.file, this.el
1282 // user defined functions
1284 public class Xcls_Image36 : Object
1286 public Gtk.Image el;
1287 private Xcls_MainWindow _this;
1293 public Xcls_Image36(Xcls_MainWindow _owner )
1296 this.el = new Gtk.Image();
1300 // set gobject values
1301 this.el.icon_name = "document-properties";
1304 // user defined functions
1310 public class Xcls_projecteditbutton : Object
1312 public Clutter.Actor el;
1313 private Xcls_MainWindow _this;
1319 public Xcls_projecteditbutton(Xcls_MainWindow _owner )
1322 _this.projecteditbutton = this;
1323 this.el = new Clutter.Actor();
1327 // set gobject values
1328 var child_0 = new Xcls_Actor38( _this );
1330 this.el.add_child ( child_0.el );
1334 this.el.set_size(50,50);
1337 // user defined functions
1339 public class Xcls_Actor38 : Object
1341 public GtkClutter.Actor el;
1342 private Xcls_MainWindow _this;
1348 public Xcls_Actor38(Xcls_MainWindow _owner )
1351 this.el = new GtkClutter.Actor();
1355 // set gobject values
1356 var child_0 = new Xcls_Button39( _this );
1361 ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1364 // user defined functions
1366 public class Xcls_Button39 : Object
1368 public Gtk.Button el;
1369 private Xcls_MainWindow _this;
1375 public Xcls_Button39(Xcls_MainWindow _owner )
1378 this.el = new Gtk.Button();
1382 // set gobject values
1383 this.el.width_request = 50;
1384 this.el.height_request = 50;
1385 this.el.tooltip_text = "Project Details";
1386 var child_0 = new Xcls_Image40( _this );
1388 this.el.set_image ( child_0.el );
1391 this.el.clicked.connect( ( ) => {
1393 _this.windowstate.projectPopoverShow(this.el);
1399 // user defined functions
1401 public class Xcls_Image40 : Object
1403 public Gtk.Image el;
1404 private Xcls_MainWindow _this;
1410 public Xcls_Image40(Xcls_MainWindow _owner )
1413 this.el = new Gtk.Image();
1417 // set gobject values
1418 this.el.icon_name = "emblem-system";
1421 // user defined functions
1427 public class Xcls_objectshowbutton : Object
1429 public Clutter.Actor el;
1430 private Xcls_MainWindow _this;
1436 public Xcls_objectshowbutton(Xcls_MainWindow _owner )
1439 _this.objectshowbutton = this;
1440 this.el = new Clutter.Actor();
1444 // set gobject values
1445 var child_0 = new Xcls_Actor42( _this );
1447 this.el.add_child ( child_0.el );
1451 this.el.set_size(50,50);
1454 this.el.enter_event.connect( ( event) => {
1455 this.el.background_color = Clutter.Color.from_string("#333");
1458 this.el.leave_event.connect( ( event) => {
1459 this.el.background_color = Clutter.Color.from_string("#000");
1464 // user defined functions
1466 public class Xcls_Actor42 : Object
1468 public GtkClutter.Actor el;
1469 private Xcls_MainWindow _this;
1475 public Xcls_Actor42(Xcls_MainWindow _owner )
1478 this.el = new GtkClutter.Actor();
1482 // set gobject values
1483 var child_0 = new Xcls_Button43( _this );
1488 ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1491 // user defined functions
1493 public class Xcls_Button43 : Object
1495 public Gtk.Button el;
1496 private Xcls_MainWindow _this;
1502 public Xcls_Button43(Xcls_MainWindow _owner )
1505 this.el = new Gtk.Button();
1509 // set gobject values
1510 this.el.width_request = 50;
1511 this.el.height_request = 50;
1512 this.el.tooltip_text = "Add Child Element";
1513 var child_0 = new Xcls_Image44( _this );
1515 this.el.set_image ( child_0.el );
1518 this.el.clicked.connect( ( ) => {
1520 _this.windowstate.switchState(WindowState.State.OBJECT);
1526 // user defined functions
1528 public class Xcls_Image44 : Object
1530 public Gtk.Image el;
1531 private Xcls_MainWindow _this;
1537 public Xcls_Image44(Xcls_MainWindow _owner )
1540 this.el = new Gtk.Image();
1544 // set gobject values
1545 this.el.icon_name = "list-add";
1548 // user defined functions
1554 public class Xcls_addpropbutton : Object
1556 public Clutter.Actor el;
1557 private Xcls_MainWindow _this;
1563 public Xcls_addpropbutton(Xcls_MainWindow _owner )
1566 _this.addpropbutton = this;
1567 this.el = new Clutter.Actor();
1571 // set gobject values
1572 var child_0 = new Xcls_Actor46( _this );
1574 this.el.add_child ( child_0.el );
1578 this.el.set_size(50,50);
1581 // user defined functions
1583 public class Xcls_Actor46 : Object
1585 public GtkClutter.Actor el;
1586 private Xcls_MainWindow _this;
1592 public Xcls_Actor46(Xcls_MainWindow _owner )
1595 this.el = new GtkClutter.Actor();
1599 // set gobject values
1600 var child_0 = new Xcls_Button47( _this );
1605 ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1608 // user defined functions
1610 public class Xcls_Button47 : Object
1612 public Gtk.Button el;
1613 private Xcls_MainWindow _this;
1619 public Xcls_Button47(Xcls_MainWindow _owner )
1622 this.el = new Gtk.Button();
1626 // set gobject values
1627 this.el.width_request = 50;
1628 this.el.height_request = 50;
1629 this.el.tooltip_text = "Add Property";
1630 var child_0 = new Xcls_Image48( _this );
1632 this.el.set_image ( child_0.el );
1635 this.el.clicked.connect( ( ) => {
1637 _this.windowstate.switchState(WindowState.State.PROP);
1643 // user defined functions
1645 public class Xcls_Image48 : Object
1647 public Gtk.Image el;
1648 private Xcls_MainWindow _this;
1654 public Xcls_Image48(Xcls_MainWindow _owner )
1657 this.el = new Gtk.Image();
1661 // set gobject values
1662 this.el.icon_name = "format-justify-left";
1665 // user defined functions
1671 public class Xcls_addlistenerbutton : Object
1673 public Clutter.Actor el;
1674 private Xcls_MainWindow _this;
1680 public Xcls_addlistenerbutton(Xcls_MainWindow _owner )
1683 _this.addlistenerbutton = this;
1684 this.el = new Clutter.Actor();
1688 // set gobject values
1689 var child_0 = new Xcls_Actor50( _this );
1691 this.el.add_child ( child_0.el );
1695 this.el.set_size(50,50);
1698 // user defined functions
1700 public class Xcls_Actor50 : Object
1702 public GtkClutter.Actor el;
1703 private Xcls_MainWindow _this;
1709 public Xcls_Actor50(Xcls_MainWindow _owner )
1712 this.el = new GtkClutter.Actor();
1716 // set gobject values
1717 var child_0 = new Xcls_Button51( _this );
1722 ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1725 // user defined functions
1727 public class Xcls_Button51 : Object
1729 public Gtk.Button el;
1730 private Xcls_MainWindow _this;
1736 public Xcls_Button51(Xcls_MainWindow _owner )
1739 this.el = new Gtk.Button();
1743 // set gobject values
1744 this.el.width_request = 50;
1745 this.el.height_request = 50;
1746 this.el.tooltip_text = "Add Event Code";
1747 var child_0 = new Xcls_Image52( _this );
1749 this.el.set_image ( child_0.el );
1752 this.el.clicked.connect( ( ) => {
1754 _this.windowstate.switchState(WindowState.State.LISTENER);
1761 // user defined functions
1763 public class Xcls_Image52 : Object
1765 public Gtk.Image el;
1766 private Xcls_MainWindow _this;
1772 public Xcls_Image52(Xcls_MainWindow _owner )
1775 this.el = new Gtk.Image();
1779 // set gobject values
1780 this.el.icon_name = "appointment-new";
1783 // user defined functions
1789 public class Xcls_addprojectbutton : Object
1791 public Clutter.Actor el;
1792 private Xcls_MainWindow _this;
1798 public Xcls_addprojectbutton(Xcls_MainWindow _owner )
1801 _this.addprojectbutton = this;
1802 this.el = new Clutter.Actor();
1806 // set gobject values
1807 var child_0 = new Xcls_Actor54( _this );
1809 this.el.add_child ( child_0.el );
1813 this.el.set_size(50.0f,50.0f);
1816 // user defined functions
1818 public class Xcls_Actor54 : Object
1820 public GtkClutter.Actor el;
1821 private Xcls_MainWindow _this;
1827 public Xcls_Actor54(Xcls_MainWindow _owner )
1830 this.el = new GtkClutter.Actor();
1834 // set gobject values
1835 var child_0 = new Xcls_Button55( _this );
1840 ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1843 // user defined functions
1845 public class Xcls_Button55 : Object
1847 public Gtk.Button el;
1848 private Xcls_MainWindow _this;
1854 public Xcls_Button55(Xcls_MainWindow _owner )
1857 this.el = new Gtk.Button();
1861 // set gobject values
1862 this.el.width_request = 50;
1863 this.el.height_request = 50;
1864 this.el.tooltip_text = "New\nProj.";
1865 var child_0 = new Xcls_Image56( _this );
1867 this.el.set_image ( child_0.el );
1870 this.el.clicked.connect( ( ) => {
1872 // create a new file in project..
1873 //Xcls_DialogNewComponent.singleton().show(
1874 var pe = EditProject.singleton();
1875 pe.el.set_transient_for(_this.el);
1876 pe.el.set_modal(true);
1885 _this.windowstate.left_projects.is_loaded = false;
1886 _this.windowstate.left_projects.load();
1887 _this.windowstate.left_projects.selectProject(p);
1894 // user defined functions
1896 public class Xcls_Image56 : Object
1898 public Gtk.Image el;
1899 private Xcls_MainWindow _this;
1905 public Xcls_Image56(Xcls_MainWindow _owner )
1908 this.el = new Gtk.Image();
1912 // set gobject values
1913 this.el.icon_name = "folder-new";
1916 // user defined functions
1922 public class Xcls_addfilebutton : Object
1924 public Clutter.Actor el;
1925 private Xcls_MainWindow _this;
1931 public Xcls_addfilebutton(Xcls_MainWindow _owner )
1934 _this.addfilebutton = this;
1935 this.el = new Clutter.Actor();
1939 // set gobject values
1940 var child_0 = new Xcls_Actor58( _this );
1942 this.el.add_child ( child_0.el );
1946 this.el.set_size(50.0f,50.0f);
1949 // user defined functions
1951 public class Xcls_Actor58 : Object
1953 public GtkClutter.Actor el;
1954 private Xcls_MainWindow _this;
1960 public Xcls_Actor58(Xcls_MainWindow _owner )
1963 this.el = new GtkClutter.Actor();
1967 // set gobject values
1968 var child_0 = new Xcls_Button59( _this );
1973 ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
1976 // user defined functions
1978 public class Xcls_Button59 : Object
1980 public Gtk.Button el;
1981 private Xcls_MainWindow _this;
1987 public Xcls_Button59(Xcls_MainWindow _owner )
1990 this.el = new Gtk.Button();
1994 // set gobject values
1995 this.el.width_request = 50;
1996 this.el.height_request = 50;
1997 this.el.tooltip_text = "Add File";
1998 var child_0 = new Xcls_Image60( _this );
2000 this.el.set_image ( child_0.el );
2003 this.el.clicked.connect( () => {
2004 // create a new file in project..
2005 print("add file selected\n");
2006 // what's the currently selected project...
2007 var proj = _this.windowstate.left_projects.getSelectedProject();
2010 print("no project selected?\n");
2014 print("creating file?");
2016 var f = JsRender.JsRender.factory(proj.xtype, proj, "");
2017 _this.project = proj;
2018 print("showing popup?");
2019 _this.windowstate.file_details.show(
2028 // user defined functions
2030 public class Xcls_Image60 : Object
2032 public Gtk.Image el;
2033 private Xcls_MainWindow _this;
2039 public Xcls_Image60(Xcls_MainWindow _owner )
2042 this.el = new Gtk.Image();
2046 // set gobject values
2047 this.el.icon_name = "document-new";
2050 // user defined functions
2056 public class Xcls_delprojectbutton : Object
2058 public Clutter.Actor el;
2059 private Xcls_MainWindow _this;
2065 public Xcls_delprojectbutton(Xcls_MainWindow _owner )
2068 _this.delprojectbutton = this;
2069 this.el = new Clutter.Actor();
2073 // set gobject values
2074 var child_0 = new Xcls_Actor62( _this );
2076 this.el.add_child ( child_0.el );
2080 this.el.set_size(50,50);
2083 // user defined functions
2085 public class Xcls_Actor62 : Object
2087 public GtkClutter.Actor el;
2088 private Xcls_MainWindow _this;
2094 public Xcls_Actor62(Xcls_MainWindow _owner )
2097 this.el = new GtkClutter.Actor();
2101 // set gobject values
2102 var child_0 = new Xcls_Button63( _this );
2107 ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
2110 // user defined functions
2112 public class Xcls_Button63 : Object
2114 public Gtk.Button el;
2115 private Xcls_MainWindow _this;
2121 public Xcls_Button63(Xcls_MainWindow _owner )
2124 this.el = new Gtk.Button();
2128 // set gobject values
2129 this.el.width_request = 50;
2130 this.el.height_request = 50;
2131 this.el.tooltip_text = "Delete Project";
2132 var child_0 = new Xcls_Image64( _this );
2134 this.el.set_image ( child_0.el );
2137 this.el.clicked.connect( ( ) => {
2139 var cd = DialogConfirm.singleton();
2140 cd.el.set_transient_for(_this.el);
2141 cd.el.set_modal(true);
2143 var project = _this.windowstate.left_projects.getSelectedProject();
2144 if (project == null) {
2145 print("SKIP - no project\n");
2150 if (Gtk.ResponseType.YES != cd.show("Confirm",
2151 "Are you sure you want to delete project %s".printf(project.name))) {
2157 Project.Project.remove(project);
2158 _this.project = null;
2160 _this.windowstate.left_projects.is_loaded = false;
2161 _this.windowstate.left_projects.load();
2162 _this.windowstate.clutterfiles.clearFiles();
2167 // user defined functions
2169 public class Xcls_Image64 : Object
2171 public Gtk.Image el;
2172 private Xcls_MainWindow _this;
2178 public Xcls_Image64(Xcls_MainWindow _owner )
2181 this.el = new Gtk.Image();
2185 // set gobject values
2186 this.el.icon_name = "user-trash";
2189 // user defined functions
2199 public class Xcls_Box65 : Object
2202 private Xcls_MainWindow _this;
2208 public Xcls_Box65(Xcls_MainWindow _owner )
2211 this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
2215 // set gobject values
2216 this.el.homogeneous = false;
2217 var child_0 = new Xcls_Label66( _this );
2219 this.el.pack_start ( child_0.el , true,true,0 );
2220 var child_1 = new Xcls_statusbar( _this );
2222 this.el.pack_start ( child_1.el , true,true,0 );
2223 var child_2 = new Xcls_search_entry( _this );
2225 this.el.pack_start ( child_2.el , false,true,0 );
2226 var child_3 = new Xcls_MenuBar69( _this );
2228 this.el.pack_end ( child_3.el , false,true,0 );
2229 var child_4 = new Xcls_Spinner80( _this );
2231 this.el.pack_start ( child_4.el , ?bool?,?bool?,?uint? );
2234 // user defined functions
2236 public class Xcls_Label66 : Object
2238 public Gtk.Label el;
2239 private Xcls_MainWindow _this;
2245 public Xcls_Label66(Xcls_MainWindow _owner )
2248 this.el = new Gtk.Label( " " );
2252 // set gobject values
2255 // user defined functions
2258 public class Xcls_statusbar : Object
2260 public Gtk.ProgressBar el;
2261 private Xcls_MainWindow _this;
2265 public ulong handler_id;
2268 public Xcls_statusbar(Xcls_MainWindow _owner )
2271 _this.statusbar = this;
2272 this.el = new Gtk.ProgressBar();
2275 this.handler_id = -1;
2277 // set gobject values
2278 this.el.show_text = true;
2283 this.handler_id = Resources.singleton().updateProgress.connect((pos,total) => {
2286 _this.mainpane.el.set_sensitive(true);
2290 _this.mainpane.el.set_sensitive(false);
2292 this.el.set_fraction ((1.0f * pos) / (1.0f * total));
2293 this.el.set_text("Fetching Resource : %s/%s".printf(pos.to_string(), total.to_string()));
2299 // user defined functions
2302 public class Xcls_search_entry : Object
2304 public Gtk.SearchEntry el;
2305 private Xcls_MainWindow _this;
2311 public Xcls_search_entry(Xcls_MainWindow _owner )
2314 _this.search_entry = this;
2315 this.el = new Gtk.SearchEntry();
2319 // set gobject values
2323 var description = Pango.FontDescription.from_string("monospace");
2324 description.set_size(8000);
2325 this.el.override_font(description);
2328 this.el.key_press_event.connect( (event) => {
2330 if (event.keyval == Gdk.Key.Return) {
2331 this.forwardSearch(false);
2335 // print(event.key.keyval)
2340 this.el.changed.connect( () => {
2341 if (this.el.text == "") {
2342 _this.search_results.el.hide();
2346 switch(_this.windowstate.state) {
2347 case WindowState.State.CODEONLY:
2348 case WindowState.State.CODE:
2349 // search the code being edited..
2350 res = _this.windowstate.code_editor.search(this.el.text);
2353 case WindowState.State.PREVIEW:
2354 if (_this.windowstate.file.xtype == "Gtk") {
2355 res = _this.windowstate.window_gladeview.search(this.el.text);
2357 res = _this.windowstate.window_rooview.search(this.el.text);
2363 _this.search_results.el.show();
2365 _this.search_results.el.label = "%d Matches".printf(res);
2367 _this.search_results.el.label = "No Matches";
2375 // user defined functions
2376 public void forwardSearch (bool change_focus) {
2377 switch(_this.windowstate.state) {
2378 case WindowState.State.CODEONLY:
2379 case WindowState.State.CODE:
2380 // search the code being edited..
2381 _this.windowstate.code_editor.forwardSearch(change_focus);
2384 case WindowState.State.PREVIEW:
2385 if (_this.windowstate.file.xtype == "Gtk") {
2386 _this.windowstate.window_gladeview.forwardSearch(change_focus);
2388 _this.windowstate.window_rooview.forwardSearch(change_focus);
2397 public class Xcls_MenuBar69 : Object
2399 public Gtk.MenuBar el;
2400 private Xcls_MainWindow _this;
2406 public Xcls_MenuBar69(Xcls_MainWindow _owner )
2409 this.el = new Gtk.MenuBar();
2413 // set gobject values
2414 var child_0 = new Xcls_search_results( _this );
2416 this.el.add ( child_0.el );
2417 var child_1 = new Xcls_statusbar_errors( _this );
2419 this.el.add ( child_1.el );
2420 var child_2 = new Xcls_statusbar_warnings( _this );
2422 this.el.add ( child_2.el );
2423 var child_3 = new Xcls_statusbar_depricated( _this );
2425 this.el.add ( child_3.el );
2426 var child_4 = new Xcls_statusbar_run( _this );
2428 this.el.add ( child_4.el );
2431 // user defined functions
2433 public class Xcls_search_results : Object
2435 public Gtk.ImageMenuItem el;
2436 private Xcls_MainWindow _this;
2440 public Xcls_ValaCompileErrors popup;
2443 public Xcls_search_results(Xcls_MainWindow _owner )
2446 _this.search_results = this;
2447 this.el = new Gtk.ImageMenuItem();
2451 // set gobject values
2452 this.el.always_show_image = true;
2453 this.el.label = "Matches";
2454 var child_0 = new Xcls_Image71( _this );
2456 this.el.set_image ( child_0.el );
2459 this.el.button_press_event.connect( () => {
2461 if (this.popup == null) {
2462 this.popup = new Xcls_ValaCompileErrors();
2463 this.popup.window = _this;
2467 this.popup.show(this.notices, this.el);
2473 // user defined functions
2475 public class Xcls_Image71 : Object
2477 public Gtk.Image el;
2478 private Xcls_MainWindow _this;
2484 public Xcls_Image71(Xcls_MainWindow _owner )
2487 this.el = new Gtk.Image();
2491 // set gobject values
2492 this.el.icon_name = "system-search";
2493 this.el.sensitive = false;
2496 // user defined functions
2500 public class Xcls_statusbar_errors : Object
2502 public Gtk.ImageMenuItem el;
2503 private Xcls_MainWindow _this;
2507 public Xcls_ValaCompileErrors popup;
2508 public Json.Object notices;
2511 public Xcls_statusbar_errors(Xcls_MainWindow _owner )
2514 _this.statusbar_errors = this;
2515 this.el = new Gtk.ImageMenuItem();
2518 this.notices = new Json.Object() ;
2520 // set gobject values
2521 this.el.always_show_image = true;
2522 this.el.label = "Errors";
2523 var child_0 = new Xcls_Image73( _this );
2525 this.el.set_image ( child_0.el );
2528 this.el.button_press_event.connect( () => {
2529 if (this.popup == null) {
2530 this.popup = new Xcls_ValaCompileErrors();
2531 this.popup.window = _this;
2535 this.popup.show(this.notices, this.el);
2540 // user defined functions
2541 public void setNotices (Json.Object nots, int qty) {
2543 this.el.label = qty.to_string() + " Errors";
2544 this.notices = nots;
2548 public class Xcls_Image73 : Object
2550 public Gtk.Image el;
2551 private Xcls_MainWindow _this;
2557 public Xcls_Image73(Xcls_MainWindow _owner )
2560 this.el = new Gtk.Image();
2564 // set gobject values
2565 this.el.icon_name = "dialog-error";
2568 // user defined functions
2572 public class Xcls_statusbar_warnings : Object
2574 public Gtk.ImageMenuItem el;
2575 private Xcls_MainWindow _this;
2579 public Xcls_ValaCompileErrors popup;
2580 public Json.Object notices;
2583 public Xcls_statusbar_warnings(Xcls_MainWindow _owner )
2586 _this.statusbar_warnings = this;
2587 this.el = new Gtk.ImageMenuItem();
2590 this.notices = new Json.Object();
2592 // set gobject values
2593 this.el.always_show_image = true;
2594 this.el.label = "Warnings";
2595 var child_0 = new Xcls_Image75( _this );
2597 this.el.set_image ( child_0.el );
2600 this.el.button_press_event.connect( () => {
2601 if (this.popup == null) {
2602 this.popup = new Xcls_ValaCompileErrors();
2603 this.popup.window = _this;
2606 this.popup.show(this.notices, this.el);
2611 // user defined functions
2612 public void setNotices (Json.Object nots, int qty) {
2614 this.el.label = qty.to_string() + " Warnings";
2615 this.notices = nots;
2619 public class Xcls_Image75 : Object
2621 public Gtk.Image el;
2622 private Xcls_MainWindow _this;
2628 public Xcls_Image75(Xcls_MainWindow _owner )
2631 this.el = new Gtk.Image();
2635 // set gobject values
2636 this.el.icon_name = "dialog-warning";
2639 // user defined functions
2643 public class Xcls_statusbar_depricated : Object
2645 public Gtk.ImageMenuItem el;
2646 private Xcls_MainWindow _this;
2650 public Xcls_ValaCompileErrors popup;
2651 public Json.Object notices;
2654 public Xcls_statusbar_depricated(Xcls_MainWindow _owner )
2657 _this.statusbar_depricated = this;
2658 this.el = new Gtk.ImageMenuItem();
2661 this.notices = new Json.Object();
2663 // set gobject values
2664 this.el.always_show_image = true;
2665 this.el.label = "Depricated";
2666 var child_0 = new Xcls_Image77( _this );
2668 this.el.set_image ( child_0.el );
2671 this.el.button_press_event.connect( () => {
2672 if (this.popup == null) {
2673 this.popup = new Xcls_ValaCompileErrors();
2674 this.popup.window = _this;
2678 this.popup.show(this.notices, this.el);
2683 // user defined functions
2684 public void setNotices (Json.Object nots, int qty) {
2686 this.el.label = qty.to_string() + " Depricated";
2687 this.notices = nots;
2691 public class Xcls_Image77 : Object
2693 public Gtk.Image el;
2694 private Xcls_MainWindow _this;
2700 public Xcls_Image77(Xcls_MainWindow _owner )
2703 this.el = new Gtk.Image();
2707 // set gobject values
2708 this.el.icon_name = "dialog-information";
2711 // user defined functions
2715 public class Xcls_statusbar_run : Object
2717 public Gtk.ImageMenuItem el;
2718 private Xcls_MainWindow _this;
2722 public Xcls_ValaCompileErrors popup;
2725 public Xcls_statusbar_run(Xcls_MainWindow _owner )
2728 _this.statusbar_run = this;
2729 this.el = new Gtk.ImageMenuItem();
2733 // set gobject values
2734 this.el.always_show_image = true;
2735 this.el.label = "Run";
2736 var child_0 = new Xcls_Image79( _this );
2738 this.el.set_image ( child_0.el );
2741 this.el.button_press_event.connect( () => {
2742 if (_this.windowstate.file == null) {
2745 _this.windowstate.valasource.spawnExecute(_this.windowstate.file);
2747 _this.windowstate.compile_results.show(this.el,true);
2753 // user defined functions
2755 public class Xcls_Image79 : Object
2757 public Gtk.Image el;
2758 private Xcls_MainWindow _this;
2764 public Xcls_Image79(Xcls_MainWindow _owner )
2767 this.el = new Gtk.Image();
2771 // set gobject values
2772 this.el.icon_name = "media-playback-start";
2775 // user defined functions
2780 public class Xcls_Spinner80 : Object
2782 public Gtk.Spinner el;
2783 private Xcls_MainWindow _this;
2789 public Xcls_Spinner80(Xcls_MainWindow _owner )
2792 this.el = new Gtk.Spinner();
2796 // set gobject values
2799 // user defined functions