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

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

index 00dbd77..e877845 100644 (file)
         {
          "* pack" : "pack_start,?bool?,?bool?,?uint?",
          "xtype" : "Toolbar",
-         "$ xns" : "Gtk"
+         "$ xns" : "Gtk",
+         "items" : [
+          {
+           "* pack" : "composite_name",
+           "xtype" : "ToolButton",
+           "$ xns" : "Gtk"
+          }
+         ]
         },
         {
          "listeners" : {
index 1fe621e..8c79b4c 100644 (file)
@@ -2147,13 +2147,13 @@ public class Xcls_MainWindow : Object
             var child_1 = new Xcls_Toolbar68( _this );
             child_1.ref();
             this.el.pack_start (  child_1.el , ?bool?,?bool?,?uint? );
-            var child_2 = new Xcls_Button69( _this );
+            var child_2 = new Xcls_Button70( _this );
             child_2.ref();
             this.el.pack_end (  child_2.el , false,false,0 );
-            var child_3 = new Xcls_Button71( _this );
+            var child_3 = new Xcls_Button72( _this );
             child_3.ref();
             this.el.pack_end (  child_3.el , false,false,0 );
-            var child_4 = new Xcls_Button73( _this );
+            var child_4 = new Xcls_Button74( _this );
             child_4.ref();
             this.el.pack_end (  child_4.el , false,false,0 );
         }
@@ -2219,12 +2219,36 @@ public class Xcls_MainWindow : Object
 
             // my vars (dec)
 
+            // set gobject values
+            var child_0 = new Xcls_ToolButton69( _this );
+            child_0.ref();
+            this.el.composite_name (  child_0.el  );
+        }
+
+        // user defined functions 
+    }
+    public class Xcls_ToolButton69 : Object 
+    {
+        public Gtk.ToolButton el;
+        private Xcls_MainWindow  _this;
+
+
+            // my vars (def)
+
+        // ctor 
+        public Xcls_ToolButton69(Xcls_MainWindow _owner )
+        {
+            _this = _owner;
+            this.el = new Gtk.ToolButton( null, null );
+
+            // my vars (dec)
+
             // set gobject values
         }
 
         // user defined functions 
     }
-    public class Xcls_Button69 : Object 
+    public class Xcls_Button70 : Object 
     {
         public Gtk.Button el;
         private Xcls_MainWindow  _this;
@@ -2233,7 +2257,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Button69(Xcls_MainWindow _owner )
+        public Xcls_Button70(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.Button();
@@ -2244,7 +2268,7 @@ public class Xcls_MainWindow : Object
             this.el.always_show_image = true;
             this.el.label = "Errors";
             this.el.image_position = Gtk.PositionType.LEFT;
-            var child_0 = new Xcls_Image70( _this );
+            var child_0 = new Xcls_Image71( _this );
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
@@ -2258,7 +2282,7 @@ public class Xcls_MainWindow : Object
 
         // user defined functions 
     }
-    public class Xcls_Image70 : Object 
+    public class Xcls_Image71 : Object 
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -2267,7 +2291,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Image70(Xcls_MainWindow _owner )
+        public Xcls_Image71(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.Image();
@@ -2281,7 +2305,7 @@ public class Xcls_MainWindow : Object
 
         // user defined functions 
     }
-    public class Xcls_Button71 : Object 
+    public class Xcls_Button72 : Object 
     {
         public Gtk.Button el;
         private Xcls_MainWindow  _this;
@@ -2290,7 +2314,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Button71(Xcls_MainWindow _owner )
+        public Xcls_Button72(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.Button();
@@ -2301,7 +2325,7 @@ public class Xcls_MainWindow : Object
             this.el.always_show_image = true;
             this.el.label = "Warnings";
             this.el.image_position = Gtk.PositionType.LEFT;
-            var child_0 = new Xcls_Image72( _this );
+            var child_0 = new Xcls_Image73( _this );
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
@@ -2315,7 +2339,7 @@ public class Xcls_MainWindow : Object
 
         // user defined functions 
     }
-    public class Xcls_Image72 : Object 
+    public class Xcls_Image73 : Object 
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -2324,7 +2348,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Image72(Xcls_MainWindow _owner )
+        public Xcls_Image73(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.Image();
@@ -2338,7 +2362,7 @@ public class Xcls_MainWindow : Object
 
         // user defined functions 
     }
-    public class Xcls_Button73 : Object 
+    public class Xcls_Button74 : Object 
     {
         public Gtk.Button el;
         private Xcls_MainWindow  _this;
@@ -2347,7 +2371,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Button73(Xcls_MainWindow _owner )
+        public Xcls_Button74(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.Button();
@@ -2358,7 +2382,7 @@ public class Xcls_MainWindow : Object
             this.el.always_show_image = true;
             this.el.label = "Depricated";
             this.el.image_position = Gtk.PositionType.LEFT;
-            var child_0 = new Xcls_Image74( _this );
+            var child_0 = new Xcls_Image75( _this );
             child_0.ref();
 
             // listeners 
@@ -2371,7 +2395,7 @@ public class Xcls_MainWindow : Object
 
         // user defined functions 
     }
-    public class Xcls_Image74 : Object 
+    public class Xcls_Image75 : Object 
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -2380,7 +2404,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Image74(Xcls_MainWindow _owner )
+        public Xcls_Image75(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.Image();