src/Builder4/PopoverAddProp.bjs
authorAlan <alan@roojs.com>
Tue, 28 Jun 2022 08:35:43 +0000 (16:35 +0800)
committerAlan <alan@roojs.com>
Tue, 28 Jun 2022 08:35:43 +0000 (16:35 +0800)
src/Builder4/PopoverAddProp.vala

src/Builder4/PopoverAddProp.bjs
src/Builder4/PopoverAddProp.vala

index ed18e59..31c75bf 100644 (file)
          "* pack" : "append_column",
          "id" : "type",
          "string title" : "Type",
-         "xtype" : "TreeViewColumn"
+         "xtype" : "TreeView"
         },
         {
          "$ xns" : "Gtk",
index ed13afc..ed896ab 100644 (file)
@@ -325,23 +325,24 @@ typeof(string) // 5 element type (event|prop)
 
     public class Xcls_type : Object
     {
-        public Gtk.TreeViewColumn el;
+        public Gtk.TreeView el;
         private Xcls_PopoverAddProp  _this;
 
 
             // my vars (def)
+        public string title;
 
         // ctor
         public Xcls_type(Xcls_PopoverAddProp _owner )
         {
             _this = _owner;
             _this.type = this;
-            this.el = new Gtk.TreeViewColumn();
+            this.el = new Gtk.TreeView();
 
             // my vars (dec)
+            this.title = Type;
 
             // set gobject values
-            this.el.title = "Type";
 
             // init method