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

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

index 6864961..289dbcc 100644 (file)
          "id" : "from",
          "int sort_column_id" : 4,
          "string title" : "From",
-         "xtype" : "TreeViewColumn"
+         "xtype" : "TreeView"
         }
        ],
        "listeners" : {
index 8ca61a1..aba6a82 100644 (file)
@@ -380,24 +380,26 @@ typeof(string) // 5 element type (event|prop)
 
     public class Xcls_from : Object
     {
-        public Gtk.TreeViewColumn el;
+        public Gtk.TreeView el;
         private Xcls_PopoverAddProp  _this;
 
 
             // my vars (def)
+        public int sort_column_id;
+        public string title;
 
         // ctor
         public Xcls_from(Xcls_PopoverAddProp _owner )
         {
             _this = _owner;
             _this.from = this;
-            this.el = new Gtk.TreeViewColumn();
+            this.el = new Gtk.TreeView();
 
             // my vars (dec)
+            this.sort_column_id = 4;
+            this.title = From;
 
             // set gobject values
-            this.el.sort_column_id = 4;
-            this.el.title = "From";
 
             // init method