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

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

index 4ea4837..0847758 100644 (file)
@@ -20,7 +20,7 @@
    "xtype" : "VPaned",
    "# JsRender.JsRender file" : "null",
    "int height" : 0,
-   "| void compileNotice" : "( string type,   string file,   int line,   string message) {\n    // if type = \"START\"... then we reset the tree?\n    // the issue is that the compiler is continually going..\n    // so editing a file etc.. may change things.?\n    // probably not an issue.\n    if (type ==\"START\") {\n        // reset the tree;\n        return;\n    }\n    \n     \n    \n}\n",
+   "| void compileNotice" : "(  type,   file,   line,   message) {\n    // if type = \"START\"... then we reset the tree?\n    // the issue is that the compiler is continually going..\n    // so editing a file etc.. may change things.?\n    // probably not an issue.\n    if (type ==\"START\") {\n        // reset the tree;\n        return;\n    }\n    \n     \n    \n}\n",
    "$ xns" : "Gtk",
    "items" : [
     {
@@ -82,7 +82,7 @@
            "* pack" : "set_model",
            "xtype" : "TreeStore",
            "$ xns" : "Gtk",
-           "| Gtk.TreePath nodeFindOrCreate" : "() {\n\n}\n"
+           "| Gtk.TreePath nodeFindOrCreate" : "(Gtk.TreePath? par, string id, string text) {\n    return par;\n}\n"
           },
           {
            "utf8 title" : "Compile output",
index bea540a..66ea757 100644 (file)
@@ -137,7 +137,7 @@ public class Xcls_GtkView : Object
              
             
     }
-    public void compileNotice ( string type,   string file,   int line,   string message) {
+    public void compileNotice (  type,   file,   line,   message) {
         // if type = "START"... then we reset the tree?
         // the issue is that the compiler is continually going..
         // so editing a file etc.. may change things.?
@@ -369,8 +369,8 @@ public class Xcls_GtkView : Object
         }
 
         // user defined functions 
-        public Gtk.TreePath nodeFindOrCreate () {
-        
+        public Gtk.TreePath nodeFindOrCreate (Gtk.TreePath? par, string id, string text) {
+            return par;
         }
     }
     public class Xcls_column : Object