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

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

index 6345de1..8bdf829 100644 (file)
    "$ xns" : "Gtk",
    "items" : [
     {
-     "id" : "view_layout",
      "* pack" : "add",
-     "xtype" : "Layout",
+     "xtype" : "ScrolledWindow",
      "$ xns" : "Gtk",
      "items" : [
       {
-       "id" : "container",
-       "xtype" : "HBox",
-       "* pack" : "put,10,10",
-       "$ xns" : "Gtk"
+       "id" : "view_layout",
+       "* pack" : "add",
+       "xtype" : "Layout",
+       "$ xns" : "Gtk",
+       "items" : [
+        {
+         "id" : "container",
+         "xtype" : "HBox",
+         "* pack" : "put,10,10",
+         "$ xns" : "Gtk"
+        }
+       ]
       }
      ]
     },
index 055d3b6..98a22ba 100644 (file)
@@ -31,7 +31,7 @@ public class Xcls_GtkView : Object
         this.file = null;
 
         // set gobject values
-        var child_0 = new Xcls_view_layout( _this );
+        var child_0 = new Xcls_ScrolledWindow2( _this );
         child_0.ref();
         this.el.add (  child_0.el  );
         var child_1 = new Xcls_compile_view( _this );
@@ -122,6 +122,30 @@ public class Xcls_GtkView : Object
             
              
             
+    }
+    public class Xcls_ScrolledWindow2 : Object 
+    {
+        public Gtk.ScrolledWindow el;
+        private Xcls_GtkView  _this;
+
+
+            // my vars (def)
+
+        // ctor 
+        public Xcls_ScrolledWindow2(Xcls_GtkView _owner )
+        {
+            _this = _owner;
+            this.el = new Gtk.ScrolledWindow( null, null );
+
+            // my vars (dec)
+
+            // set gobject values
+            var child_0 = new Xcls_view_layout( _this );
+            child_0.ref();
+            this.el.add (  child_0.el  );
+        }
+
+        // user defined functions 
     }
     public class Xcls_view_layout : Object 
     {
@@ -188,17 +212,17 @@ public class Xcls_GtkView : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_HBox5( _this );
+            var child_0 = new Xcls_HBox6( _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_HBox8( _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_HBox6 : Object 
     {
         public Gtk.HBox el;
         private Xcls_GtkView  _this;
@@ -207,7 +231,7 @@ public class Xcls_GtkView : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_HBox5(Xcls_GtkView _owner )
+        public Xcls_HBox6(Xcls_GtkView _owner )
         {
             _this = _owner;
             this.el = new Gtk.HBox( true, 0 );
@@ -215,14 +239,14 @@ public class Xcls_GtkView : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_Button6( _this );
+            var child_0 = new Xcls_Button7( _this );
             child_0.ref();
             this.el.pack_start (  child_0.el , true,true,0 );
         }
 
         // user defined functions 
     }
-    public class Xcls_Button6 : Object 
+    public class Xcls_Button7 : Object 
     {
         public Gtk.Button el;
         private Xcls_GtkView  _this;
@@ -231,7 +255,7 @@ public class Xcls_GtkView : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Button6(Xcls_GtkView _owner )
+        public Xcls_Button7(Xcls_GtkView _owner )
         {
             _this = _owner;
             this.el = new Gtk.Button();
@@ -244,7 +268,7 @@ public class Xcls_GtkView : Object
 
         // user defined functions 
     }
-    public class Xcls_HBox7 : Object 
+    public class Xcls_HBox8 : Object 
     {
         public Gtk.HBox el;
         private Xcls_GtkView  _this;
@@ -253,7 +277,7 @@ public class Xcls_GtkView : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_HBox7(Xcls_GtkView _owner )
+        public Xcls_HBox8(Xcls_GtkView _owner )
         {
             _this = _owner;
             this.el = new Gtk.HBox( true, 0 );
@@ -261,17 +285,17 @@ public class Xcls_GtkView : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_TreeView8( _this );
+            var child_0 = new Xcls_TreeView9( _this );
             child_0.ref();
             this.el.add (  child_0.el  );
-            var child_1 = new Xcls_ScrolledWindow12( _this );
+            var child_1 = new Xcls_ScrolledWindow13( _this );
             child_1.ref();
             this.el.pack_start (  child_1.el , true,true,0 );
         }
 
         // user defined functions 
     }
-    public class Xcls_TreeView8 : Object 
+    public class Xcls_TreeView9 : Object 
     {
         public Gtk.TreeView el;
         private Xcls_GtkView  _this;
@@ -280,7 +304,7 @@ public class Xcls_GtkView : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_TreeView8(Xcls_GtkView _owner )
+        public Xcls_TreeView9(Xcls_GtkView _owner )
         {
             _this = _owner;
             this.el = new Gtk.TreeView();
@@ -288,7 +312,7 @@ public class Xcls_GtkView : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_ListStore9( _this );
+            var child_0 = new Xcls_ListStore10( _this );
             child_0.ref();
             this.el.set_model (  child_0.el  );
             var child_1 = new Xcls_column( _this );
@@ -297,7 +321,7 @@ public class Xcls_GtkView : Object
 
         // user defined functions 
     }
-    public class Xcls_ListStore9 : Object 
+    public class Xcls_ListStore10 : Object 
     {
         public Gtk.ListStore el;
         private Xcls_GtkView  _this;
@@ -306,7 +330,7 @@ public class Xcls_GtkView : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ListStore9(Xcls_GtkView _owner )
+        public Xcls_ListStore10(Xcls_GtkView _owner )
         {
             _this = _owner;
             this.el = new Gtk.ListStore( 1,   typeof(string) );
@@ -336,14 +360,14 @@ public class Xcls_GtkView : Object
 
             // set gobject values
             this.el.title = "Compile output";
-            var child_0 = new Xcls_CellRendererText11( _this );
+            var child_0 = new Xcls_CellRendererText12( _this );
             child_0.ref();
             this.el.pack_start (  child_0.el , false );
         }
 
         // user defined functions 
     }
-    public class Xcls_CellRendererText11 : Object 
+    public class Xcls_CellRendererText12 : Object 
     {
         public Gtk.CellRendererText el;
         private Xcls_GtkView  _this;
@@ -352,7 +376,7 @@ public class Xcls_GtkView : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_CellRendererText11(Xcls_GtkView _owner )
+        public Xcls_CellRendererText12(Xcls_GtkView _owner )
         {
             _this = _owner;
             this.el = new Gtk.CellRendererText();
@@ -364,7 +388,7 @@ public class Xcls_GtkView : Object
 
         // user defined functions 
     }
-    public class Xcls_ScrolledWindow12 : Object 
+    public class Xcls_ScrolledWindow13 : Object 
     {
         public Gtk.ScrolledWindow el;
         private Xcls_GtkView  _this;
@@ -373,7 +397,7 @@ public class Xcls_GtkView : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ScrolledWindow12(Xcls_GtkView _owner )
+        public Xcls_ScrolledWindow13(Xcls_GtkView _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );
@@ -381,14 +405,14 @@ public class Xcls_GtkView : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_View13( _this );
+            var child_0 = new Xcls_View14( _this );
             child_0.ref();
             this.el.add (  child_0.el  );
         }
 
         // user defined functions 
     }
-    public class Xcls_View13 : Object 
+    public class Xcls_View14 : Object 
     {
         public Gtk.SourceView el;
         private Xcls_GtkView  _this;
@@ -397,7 +421,7 @@ public class Xcls_GtkView : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_View13(Xcls_GtkView _owner )
+        public Xcls_View14(Xcls_GtkView _owner )
         {
             _this = _owner;
             this.el = new Gtk.SourceView();