src/Builder4/WindowLeftTree.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 30 May 2016 10:35:21 +0000 (18:35 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 30 May 2016 10:35:21 +0000 (18:35 +0800)
src/Builder4/WindowLeftTree.vala

src/Builder4/WindowLeftTree.bjs
src/Builder4/WindowLeftTree.vala

index e203f4e..082d12f 100644 (file)
@@ -51,6 +51,7 @@
      "# bool drag_in_motion" : "",
      "# bool blockChanges" : false,
      "$ xns" : "Gtk",
+     "| return_type XXXX" : "() {\n\n}\n",
      "|           void selectNode" : "(string treepath_str, string source) {\n\tthis.lastEventSource = source;\n    //this.selection.select_path(new  Gtk.TreePath.from_string( treepath_str));\n     var tp = new Gtk.TreePath.from_string(treepath_str);\n     \n     this.el.set_cursor(tp, null, false);  \n     this.el.scroll_to_cell(tp, null, false, 0,0);\n}\n",
      "items" : [
       {
index c247df1..f56a298 100644 (file)
@@ -828,6 +828,9 @@ public class Xcls_WindowLeftTree : Object
                     this.el.set_drag_dest_row(null, Gtk.TreeViewDropPosition.INTO_OR_AFTER);
                  }
                      
+        }
+        public return_type XXXX () {
+        
         }
         public           void selectNode (string treepath_str, string source) {
                this.lastEventSource = source;