src/Builder4/GtkView.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 23 Mar 2015 10:04:05 +0000 (18:04 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 23 Mar 2015 10:04:05 +0000 (18:04 +0800)
src/Builder4/GtkView.vala

src/Builder4/GtkView.bjs
src/Builder4/GtkView.vala

index 3a57a68..04cf0df 100644 (file)
@@ -36,6 +36,7 @@
      "$ xns" : "Gtk",
      "items" : [
       {
+       "id" : "compile_button",
        "* pack" : "pack_start,false,false,0",
        "xtype" : "HBox",
        "$ xns" : "Gtk",
@@ -49,6 +50,7 @@
        ]
       },
       {
+       "id" : "compile_view",
        "* pack" : "pack_start,true,true,0",
        "xtype" : "HBox",
        "gboolean homogeneous" : true,
index a0499b0..3788e86 100644 (file)
@@ -14,6 +14,8 @@ public class Xcls_GtkView : Object
     }
     public Xcls_view_layout view_layout;
     public Xcls_container container;
+    public Xcls_compile_button compile_button;
+    public Xcls_compile_view compile_view;
 
         // my vars (def)
     public Gtk.Widget lastObj;
@@ -179,17 +181,17 @@ public class Xcls_GtkView : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_HBox5( _this );
+            var child_0 = new Xcls_compile_button( _this );
             child_0.ref();
             this.el.pack_start (  child_0.el , false,false,0 );
-            var child_1 = new Xcls_HBox7( _this );
+            var child_1 = new Xcls_compile_view( _this );
             child_1.ref();
             this.el.pack_start (  child_1.el , true,true,0 );
         }
 
         // user defined functions 
     }
-    public class Xcls_HBox5 : Object 
+    public class Xcls_compile_button : Object 
     {
         public Gtk.HBox el;
         private Xcls_GtkView  _this;
@@ -198,9 +200,10 @@ public class Xcls_GtkView : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_HBox5(Xcls_GtkView _owner )
+        public Xcls_compile_button(Xcls_GtkView _owner )
         {
             _this = _owner;
+            _this.compile_button = this;
             this.el = new Gtk.HBox( true, 0 );
 
             // my vars (dec)
@@ -235,7 +238,7 @@ public class Xcls_GtkView : Object
 
         // user defined functions 
     }
-    public class Xcls_HBox7 : Object 
+    public class Xcls_compile_view : Object 
     {
         public Gtk.HBox el;
         private Xcls_GtkView  _this;
@@ -244,9 +247,10 @@ public class Xcls_GtkView : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_HBox7(Xcls_GtkView _owner )
+        public Xcls_compile_view(Xcls_GtkView _owner )
         {
             _this = _owner;
+            _this.compile_view = this;
             this.el = new Gtk.HBox( true, 0 );
 
             // my vars (dec)