src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 09:12:35 +0000 (17:12 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 09:12:35 +0000 (17:12 +0800)
src/Builder4/MainWindow.vala

src/Builder4/MainWindow.bjs
src/Builder4/MainWindow.vala

index decb3ca..3de13ee 100644 (file)
@@ -31,8 +31,8 @@
    "items" : [
     {
      "id" : "headerbar",
-     "xtype" : "HeaderBar",
      "* pack" : "set_titlebar",
+     "xtype" : "HeaderBar",
      "bool show_close_button" : true,
      "$ xns" : "Gtk",
      "string title" : "Application Builder",
@@ -44,8 +44,8 @@
        "items" : [
         {
          "bool use_popover" : false,
-         "xtype" : "MenuButton",
          "* pack" : "add",
+         "xtype" : "MenuButton",
          "$ xns" : "Gtk",
          "items" : [
           {
@@ -59,9 +59,9 @@
              "listeners" : {
               "activate" : "  ( ) => {\n        Xcls_MainWindow.singleton().no_windows++;\n        var w = new Xcls_MainWindow();\n        w.ref();\n\n        w.el.show_all();\n        w.initChildren();\n        w.windowstate.switchState(WindowState.State.FILES);\n}"
              },
+             "string label" : "Open a new Window",
              "* pack" : "append",
              "xtype" : "MenuItem",
-             "string label" : "Open a new Window",
              "$ xns" : "Gtk"
             },
             {
              "listeners" : {
               "activate" : " ( ) => {\n         Resources.singleton().fetchStart();\n}"
              },
+             "xtype" : "MenuItem",
              "string label" : "Download updated Resources",
              "* pack" : "append",
-             "xtype" : "MenuItem",
              "$ xns" : "Gtk"
             },
             {
              "listeners" : {
               "activate" : "() => {\n    About.singleton().el.show();\n    }"
              },
+             "* pack" : "append",
              "xtype" : "MenuItem",
              "string label" : "About the Builder",
-             "* pack" : "append",
              "$ xns" : "Gtk"
             }
            ]
           },
           {
+           "utf8 icon_name" : "help-about",
            "* pack" : "set_image",
            "xtype" : "Image",
-           "utf8 icon_name" : "help-about",
            "$ xns" : "Gtk"
           }
          ]
     },
     {
      "id" : "vbox",
-     "* pack" : "add",
      "xtype" : "VBox",
+     "* pack" : "add",
      "$ xns" : "Gtk",
      "$ homogeneous" : false,
      "items" : [
        "items" : [
         {
          "id" : "leftpane",
-         "xtype" : "VBox",
          "* pack" : "add1",
+         "xtype" : "VBox",
          "$ xns" : "Gtk",
          "items" : [
           {
            "id" : "editpane",
-           "xtype" : "VPaned",
            "* pack" : "pack_start,false,true,0",
+           "xtype" : "VPaned",
            "$ xns" : "Gtk",
            "items" : [
             {
              "id" : "tree",
-             "xtype" : "VBox",
              "* pack" : "add1",
+             "xtype" : "VBox",
              "$ xns" : "Gtk"
             },
             {
              "id" : "props",
-             "xtype" : "VBox",
              "* pack" : "add2",
+             "xtype" : "VBox",
              "$ xns" : "Gtk"
             }
            ]
                "items" : [
                 {
                  "* init" : "((Gtk.Container)(this.el.get_widget())).add ( child_0.el);",
-                 "xtype" : "Actor",
                  "* pack" : "add_child",
+                 "xtype" : "Actor",
                  "$ xns" : "GtkClutter",
                  "items" : [
                   {
                     "clicked" : "  ( ) => {\n  \n    _this.windowstate.switchState(WindowState.State.PREVIEW);\n    \n\n}"
                    },
                    "utf8 tooltip_text" : "Back",
-                   "* pack" : false,
                    "xtype" : "Button",
+                   "* pack" : false,
                    "width_request" : 50,
                    "$ xns" : "Gtk",
                    "height_request" : 50,
                    "items" : [
                     {
+                     "xtype" : "Image",
                      "utf8 icon_name" : "go-previous",
                      "* pack" : "set_image",
-                     "xtype" : "Image",
                      "$ xns" : "Gtk"
                     }
                    ]
                "items" : [
                 {
                  "* init" : "((Gtk.Container)(this.el.get_widget())).add ( child_0.el);",
-                 "* pack" : "add_child",
                  "xtype" : "Actor",
+                 "* pack" : "add_child",
                  "$ xns" : "GtkClutter",
                  "items" : [
                   {
                    "$ tooltop_text" : "\"Open File\"",
                    "items" : [
                     {
+                     "* pack" : "set_image",
                      "xtype" : "Image",
                      "utf8 icon_name" : "document-open",
-                     "* pack" : "set_image",
                      "$ xns" : "Gtk"
                     }
                    ]
                "items" : [
                 {
                  "* init" : "((Gtk.Container)(this.el.get_widget())).add ( child_0.el);",
-                 "* pack" : "add_child",
                  "xtype" : "Actor",
+                 "* pack" : "add_child",
                  "$ xns" : "GtkClutter",
                  "items" : [
                   {
                    "height_request" : 50,
                    "items" : [
                     {
+                     "utf8 icon_name" : "document-properties",
                      "* pack" : "set_image",
                      "xtype" : "Image",
-                     "utf8 icon_name" : "document-properties",
                      "$ xns" : "Gtk"
                     }
                    ]
                "items" : [
                 {
                  "* init" : "((Gtk.Container)(this.el.get_widget())).add ( child_0.el);",
-                 "* pack" : "add_child",
                  "xtype" : "Actor",
+                 "* pack" : "add_child",
                  "$ xns" : "GtkClutter",
                  "items" : [
                   {
                    "height_request" : 50,
                    "items" : [
                     {
+                     "xtype" : "Image",
                      "utf8 icon_name" : "emblem-system",
                      "* pack" : "set_image",
-                     "xtype" : "Image",
                      "$ xns" : "Gtk"
                     }
                    ]
                "items" : [
                 {
                  "* init" : "((Gtk.Container)(this.el.get_widget())).add ( child_0.el);",
-                 "* pack" : "add_child",
                  "xtype" : "Actor",
+                 "* pack" : "add_child",
                  "$ xns" : "GtkClutter",
                  "items" : [
                   {
                    "height_request" : 50,
                    "items" : [
                     {
+                     "* pack" : "set_image",
                      "xtype" : "Image",
                      "utf8 icon_name" : "list-add",
-                     "* pack" : "set_image",
                      "$ xns" : "Gtk"
                     }
                    ]
                "items" : [
                 {
                  "* init" : "((Gtk.Container)(this.el.get_widget())).add ( child_0.el);",
-                 "* pack" : "add_child",
                  "xtype" : "Actor",
+                 "* pack" : "add_child",
                  "$ xns" : "GtkClutter",
                  "items" : [
                   {
                    "height_request" : 50,
                    "items" : [
                     {
+                     "utf8 icon_name" : "format-justify-left",
                      "* pack" : "set_image",
                      "xtype" : "Image",
-                     "utf8 icon_name" : "format-justify-left",
                      "$ xns" : "Gtk"
                     }
                    ]
                "items" : [
                 {
                  "* init" : "((Gtk.Container)(this.el.get_widget())).add ( child_0.el);",
-                 "* pack" : "add_child",
                  "xtype" : "Actor",
+                 "* pack" : "add_child",
                  "$ xns" : "GtkClutter",
                  "items" : [
                   {
                    "height_request" : 50,
                    "items" : [
                     {
+                     "xtype" : "Image",
                      "utf8 icon_name" : "appointment-new",
                      "* pack" : "set_image",
-                     "xtype" : "Image",
                      "$ xns" : "Gtk"
                     }
                    ]
                "items" : [
                 {
                  "* init" : "((Gtk.Container)(this.el.get_widget())).add ( child_0.el);",
-                 "* pack" : "add_child",
                  "xtype" : "Actor",
+                 "* pack" : "add_child",
                  "$ xns" : "GtkClutter",
                  "items" : [
                   {
                    "listeners" : {
-                    "clicked" : "  ( ) => {\n  \n    // create a new file in project..\n    //Xcls_DialogNewComponent.singleton().show(\n   var  pe =     Xcls_EditProject.singleton();\n    pe.el.set_transient_for(_this.el);\n    pe.el.set_modal(true);   \n   \n    var p  = pe.show();\n\n    if (p == null) {\n        return;\n    }\n    \n    \n    _this.windowstate.left_projects.is_loaded = false;    \n    _this.windowstate.left_projects.load();\n    _this.windowstate.left_projects.selectProject(p);\n    return  ;    \n\n\n}"
+                    "clicked" : "  ( ) => {\n  \n    // create a new file in project..\n    //Xcls_DialogNewComponent.singleton().show(\n   var  pe =      EditProject.singleton();\n    pe.el.set_transient_for(_this.el);\n    pe.el.set_modal(true);   \n   \n    var p  = pe.show();\n\n    if (p == null) {\n        return;\n    }\n    \n    \n    _this.windowstate.left_projects.is_loaded = false;    \n    _this.windowstate.left_projects.load();\n    _this.windowstate.left_projects.selectProject(p);\n    return  ;    \n\n\n}"
                    },
                    "* pack" : false,
                    "xtype" : "Button",
                    "height_request" : 50,
                    "items" : [
                     {
+                     "utf8 icon_name" : "folder-new",
                      "* pack" : "set_image",
                      "xtype" : "Image",
-                     "utf8 icon_name" : "folder-new",
                      "$ xns" : "Gtk"
                     }
                    ]
                "items" : [
                 {
                  "* init" : "((Gtk.Container)(this.el.get_widget())).add ( child_0.el);",
-                 "* pack" : "add_child",
                  "xtype" : "Actor",
+                 "* pack" : "add_child",
                  "$ xns" : "GtkClutter",
                  "items" : [
                   {
                    "height_request" : 50,
                    "items" : [
                     {
+                     "* pack" : "set_image",
                      "xtype" : "Image",
                      "utf8 icon_name" : "document-new",
-                     "* pack" : "set_image",
                      "$ xns" : "Gtk"
                     }
                    ]
                "items" : [
                 {
                  "* init" : "((Gtk.Container)(this.el.get_widget())).add ( child_0.el);",
-                 "* pack" : "add_child",
                  "xtype" : "Actor",
+                 "* pack" : "add_child",
                  "$ xns" : "GtkClutter",
                  "items" : [
                   {
                    "height_request" : 50,
                    "items" : [
                     {
+                     "utf8 icon_name" : "user-trash",
                      "* pack" : "set_image",
                      "xtype" : "Image",
-                     "utf8 icon_name" : "user-trash",
                      "$ xns" : "Gtk"
                     }
                    ]
       },
       {
        "bool homogeneous" : false,
-       "xtype" : "HBox",
        "* pack" : "pack_end,false,true,0",
+       "xtype" : "HBox",
        "$ xns" : "Gtk",
        "items" : [
         {
+         "* pack" : "pack_start,true,true,0",
          "xtype" : "Label",
          "string label" : "   ",
-         "* pack" : "pack_start,true,true,0",
          "$ xns" : "Gtk"
         },
         {
          "bool show_text" : true,
-         "id" : "statusbar",
          "ulong handler_id" : "-1",
+         "id" : "statusbar",
          "* init" : "{\n     this.handler_id = Resources.singleton().updateProgress.connect((pos,total) => {\n        if (pos < 1) {\n            this.el.hide();\n            _this.mainpane.el.set_sensitive(true);\n            \n            return;\n        }\n         _this.mainpane.el.set_sensitive(false);\n         this.el.show();\n         this.el.set_fraction ((1.0f * pos) / (1.0f * total));\n         this.el.set_text(\"Fetching Resource : %s/%s\".printf(pos.to_string(), total.to_string()));\n       \n     });\n}\n",
          "xtype" : "ProgressBar",
          "* pack" : "pack_start,true,true,0",
          "$ xns" : "Gtk",
          "items" : [
           {
+           "xtype" : "MenuItem",
            "string label" : "Compile Status:",
            "* pack" : "add",
-           "xtype" : "MenuItem",
            "$ xns" : "Gtk"
           },
           {
            "$ xns" : "Gtk",
            "items" : [
             {
+             "xtype" : "Image",
              "utf8 icon_name" : "dialog-error",
              "* pack" : "set_image",
-             "xtype" : "Image",
              "$ xns" : "Gtk"
             }
            ]
            "$ xns" : "Gtk",
            "items" : [
             {
+             "* pack" : "set_image",
              "xtype" : "Image",
              "utf8 icon_name" : "dialog-warning",
-             "* pack" : "set_image",
              "$ xns" : "Gtk"
             }
            ]
            "$ xns" : "Gtk",
            "items" : [
             {
+             "utf8 icon_name" : "dialog-information",
              "* pack" : "set_image",
              "xtype" : "Image",
-             "utf8 icon_name" : "dialog-information",
              "$ xns" : "Gtk"
             }
            ]
index 26091ee..1cf2528 100644 (file)
@@ -1,6 +1,6 @@
 static Xcls_MainWindow  _MainWindow;
 
-public class Xcls_MainWindow : Object 
+public class Xcls_MainWindow : Object
 {
     public Gtk.Window el;
     private Xcls_MainWindow  _this;
@@ -48,7 +48,7 @@ public class Xcls_MainWindow : Object
     public int no_windows;
     public WindowState windowstate;
 
-    // ctor 
+    // ctor
     public Xcls_MainWindow()
     {
         _this = this;
@@ -71,11 +71,11 @@ public class Xcls_MainWindow : Object
         child_1.ref();
         this.el.add (  child_1.el  );
 
-        // init method 
+        // init method
 
         //this.el.show_all();
 
-        // listeners 
+        //listeners
         this.el.delete_event.connect( (   event) => {
             return false;
         });
@@ -105,7 +105,7 @@ public class Xcls_MainWindow : Object
         });
     }
 
-    // user defined functions 
+    // user defined functions
     public        void initChildren () {
         // this needs putting in a better place..
         this.windowstate = new WindowState(this);
@@ -130,7 +130,7 @@ public class Xcls_MainWindow : Object
     public             void setTitle (string str) {
         this.headerbar.el.set_title(this.title + " - " + str);
     }
-    public class Xcls_headerbar : Object 
+    public class Xcls_headerbar : Object
     {
         public Gtk.HeaderBar el;
         private Xcls_MainWindow  _this;
@@ -138,7 +138,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_headerbar(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -155,9 +155,9 @@ public class Xcls_MainWindow : Object
             this.el.pack_start (  child_0.el  );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_HBox3 : Object 
+    public class Xcls_HBox3 : Object
     {
         public Gtk.HBox el;
         private Xcls_MainWindow  _this;
@@ -165,7 +165,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_HBox3(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -179,9 +179,9 @@ public class Xcls_MainWindow : Object
             this.el.add (  child_0.el  );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_MenuButton4 : Object 
+    public class Xcls_MenuButton4 : Object
     {
         public Gtk.MenuButton el;
         private Xcls_MainWindow  _this;
@@ -189,7 +189,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_MenuButton4(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -207,9 +207,9 @@ public class Xcls_MainWindow : Object
             this.el.set_image (  child_1.el  );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_topbarmenu : Object 
+    public class Xcls_topbarmenu : Object
     {
         public Gtk.Menu el;
         private Xcls_MainWindow  _this;
@@ -217,7 +217,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_topbarmenu(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -240,16 +240,16 @@ public class Xcls_MainWindow : Object
             child_3.ref();
             this.el.append (  child_3.el  );
 
-            // init method 
+            // init method
 
             {
                 this.el.show_all();
             }
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_MenuItem6 : Object 
+    public class Xcls_MenuItem6 : Object
     {
         public Gtk.MenuItem el;
         private Xcls_MainWindow  _this;
@@ -257,7 +257,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_MenuItem6(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -268,7 +268,7 @@ public class Xcls_MainWindow : Object
             // set gobject values
             this.el.label = "Open a new Window";
 
-            // listeners 
+            //listeners
             this.el.activate.connect( ( ) => {
                     Xcls_MainWindow.singleton().no_windows++;
                     var w = new Xcls_MainWindow();
@@ -280,9 +280,10 @@ public class Xcls_MainWindow : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_SeparatorMenuItem7 : Object 
+
+    public class Xcls_SeparatorMenuItem7 : Object
     {
         public Gtk.SeparatorMenuItem el;
         private Xcls_MainWindow  _this;
@@ -290,7 +291,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_SeparatorMenuItem7(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -301,9 +302,10 @@ public class Xcls_MainWindow : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_MenuItem8 : Object 
+
+    public class Xcls_MenuItem8 : Object
     {
         public Gtk.MenuItem el;
         private Xcls_MainWindow  _this;
@@ -311,7 +313,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_MenuItem8(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -322,15 +324,16 @@ public class Xcls_MainWindow : Object
             // set gobject values
             this.el.label = "Download updated Resources";
 
-            // listeners 
+            //listeners
             this.el.activate.connect( ( ) => {
                      Resources.singleton().fetchStart();
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_MenuItem9 : Object 
+
+    public class Xcls_MenuItem9 : Object
     {
         public Gtk.MenuItem el;
         private Xcls_MainWindow  _this;
@@ -338,7 +341,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_MenuItem9(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -349,15 +352,17 @@ public class Xcls_MainWindow : Object
             // set gobject values
             this.el.label = "About the Builder";
 
-            // listeners 
+            //listeners
             this.el.activate.connect( () => {
                 About.singleton().el.show();
                 });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Image10 : Object 
+
+
+    public class Xcls_Image10 : Object
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -365,7 +370,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Image10(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -377,9 +382,13 @@ public class Xcls_MainWindow : Object
             this.el.icon_name = "help-about";
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_vbox : Object 
+
+
+
+
+    public class Xcls_vbox : Object
     {
         public Gtk.VBox el;
         private Xcls_MainWindow  _this;
@@ -387,7 +396,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_vbox(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -405,9 +414,9 @@ public class Xcls_MainWindow : Object
             this.el.pack_end (  child_1.el , false,true,0 );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_mainpane : Object 
+    public class Xcls_mainpane : Object
     {
         public Gtk.HPaned el;
         private Xcls_MainWindow  _this;
@@ -416,7 +425,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
         public int lastWidth;
 
-        // ctor 
+        // ctor
         public Xcls_mainpane(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -436,9 +445,9 @@ public class Xcls_MainWindow : Object
             this.el.add2 (  child_1.el  );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_leftpane : Object 
+    public class Xcls_leftpane : Object
     {
         public Gtk.VBox el;
         private Xcls_MainWindow  _this;
@@ -446,7 +455,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_leftpane(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -461,9 +470,9 @@ public class Xcls_MainWindow : Object
             this.el.pack_start (  child_0.el , false,true,0 );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_editpane : Object 
+    public class Xcls_editpane : Object
     {
         public Gtk.VPaned el;
         private Xcls_MainWindow  _this;
@@ -471,7 +480,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_editpane(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -489,9 +498,9 @@ public class Xcls_MainWindow : Object
             this.el.add2 (  child_1.el  );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_tree : Object 
+    public class Xcls_tree : Object
     {
         public Gtk.VBox el;
         private Xcls_MainWindow  _this;
@@ -499,7 +508,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_tree(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -511,9 +520,10 @@ public class Xcls_MainWindow : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_props : Object 
+
+    public class Xcls_props : Object
     {
         public Gtk.VBox el;
         private Xcls_MainWindow  _this;
@@ -521,7 +531,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_props(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -533,9 +543,12 @@ public class Xcls_MainWindow : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_VBox17 : Object 
+
+
+
+    public class Xcls_VBox17 : Object
     {
         public Gtk.VBox el;
         private Xcls_MainWindow  _this;
@@ -543,7 +556,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_VBox17(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -557,9 +570,9 @@ public class Xcls_MainWindow : Object
             this.el.pack_start (  child_0.el , true,true,0 );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_clutterembed : Object 
+    public class Xcls_clutterembed : Object
     {
         public GtkClutter.Embed el;
         private Xcls_MainWindow  _this;
@@ -567,7 +580,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_clutterembed(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -596,12 +609,12 @@ public class Xcls_MainWindow : Object
             child_5.ref();
             this.el.get_stage().add_child (  child_5.el  );
 
-            // init method 
+            // init method
 
             var stage = this.el.get_stage();
                 stage.set_background_color(  Clutter.Color.from_string("#000"));
 
-            // listeners 
+            //listeners
             this.el.size_allocate.connect( (  alloc) => {
                 if (_this.windowstate == null) {
                     return;
@@ -611,9 +624,9 @@ public class Xcls_MainWindow : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_rooview : Object 
+    public class Xcls_rooview : Object
     {
         public GtkClutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -621,7 +634,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_rooview(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -632,7 +645,7 @@ public class Xcls_MainWindow : Object
 
             // set gobject values
 
-            // init method 
+            // init method
 
             {
                
@@ -654,9 +667,10 @@ public class Xcls_MainWindow : Object
             }
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_objectview : Object 
+
+    public class Xcls_objectview : Object
     {
         public GtkClutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -664,7 +678,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_objectview(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -675,7 +689,7 @@ public class Xcls_MainWindow : Object
 
             // set gobject values
 
-            // init method 
+            // init method
 
             {
                
@@ -699,9 +713,10 @@ public class Xcls_MainWindow : Object
             }
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_codeeditview : Object 
+
+    public class Xcls_codeeditview : Object
     {
         public GtkClutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -709,7 +724,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_codeeditview(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -720,7 +735,7 @@ public class Xcls_MainWindow : Object
 
             // set gobject values
 
-            // init method 
+            // init method
 
             {
                
@@ -744,9 +759,10 @@ public class Xcls_MainWindow : Object
             }
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_addpropsview : Object 
+
+    public class Xcls_addpropsview : Object
     {
         public GtkClutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -754,7 +770,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_addpropsview(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -765,7 +781,7 @@ public class Xcls_MainWindow : Object
 
             // set gobject values
 
-            // init method 
+            // init method
 
             {
                
@@ -789,9 +805,10 @@ public class Xcls_MainWindow : Object
             }
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_projecteditview : Object 
+
+    public class Xcls_projecteditview : Object
     {
         public GtkClutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -799,7 +816,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_projecteditview(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -810,7 +827,7 @@ public class Xcls_MainWindow : Object
 
             // set gobject values
 
-            // init method 
+            // init method
 
             {
                
@@ -832,9 +849,10 @@ public class Xcls_MainWindow : Object
             }
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_buttonlayout : Object 
+
+    public class Xcls_buttonlayout : Object
     {
         public Clutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -842,7 +860,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_buttonlayout(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -886,7 +904,7 @@ public class Xcls_MainWindow : Object
             child_10.ref();
             this.el.add_child (  child_10.el  );
 
-            // init method 
+            // init method
 
             {
                 
@@ -907,9 +925,9 @@ public class Xcls_MainWindow : Object
             }
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_BoxLayout25 : Object 
+    public class Xcls_BoxLayout25 : Object
     {
         public Clutter.BoxLayout el;
         private Xcls_MainWindow  _this;
@@ -917,7 +935,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_BoxLayout25(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -929,9 +947,10 @@ public class Xcls_MainWindow : Object
             this.el.orientation = Clutter.Orientation.VERTICAL;
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_backbutton : Object 
+
+    public class Xcls_backbutton : Object
     {
         public Clutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -939,7 +958,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_backbutton(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -953,14 +972,14 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.add_child (  child_0.el  );
 
-            // init method 
+            // init method
 
             this.el.set_size(50,50);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Actor27 : Object 
+    public class Xcls_Actor27 : Object
     {
         public GtkClutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -968,7 +987,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Actor27(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -980,14 +999,14 @@ public class Xcls_MainWindow : Object
             var child_0 = new Xcls_Button28( _this );
             child_0.ref();
 
-            // init method 
+            // init method
 
             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Button28 : Object 
+    public class Xcls_Button28 : Object
     {
         public Gtk.Button el;
         private Xcls_MainWindow  _this;
@@ -995,7 +1014,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Button28(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1011,7 +1030,7 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
-            // listeners 
+            //listeners
             this.el.clicked.connect( ( ) => {
               
                 _this.windowstate.switchState(WindowState.State.PREVIEW);
@@ -1020,9 +1039,9 @@ public class Xcls_MainWindow : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Image29 : Object 
+    public class Xcls_Image29 : Object
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -1030,7 +1049,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Image29(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1042,9 +1061,13 @@ public class Xcls_MainWindow : Object
             this.el.icon_name = "go-previous";
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_projectbutton : Object 
+
+
+
+
+    public class Xcls_projectbutton : Object
     {
         public Clutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -1052,7 +1075,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_projectbutton(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1066,14 +1089,14 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.add_child (  child_0.el  );
 
-            // init method 
+            // init method
 
             this.el.set_size(50,50);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Actor31 : Object 
+    public class Xcls_Actor31 : Object
     {
         public GtkClutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -1081,7 +1104,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Actor31(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1093,14 +1116,14 @@ public class Xcls_MainWindow : Object
             var child_0 = new Xcls_Button32( _this );
             child_0.ref();
 
-            // init method 
+            // init method
 
             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Button32 : Object 
+    public class Xcls_Button32 : Object
     {
         public Gtk.Button el;
         private Xcls_MainWindow  _this;
@@ -1108,7 +1131,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Button32(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1123,7 +1146,7 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
-            // listeners 
+            //listeners
             this.el.clicked.connect( ( ) => {
                _this.windowstate.switchState(WindowState.State.FILES);
                   
@@ -1131,9 +1154,9 @@ public class Xcls_MainWindow : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Image33 : Object 
+    public class Xcls_Image33 : Object
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -1141,7 +1164,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Image33(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1153,9 +1176,13 @@ public class Xcls_MainWindow : Object
             this.el.icon_name = "document-open";
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_editfilebutton : Object 
+
+
+
+
+    public class Xcls_editfilebutton : Object
     {
         public Clutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -1163,7 +1190,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_editfilebutton(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1177,14 +1204,14 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.add_child (  child_0.el  );
 
-            // init method 
+            // init method
 
             this.el.set_size(50.0f,50.0f);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Actor35 : Object 
+    public class Xcls_Actor35 : Object
     {
         public GtkClutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -1192,7 +1219,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Actor35(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1204,14 +1231,14 @@ public class Xcls_MainWindow : Object
             var child_0 = new Xcls_Button36( _this );
             child_0.ref();
 
-            // init method 
+            // init method
 
             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Button36 : Object 
+    public class Xcls_Button36 : Object
     {
         public Gtk.Button el;
         private Xcls_MainWindow  _this;
@@ -1219,7 +1246,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Button36(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1235,7 +1262,7 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
-            // listeners 
+            //listeners
             this.el.clicked.connect( ( ) => {
               
                 // create a new file in project..
@@ -1252,9 +1279,9 @@ public class Xcls_MainWindow : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Image37 : Object 
+    public class Xcls_Image37 : Object
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -1262,7 +1289,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Image37(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1274,9 +1301,13 @@ public class Xcls_MainWindow : Object
             this.el.icon_name = "document-properties";
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_projecteditbutton : Object 
+
+
+
+
+    public class Xcls_projecteditbutton : Object
     {
         public Clutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -1284,7 +1315,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_projecteditbutton(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1298,14 +1329,14 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.add_child (  child_0.el  );
 
-            // init method 
+            // init method
 
             this.el.set_size(50,50);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Actor39 : Object 
+    public class Xcls_Actor39 : Object
     {
         public GtkClutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -1313,7 +1344,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Actor39(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1325,14 +1356,14 @@ public class Xcls_MainWindow : Object
             var child_0 = new Xcls_Button40( _this );
             child_0.ref();
 
-            // init method 
+            // init method
 
             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Button40 : Object 
+    public class Xcls_Button40 : Object
     {
         public Gtk.Button el;
         private Xcls_MainWindow  _this;
@@ -1340,7 +1371,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Button40(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1356,7 +1387,7 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
-            // listeners 
+            //listeners
             this.el.clicked.connect( ( ) => {
                  _this.windowstate.switchState(WindowState.State.PROJECT);
                
@@ -1365,9 +1396,9 @@ public class Xcls_MainWindow : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Image41 : Object 
+    public class Xcls_Image41 : Object
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -1375,7 +1406,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Image41(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1387,9 +1418,13 @@ public class Xcls_MainWindow : Object
             this.el.icon_name = "emblem-system";
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_objectshowbutton : Object 
+
+
+
+
+    public class Xcls_objectshowbutton : Object
     {
         public Clutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -1397,7 +1432,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_objectshowbutton(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1411,11 +1446,11 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.add_child (  child_0.el  );
 
-            // init method 
+            // init method
 
             this.el.set_size(50,50);
 
-            // listeners 
+            //listeners
             this.el.enter_event.connect( (  event)  => {
                 this.el.background_color = new Clutter.Color.from_string("#333");
                     return false;
@@ -1426,9 +1461,9 @@ public class Xcls_MainWindow : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Actor43 : Object 
+    public class Xcls_Actor43 : Object
     {
         public GtkClutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -1436,7 +1471,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Actor43(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1448,14 +1483,14 @@ public class Xcls_MainWindow : Object
             var child_0 = new Xcls_Button44( _this );
             child_0.ref();
 
-            // init method 
+            // init method
 
             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Button44 : Object 
+    public class Xcls_Button44 : Object
     {
         public Gtk.Button el;
         private Xcls_MainWindow  _this;
@@ -1463,7 +1498,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Button44(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1479,7 +1514,7 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
-            // listeners 
+            //listeners
             this.el.clicked.connect( ( ) => {
                 
                  _this.windowstate.switchState(WindowState.State.OBJECT);
@@ -1488,9 +1523,9 @@ public class Xcls_MainWindow : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Image45 : Object 
+    public class Xcls_Image45 : Object
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -1498,7 +1533,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Image45(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1510,9 +1545,13 @@ public class Xcls_MainWindow : Object
             this.el.icon_name = "list-add";
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_addpropbutton : Object 
+
+
+
+
+    public class Xcls_addpropbutton : Object
     {
         public Clutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -1520,7 +1559,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_addpropbutton(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1534,14 +1573,14 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.add_child (  child_0.el  );
 
-            // init method 
+            // init method
 
             this.el.set_size(50,50);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Actor47 : Object 
+    public class Xcls_Actor47 : Object
     {
         public GtkClutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -1549,7 +1588,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Actor47(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1561,14 +1600,14 @@ public class Xcls_MainWindow : Object
             var child_0 = new Xcls_Button48( _this );
             child_0.ref();
 
-            // init method 
+            // init method
 
             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Button48 : Object 
+    public class Xcls_Button48 : Object
     {
         public Gtk.Button el;
         private Xcls_MainWindow  _this;
@@ -1576,7 +1615,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Button48(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1592,7 +1631,7 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
-            // listeners 
+            //listeners
             this.el.clicked.connect( ( ) => {
                 
                  _this.windowstate.switchState(WindowState.State.PROP);
@@ -1601,9 +1640,9 @@ public class Xcls_MainWindow : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Image49 : Object 
+    public class Xcls_Image49 : Object
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -1611,7 +1650,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Image49(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1623,9 +1662,13 @@ public class Xcls_MainWindow : Object
             this.el.icon_name = "format-justify-left";
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_addlistenerbutton : Object 
+
+
+
+
+    public class Xcls_addlistenerbutton : Object
     {
         public Clutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -1633,7 +1676,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_addlistenerbutton(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1647,14 +1690,14 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.add_child (  child_0.el  );
 
-            // init method 
+            // init method
 
             this.el.set_size(50,50);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Actor51 : Object 
+    public class Xcls_Actor51 : Object
     {
         public GtkClutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -1662,7 +1705,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Actor51(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1674,14 +1717,14 @@ public class Xcls_MainWindow : Object
             var child_0 = new Xcls_Button52( _this );
             child_0.ref();
 
-            // init method 
+            // init method
 
             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Button52 : Object 
+    public class Xcls_Button52 : Object
     {
         public Gtk.Button el;
         private Xcls_MainWindow  _this;
@@ -1689,7 +1732,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Button52(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1705,7 +1748,7 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
-            // listeners 
+            //listeners
             this.el.clicked.connect( ( ) => {
                 
                 _this.windowstate.switchState(WindowState.State.LISTENER);
@@ -1715,9 +1758,9 @@ public class Xcls_MainWindow : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Image53 : Object 
+    public class Xcls_Image53 : Object
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -1725,7 +1768,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Image53(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1737,9 +1780,13 @@ public class Xcls_MainWindow : Object
             this.el.icon_name = "appointment-new";
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_addprojectbutton : Object 
+
+
+
+
+    public class Xcls_addprojectbutton : Object
     {
         public Clutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -1747,7 +1794,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_addprojectbutton(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1761,14 +1808,14 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.add_child (  child_0.el  );
 
-            // init method 
+            // init method
 
             this.el.set_size(50.0f,50.0f);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Actor55 : Object 
+    public class Xcls_Actor55 : Object
     {
         public GtkClutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -1776,7 +1823,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Actor55(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1788,14 +1835,14 @@ public class Xcls_MainWindow : Object
             var child_0 = new Xcls_Button56( _this );
             child_0.ref();
 
-            // init method 
+            // init method
 
             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Button56 : Object 
+    public class Xcls_Button56 : Object
     {
         public Gtk.Button el;
         private Xcls_MainWindow  _this;
@@ -1803,7 +1850,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Button56(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1819,12 +1866,12 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
-            // listeners 
+            //listeners
             this.el.clicked.connect( ( ) => {
               
                 // create a new file in project..
                 //Xcls_DialogNewComponent.singleton().show(
-               var  pe =     Xcls_EditProject.singleton();
+               var  pe =      EditProject.singleton();
                 pe.el.set_transient_for(_this.el);
                 pe.el.set_modal(true);   
                
@@ -1844,9 +1891,9 @@ public class Xcls_MainWindow : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Image57 : Object 
+    public class Xcls_Image57 : Object
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -1854,7 +1901,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Image57(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1866,9 +1913,13 @@ public class Xcls_MainWindow : Object
             this.el.icon_name = "folder-new";
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_addfilebutton : Object 
+
+
+
+
+    public class Xcls_addfilebutton : Object
     {
         public Clutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -1876,7 +1927,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_addfilebutton(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1890,14 +1941,14 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.add_child (  child_0.el  );
 
-            // init method 
+            // init method
 
             this.el.set_size(50.0f,50.0f);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Actor59 : Object 
+    public class Xcls_Actor59 : Object
     {
         public GtkClutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -1905,7 +1956,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Actor59(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1917,14 +1968,14 @@ public class Xcls_MainWindow : Object
             var child_0 = new Xcls_Button60( _this );
             child_0.ref();
 
-            // init method 
+            // init method
 
             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Button60 : Object 
+    public class Xcls_Button60 : Object
     {
         public Gtk.Button el;
         private Xcls_MainWindow  _this;
@@ -1932,7 +1983,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Button60(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1948,7 +1999,7 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
-            // listeners 
+            //listeners
             this.el.clicked.connect( () => {
                 // create a new file in project..
                 
@@ -1973,9 +2024,9 @@ public class Xcls_MainWindow : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Image61 : Object 
+    public class Xcls_Image61 : Object
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -1983,7 +2034,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Image61(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -1995,9 +2046,13 @@ public class Xcls_MainWindow : Object
             this.el.icon_name = "document-new";
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_delprojectbutton : Object 
+
+
+
+
+    public class Xcls_delprojectbutton : Object
     {
         public Clutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -2005,7 +2060,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_delprojectbutton(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -2019,14 +2074,14 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.add_child (  child_0.el  );
 
-            // init method 
+            // init method
 
             this.el.set_size(50,50);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Actor63 : Object 
+    public class Xcls_Actor63 : Object
     {
         public GtkClutter.Actor el;
         private Xcls_MainWindow  _this;
@@ -2034,7 +2089,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Actor63(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -2046,14 +2101,14 @@ public class Xcls_MainWindow : Object
             var child_0 = new Xcls_Button64( _this );
             child_0.ref();
 
-            // init method 
+            // init method
 
             ((Gtk.Container)(this.el.get_widget())).add ( child_0.el);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Button64 : Object 
+    public class Xcls_Button64 : Object
     {
         public Gtk.Button el;
         private Xcls_MainWindow  _this;
@@ -2061,7 +2116,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Button64(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -2077,7 +2132,7 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
-            // listeners 
+            //listeners
             this.el.clicked.connect( ( ) => {
                  
                  var cd = DialogConfirm.singleton();
@@ -2108,9 +2163,9 @@ public class Xcls_MainWindow : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Image65 : Object 
+    public class Xcls_Image65 : Object
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -2118,7 +2173,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Image65(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -2130,9 +2185,17 @@ public class Xcls_MainWindow : Object
             this.el.icon_name = "user-trash";
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_HBox66 : Object 
+
+
+
+
+
+
+
+
+    public class Xcls_HBox66 : Object
     {
         public Gtk.HBox el;
         private Xcls_MainWindow  _this;
@@ -2140,7 +2203,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_HBox66(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -2160,9 +2223,9 @@ public class Xcls_MainWindow : Object
             this.el.pack_end (  child_2.el , false,true,0 );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Label67 : Object 
+    public class Xcls_Label67 : Object
     {
         public Gtk.Label el;
         private Xcls_MainWindow  _this;
@@ -2170,7 +2233,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Label67(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -2181,9 +2244,10 @@ public class Xcls_MainWindow : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_statusbar : Object 
+
+    public class Xcls_statusbar : Object
     {
         public Gtk.ProgressBar el;
         private Xcls_MainWindow  _this;
@@ -2192,7 +2256,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
         public ulong handler_id;
 
-        // ctor 
+        // ctor
         public Xcls_statusbar(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -2205,7 +2269,7 @@ public class Xcls_MainWindow : Object
             // set gobject values
             this.el.show_text = true;
 
-            // init method 
+            // init method
 
             {
                  this.handler_id = Resources.singleton().updateProgress.connect((pos,total) => {
@@ -2224,9 +2288,10 @@ public class Xcls_MainWindow : Object
             }
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_MenuBar69 : Object 
+
+    public class Xcls_MenuBar69 : Object
     {
         public Gtk.MenuBar el;
         private Xcls_MainWindow  _this;
@@ -2234,7 +2299,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_MenuBar69(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -2257,9 +2322,9 @@ public class Xcls_MainWindow : Object
             this.el.add (  child_3.el  );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_MenuItem70 : Object 
+    public class Xcls_MenuItem70 : Object
     {
         public Gtk.MenuItem el;
         private Xcls_MainWindow  _this;
@@ -2267,7 +2332,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_MenuItem70(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -2279,9 +2344,10 @@ public class Xcls_MainWindow : Object
             this.el.label = "Compile Status:";
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_statusbar_errors : Object 
+
+    public class Xcls_statusbar_errors : Object
     {
         public Gtk.ImageMenuItem el;
         private Xcls_MainWindow  _this;
@@ -2291,7 +2357,7 @@ public class Xcls_MainWindow : Object
         public Xcls_ValaCompileErrors popup;
         public Json.Object notices;
 
-        // ctor 
+        // ctor
         public Xcls_statusbar_errors(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -2308,7 +2374,7 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
-            // listeners 
+            //listeners
             this.el.button_press_event.connect( () => {
                 if (this.popup == null) {
                     this.popup = new Xcls_ValaCompileErrors();
@@ -2334,7 +2400,7 @@ public class Xcls_MainWindow : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
         public void setNotices (Json.Object nots, int qty) {
             this.el.show();
             this.el.label = qty.to_string() + " Errors";
@@ -2342,7 +2408,7 @@ public class Xcls_MainWindow : Object
         
         }
     }
-    public class Xcls_Image72 : Object 
+    public class Xcls_Image72 : Object
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -2350,7 +2416,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Image72(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -2362,9 +2428,11 @@ public class Xcls_MainWindow : Object
             this.el.icon_name = "dialog-error";
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_statusbar_warnings : Object 
+
+
+    public class Xcls_statusbar_warnings : Object
     {
         public Gtk.ImageMenuItem el;
         private Xcls_MainWindow  _this;
@@ -2374,7 +2442,7 @@ public class Xcls_MainWindow : Object
         public Xcls_ValaCompileErrors popup;
         public Json.Object notices;
 
-        // ctor 
+        // ctor
         public Xcls_statusbar_warnings(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -2391,7 +2459,7 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
-            // listeners 
+            //listeners
             this.el.button_press_event.connect( () => {
                 if (this.popup == null) {
                     this.popup = new Xcls_ValaCompileErrors();
@@ -2417,7 +2485,7 @@ public class Xcls_MainWindow : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
         public void setNotices (Json.Object nots, int qty) {
             this.el.show();
             this.el.label = qty.to_string() + " Warnings";
@@ -2425,7 +2493,7 @@ public class Xcls_MainWindow : Object
         
         }
     }
-    public class Xcls_Image74 : Object 
+    public class Xcls_Image74 : Object
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -2433,7 +2501,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Image74(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -2445,9 +2513,11 @@ public class Xcls_MainWindow : Object
             this.el.icon_name = "dialog-warning";
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_statusbar_depricated : Object 
+
+
+    public class Xcls_statusbar_depricated : Object
     {
         public Gtk.ImageMenuItem el;
         private Xcls_MainWindow  _this;
@@ -2457,7 +2527,7 @@ public class Xcls_MainWindow : Object
         public Xcls_ValaCompileErrors popup;
         public Json.Object notices;
 
-        // ctor 
+        // ctor
         public Xcls_statusbar_depricated(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -2474,7 +2544,7 @@ public class Xcls_MainWindow : Object
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
-            // listeners 
+            //listeners
             this.el.button_press_event.connect( () => {
                 if (this.popup == null) {
                     this.popup = new Xcls_ValaCompileErrors();
@@ -2500,7 +2570,7 @@ public class Xcls_MainWindow : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
         public void setNotices (Json.Object nots, int qty) {
             this.el.show();
             this.el.label = qty.to_string() + " Depricated";
@@ -2508,7 +2578,7 @@ public class Xcls_MainWindow : Object
         
         }
     }
-    public class Xcls_Image76 : Object 
+    public class Xcls_Image76 : Object
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -2516,7 +2586,7 @@ public class Xcls_MainWindow : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Image76(Xcls_MainWindow _owner )
         {
             _this = _owner;
@@ -2528,6 +2598,11 @@ public class Xcls_MainWindow : Object
             this.el.icon_name = "dialog-information";
         }
 
-        // user defined functions 
+        // user defined functions
     }
+
+
+
+
+
 }