src/Builder4/GtkView.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 29 Apr 2015 12:00:22 +0000 (20:00 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 29 Apr 2015 12:00:22 +0000 (20:00 +0800)
src/Builder4/GtkView.vala

src/Builder4/GtkView.bjs
src/Builder4/GtkView.vala

index a5de60c..e035095 100644 (file)
@@ -82,7 +82,7 @@
            "* pack" : "set_model",
            "xtype" : "TreeStore",
            "$ xns" : "Gtk",
-           "| Gtk.TreePath nodeFindOrCreate" : "() {\n    return new Gtk.TreePath(); \n\n}\n   "
+           "| Gtk.TreePath nodeFindOrCreate" : "(Gtk.TreePath? par, string id, string title) {\n\n    // loop through parent childnre\n    \n\n    return new Gtk.TreePath(); \n\n}\n   "
           },
           {
            "utf8 title" : "Compile output",
index c2980f7..eb4293b 100644 (file)
@@ -392,7 +392,11 @@ public class Xcls_GtkView : Object
         }
 
         // user defined functions 
-        public Gtk.TreePath nodeFindOrCreate () {
+        public Gtk.TreePath nodeFindOrCreate (Gtk.TreePath? par, string id, string title) {
+        
+            // loop through parent childnre
+            
+        
             return new Gtk.TreePath(); 
         
         }