src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 15 May 2015 08:56:12 +0000 (16:56 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 15 May 2015 08:56:12 +0000 (16:56 +0800)
src/Builder4/MainWindow.vala

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

index 01858ea..37bd64c 100644 (file)
            "* pack" : "add",
            "xtype" : "ToolButton",
            "string label" : "Errors",
-           "$ xns" : "Gtk",
-           "items" : [
-            {
-             "* pack" : "set_image",
-             "xtype" : "Image",
-             "utf8 icon_name" : "dialog-error",
-             "$ xns" : "Gtk"
-            }
-           ]
+           "string icon_name" : "dialog-error",
+           "$ xns" : "Gtk"
           },
           {
            "string label" : "Warnings",
index e088618..001a9fe 100644 (file)
@@ -2216,10 +2216,10 @@ public class Xcls_MainWindow : Object
             var child_0 = new Xcls_ToolButton69( _this );
             child_0.ref();
             this.el.add (  child_0.el  );
-            var child_1 = new Xcls_ToolButton71( _this );
+            var child_1 = new Xcls_ToolButton70( _this );
             child_1.ref();
             this.el.add (  child_1.el  );
-            var child_2 = new Xcls_ToolButton73( _this );
+            var child_2 = new Xcls_ToolButton72( _this );
             child_2.ref();
             this.el.add (  child_2.el  );
         }
@@ -2242,37 +2242,13 @@ public class Xcls_MainWindow : Object
 
             // my vars (dec)
 
-            // set gobject values
-            var child_0 = new Xcls_Image70( _this );
-            child_0.ref();
-            this.el.set_image (  child_0.el  );
-        }
-
-        // user defined functions 
-    }
-    public class Xcls_Image70 : Object 
-    {
-        public Gtk.Image el;
-        private Xcls_MainWindow  _this;
-
-
-            // my vars (def)
-
-        // ctor 
-        public Xcls_Image70(Xcls_MainWindow _owner )
-        {
-            _this = _owner;
-            this.el = new Gtk.Image();
-
-            // my vars (dec)
-
             // set gobject values
             this.el.icon_name = "dialog-error";
         }
 
         // user defined functions 
     }
-    public class Xcls_ToolButton71 : Object 
+    public class Xcls_ToolButton70 : Object 
     {
         public Gtk.ToolButton el;
         private Xcls_MainWindow  _this;
@@ -2281,7 +2257,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ToolButton71(Xcls_MainWindow _owner )
+        public Xcls_ToolButton70(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.ToolButton( null, "Warnings" );
@@ -2289,14 +2265,14 @@ public class Xcls_MainWindow : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_Image72( _this );
+            var child_0 = new Xcls_Image71( _this );
             child_0.ref();
             this.el.set_image (  child_0.el  );
         }
 
         // user defined functions 
     }
-    public class Xcls_Image72 : Object 
+    public class Xcls_Image71 : Object 
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -2305,7 +2281,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Image72(Xcls_MainWindow _owner )
+        public Xcls_Image71(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.Image();
@@ -2318,7 +2294,7 @@ public class Xcls_MainWindow : Object
 
         // user defined functions 
     }
-    public class Xcls_ToolButton73 : Object 
+    public class Xcls_ToolButton72 : Object 
     {
         public Gtk.ToolButton el;
         private Xcls_MainWindow  _this;
@@ -2327,7 +2303,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ToolButton73(Xcls_MainWindow _owner )
+        public Xcls_ToolButton72(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.ToolButton( null, "Depricated" );
@@ -2335,14 +2311,14 @@ public class Xcls_MainWindow : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_Image74( _this );
+            var child_0 = new Xcls_Image73( _this );
             child_0.ref();
             this.el.set_image (  child_0.el  );
         }
 
         // user defined functions 
     }
-    public class Xcls_Image74 : Object 
+    public class Xcls_Image73 : Object 
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -2351,7 +2327,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Image74(Xcls_MainWindow _owner )
+        public Xcls_Image73(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.Image();