NewBranch.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 14 Dec 2018 02:35:34 +0000 (10:35 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Dec 2018 02:35:34 +0000 (10:35 +0800)
NewBranch.vala

NewBranch.bjs
NewBranch.vala

index a404403..db55d8c 100644 (file)
          "xtype" : "Button",
          "* pack" : "attach_defaults,4,5,3,4",
          "$ xns" : "Gtk"
+        },
+        {
+         "* pack" : "composite_name",
+         "xtype" : "CheckButton",
+         "$ xns" : "Gtk"
         }
        ]
       }
index a7fdc69..2096ed2 100644 (file)
@@ -192,6 +192,9 @@ public class NewBranch : Object
             var child_7 = new Xcls_Button15( _this );
             child_7.ref();
             this.el.attach_defaults (  child_7.el , 4,5,3,4 );
+            var child_8 = new Xcls_CheckButton16( _this );
+            child_8.ref();
+            this.el.composite_name (  child_8.el  );
         }
 
         // user defined functions
@@ -663,6 +666,28 @@ public class NewBranch : Object
         // user defined functions
     }
 
+    public class Xcls_CheckButton16 : Object
+    {
+        public Gtk.CheckButton el;
+        private NewBranch  _this;
+
+
+            // my vars (def)
+
+        // ctor
+        public Xcls_CheckButton16(NewBranch _owner )
+        {
+            _this = _owner;
+            this.el = new Gtk.CheckButton();
+
+            // my vars (dec)
+
+            // set gobject values
+        }
+
+        // user defined functions
+    }
+
 
 
 }