src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 18 May 2015 09:39:53 +0000 (17:39 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 18 May 2015 09:39:53 +0000 (17:39 +0800)
src/Builder4/MainWindow.vala

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

index d9b0c92..4866b42 100644 (file)
          "xtype" : "MenuBar",
          "$ xns" : "Gtk",
          "items" : [
+          {
+           "* pack" : "add",
+           "xtype" : "MenuItem",
+           "$ xns" : "Gtk"
+          },
           {
            "bool always_show_image" : true,
            "id" : "statusbar_errors",
index e8b36ab..fa355b8 100644 (file)
@@ -2244,18 +2244,42 @@ public class Xcls_MainWindow : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_statusbar_errors( _this );
+            var child_0 = new Xcls_MenuItem70( _this );
             child_0.ref();
             this.el.add (  child_0.el  );
             var child_1 = new Xcls_statusbar_errors( _this );
             child_1.ref();
             this.el.add (  child_1.el  );
-            var child_2 = new Xcls_statusbar_warnings( _this );
+            var child_2 = new Xcls_statusbar_errors( _this );
             child_2.ref();
             this.el.add (  child_2.el  );
-            var child_3 = new Xcls_statusbar_depricated( _this );
+            var child_3 = new Xcls_statusbar_warnings( _this );
             child_3.ref();
             this.el.add (  child_3.el  );
+            var child_4 = new Xcls_statusbar_depricated( _this );
+            child_4.ref();
+            this.el.add (  child_4.el  );
+        }
+
+        // user defined functions 
+    }
+    public class Xcls_MenuItem70 : Object 
+    {
+        public Gtk.MenuItem el;
+        private Xcls_MainWindow  _this;
+
+
+            // my vars (def)
+
+        // ctor 
+        public Xcls_MenuItem70(Xcls_MainWindow _owner )
+        {
+            _this = _owner;
+            this.el = new Gtk.MenuItem();
+
+            // my vars (dec)
+
+            // set gobject values
         }
 
         // user defined functions 
@@ -2281,14 +2305,14 @@ public class Xcls_MainWindow : Object
             // set gobject values
             this.el.always_show_image = true;
             this.el.label = "Compile Status:";
-            var child_0 = new Xcls_Image71( _this );
+            var child_0 = new Xcls_Image72( _this );
             child_0.ref();
             this.el.set_image (  child_0.el  );
         }
 
         // user defined functions 
     }
-    public class Xcls_Image71 : Object 
+    public class Xcls_Image72 : Object 
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -2297,7 +2321,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Image71(Xcls_MainWindow _owner )
+        public Xcls_Image72(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.Image();
@@ -2333,7 +2357,7 @@ public class Xcls_MainWindow : Object
             // set gobject values
             this.el.always_show_image = true;
             this.el.label = "Errors";
-            var child_0 = new Xcls_Image73( _this );
+            var child_0 = new Xcls_Image74( _this );
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
@@ -2356,7 +2380,7 @@ public class Xcls_MainWindow : Object
 
         // user defined functions 
     }
-    public class Xcls_Image73 : Object 
+    public class Xcls_Image74 : Object 
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -2365,7 +2389,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Image73(Xcls_MainWindow _owner )
+        public Xcls_Image74(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.Image();
@@ -2401,7 +2425,7 @@ public class Xcls_MainWindow : Object
             // set gobject values
             this.el.always_show_image = true;
             this.el.label = "Warnings";
-            var child_0 = new Xcls_Image75( _this );
+            var child_0 = new Xcls_Image76( _this );
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
@@ -2423,7 +2447,7 @@ public class Xcls_MainWindow : Object
 
         // user defined functions 
     }
-    public class Xcls_Image75 : Object 
+    public class Xcls_Image76 : Object 
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -2432,7 +2456,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Image75(Xcls_MainWindow _owner )
+        public Xcls_Image76(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.Image();
@@ -2468,7 +2492,7 @@ public class Xcls_MainWindow : Object
             // set gobject values
             this.el.always_show_image = true;
             this.el.label = "Depricated";
-            var child_0 = new Xcls_Image77( _this );
+            var child_0 = new Xcls_Image78( _this );
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
@@ -2490,7 +2514,7 @@ public class Xcls_MainWindow : Object
 
         // user defined functions 
     }
-    public class Xcls_Image77 : Object 
+    public class Xcls_Image78 : Object 
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -2499,7 +2523,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Image77(Xcls_MainWindow _owner )
+        public Xcls_Image78(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.Image();