src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 19 Mar 2024 14:17:43 +0000 (22:17 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 19 Mar 2024 14:17:43 +0000 (22:17 +0800)
src/Builder4/Editor.vala

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

index 82c2079..31e3b8c 100644 (file)
        "id" : "navigationwindow",
        "items" : [
         {
+         "# int selected_row" : "-1",
          "$ xns" : "Gtk",
          "* prop" : "child",
          "id" : "navigation",
index b837a22..2242bf5 100644 (file)
@@ -1760,6 +1760,7 @@ public class Editor : Object
 
 
                        // my vars (def)
+               public int selected_row;
 
                // ctor
                public Xcls_navigation(Editor _owner )
@@ -1770,6 +1771,7 @@ public class Editor : Object
                        this.el = new Gtk.ColumnView( _this.navigationselmodel.el );
 
                        // my vars (dec)
+                       this.selected_row = -1;
 
                        // set gobject values
                        this.el.name = "editor-navigation";