From: Alan Knowles Date: Sun, 17 Mar 2024 04:09:27 +0000 (+0800) Subject: src/Builder4/Editor.bjs X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=1ed431e7249600d1c09b8792c194ff611e6a8ac4;p=roobuilder src/Builder4/Editor.bjs src/Builder4/Editor.vala --- diff --git a/src/Builder4/Editor.bjs b/src/Builder4/Editor.bjs index 34f5fc7b2..dd0a0c271 100644 --- a/src/Builder4/Editor.bjs +++ b/src/Builder4/Editor.bjs @@ -1052,10 +1052,10 @@ "* prop" : "sorter", "items" : [ { - "$ GLib.Type this_type" : "", + "$ GLib.Type this_type" : "typeof(Lsp.DocumentSymbol)", "$ xns" : "Gtk", "* prop" : "expression", - "string property_name" : "", + "string property_name" : "sort_key", "xtype" : "PropertyExpression" } ], diff --git a/src/Builder4/Editor.vala b/src/Builder4/Editor.vala index 85abc84db..94dd0ca1c 100644 --- a/src/Builder4/Editor.vala +++ b/src/Builder4/Editor.vala @@ -1997,7 +1997,9 @@ public class Editor : Object _this = _owner; var child_1 = new Xcls_TreeListModel171( _this ); child_1.ref(); - this.el = new Gtk.SortListModel( child_1.el, null ); + var child_2 = new Xcls_TreeListRowSorter209( _this ); + child_2.ref(); + this.el = new Gtk.SortListModel( child_1.el, child_2.el ); // my vars (dec) @@ -2056,6 +2058,76 @@ public class Editor : Object } + public class Xcls_TreeListRowSorter209 : Object + { + public Gtk.TreeListRowSorter el; + private Editor _this; + + + // my vars (def) + + // ctor + public Xcls_TreeListRowSorter209(Editor _owner ) + { + _this = _owner; + var child_1 = new Xcls_StringSorter217( _this ); + child_1.ref(); + this.el = new Gtk.TreeListRowSorter( child_1.el ); + + // my vars (dec) + + // set gobject values + } + + // user defined functions + } + public class Xcls_StringSorter217 : Object + { + public Gtk.StringSorter el; + private Editor _this; + + + // my vars (def) + + // ctor + public Xcls_StringSorter217(Editor _owner ) + { + _this = _owner; + var child_1 = new Xcls_PropertyExpression224( _this ); + child_1.ref(); + this.el = new Gtk.StringSorter( child_1.el ); + + // my vars (dec) + + // set gobject values + } + + // user defined functions + } + public class Xcls_PropertyExpression224 : Object + { + public Gtk.PropertyExpression el; + private Editor _this; + + + // my vars (def) + + // ctor + public Xcls_PropertyExpression224(Editor _owner ) + { + _this = _owner; + this.el = new Gtk.PropertyExpression( typeof(Lsp.DocumentSymbol), null, "sort_key" ); + + // my vars (dec) + + // set gobject values + } + + // user defined functions + } + + + public class Xcls_GestureClick34 : Object