src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Sun, 17 Mar 2024 04:08:10 +0000 (12:08 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 17 Mar 2024 04:08:10 +0000 (12:08 +0800)
src/Builder4/Editor.vala

src/Builder4/Editor.bjs
src/Builder4/Editor.vala

index b358e15..6be9576 100644 (file)
               ""
              ],
              "$ xns" : "Gtk",
-             "* prop" : "modelx",
+             "* prop" : "model",
              "bool autoexpand" : true,
              "bool passthrough" : false,
              "items" : [
index 68860ce..0f8bc7b 100644 (file)
@@ -1961,14 +1961,13 @@ public class Editor : Object
                {
                        _this = _owner;
                        _this.navigationselmodel = this;
-                       this.el = new Gtk.NoSelection( null );
+                       var child_1 = new Xcls_TreeListModel32( _this );
+                       child_1.ref();
+                       this.el = new Gtk.NoSelection( child_1.el );
 
                        // my vars (dec)
 
                        // set gobject values
-                       var child_1 = new Xcls_TreeListModel32( _this );
-                       child_1.ref();
-                       this.el.modelx = child_1.el;
                }
 
                // user defined functions
@@ -2034,6 +2033,28 @@ public class Editor : Object
        }
 
 
+       public class Xcls_SortListModel60 : Object
+       {
+               public Gtk.SortListModel el;
+               private Editor  _this;
+
+
+                       // my vars (def)
+
+               // ctor
+               public Xcls_SortListModel60(Editor _owner )
+               {
+                       _this = _owner;
+                       this.el = new Gtk.SortListModel( null, null );
+
+                       // my vars (dec)
+
+                       // set gobject values
+               }
+
+               // user defined functions
+       }
+
 
        public class Xcls_GestureClick34 : Object
        {