src/Builder4/ValaCompileResults.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 28 May 2015 08:19:09 +0000 (16:19 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 28 May 2015 08:19:09 +0000 (16:19 +0800)
src/Builder4/ValaCompileResults.vala

src/Builder4/ValaCompileResults.bjs
src/Builder4/ValaCompileResults.vala

index 582107d..8881ef7 100644 (file)
        "* init" : "{\n this.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);\n \n\n}\n",
        "* pack" : "pack_end,true,true,0",
        "xtype" : "ScrolledWindow",
-       "$ xns" : "Gtk"
+       "$ xns" : "Gtk",
+       "items" : [
+        {
+         "xtype" : "View",
+         "$ xns" : "GtkSource"
+        }
+       ]
       }
      ]
     }
index 3df0306..9b7efd2 100644 (file)
@@ -154,6 +154,8 @@ public class Xcls_ValaCompileResults : Object
             // my vars (dec)
 
             // set gobject values
+            var child_0 = new Xcls_View4( _this );
+            child_0.ref();
 
             // init method
 
@@ -166,6 +168,26 @@ public class Xcls_ValaCompileResults : Object
 
         // user defined functions
     }
+    public class Xcls_View4 : Object
+    {
+        public Gtk.SourceView el;
+        private Xcls_ValaCompileResults  _this;
+
+
+            // my vars (def)
+
+        // ctor
+        public Xcls_View4(Xcls_ValaCompileResults _owner )
+        {
+            _this = _owner;
+            this.el = new Gtk.SourceView();
+
+            // my vars (dec)
+        }
+
+        // user defined functions
+    }
+
 
 
 }