src/Builder4/GtkView.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 29 Apr 2015 13:01:13 +0000 (21:01 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 29 Apr 2015 13:01:13 +0000 (21:01 +0800)
src/Builder4/GtkView.vala

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

index b65a29c..82d07d2 100644 (file)
@@ -89,6 +89,7 @@
            "utf8 title" : "Compile output",
            "* init" : "{\n  this.el.add_attribute(_this.renderer.el , \"markup\", 2 );\n \n}\n",
            "xtype" : "TreeViewColumn",
+           "* pack" : "append_column",
            "string id" : "column",
            "$ xns" : "Gtk",
            "items" : [
index e255755..95bc000 100644 (file)
@@ -373,6 +373,7 @@ public class Xcls_GtkView : Object
             this.el.set_model (  child_0.el  );
             var child_1 = new Xcls_column( _this );
             child_1.ref();
+            this.el.append_column (  child_1.el  );
         }
 
         // user defined functions