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

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

index 37bd64c..1d2a33c 100644 (file)
            "string label" : "Warnings",
            "* pack" : "add",
            "xtype" : "ToolButton",
-           "$ xns" : "Gtk",
-           "items" : [
-            {
-             "utf8 icon_name" : "dialog-warning",
-             "* pack" : "set_image",
-             "xtype" : "Image",
-             "$ xns" : "Gtk"
-            }
-           ]
+           "string icon_name" : "dialog-warning",
+           "$ xns" : "Gtk"
           },
           {
            "xtype" : "ToolButton",
index 001a9fe..a8015f7 100644 (file)
@@ -2219,7 +2219,7 @@ public class Xcls_MainWindow : Object
             var child_1 = new Xcls_ToolButton70( _this );
             child_1.ref();
             this.el.add (  child_1.el  );
-            var child_2 = new Xcls_ToolButton72( _this );
+            var child_2 = new Xcls_ToolButton71( _this );
             child_2.ref();
             this.el.add (  child_2.el  );
         }
@@ -2264,37 +2264,13 @@ public class Xcls_MainWindow : Object
 
             // my vars (dec)
 
-            // set gobject values
-            var child_0 = new Xcls_Image71( _this );
-            child_0.ref();
-            this.el.set_image (  child_0.el  );
-        }
-
-        // user defined functions 
-    }
-    public class Xcls_Image71 : Object 
-    {
-        public Gtk.Image el;
-        private Xcls_MainWindow  _this;
-
-
-            // my vars (def)
-
-        // ctor 
-        public Xcls_Image71(Xcls_MainWindow _owner )
-        {
-            _this = _owner;
-            this.el = new Gtk.Image();
-
-            // my vars (dec)
-
             // set gobject values
             this.el.icon_name = "dialog-warning";
         }
 
         // user defined functions 
     }
-    public class Xcls_ToolButton72 : Object 
+    public class Xcls_ToolButton71 : Object 
     {
         public Gtk.ToolButton el;
         private Xcls_MainWindow  _this;
@@ -2303,7 +2279,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ToolButton72(Xcls_MainWindow _owner )
+        public Xcls_ToolButton71(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.ToolButton( null, "Depricated" );
@@ -2311,14 +2287,14 @@ public class Xcls_MainWindow : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_Image73( _this );
+            var child_0 = new Xcls_Image72( _this );
             child_0.ref();
             this.el.set_image (  child_0.el  );
         }
 
         // user defined functions 
     }
-    public class Xcls_Image73 : Object 
+    public class Xcls_Image72 : Object 
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -2327,7 +2303,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Image73(Xcls_MainWindow _owner )
+        public Xcls_Image72(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.Image();