Builder4/ValaProjectSettings.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 30 Oct 2014 10:20:42 +0000 (18:20 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 30 Oct 2014 10:20:42 +0000 (18:20 +0800)
Builder4/ValaProjectSettings.vala

Builder4/ValaProjectSettings.bjs
Builder4/ValaProjectSettings.vala

index 54faf7a..db893f6 100644 (file)
@@ -7,7 +7,7 @@
     "modOrder" : "",
     "items" : [
         {
-            "| void show" : "() {\n\n}\n",
+            "| void show" : "(Project.Gtk project) {\n\n    this.project=  project;\n\n}\n",
             "xtype" : "VBox",
             "string id" : "ValaProjectSettings",
             "$ xns" : "Gtk",
index 7df3124..d7be6fa 100644 (file)
@@ -37,7 +37,9 @@ public class ValaProjectSettings : Object
     }
 
     // user defined functions 
-    public void show () {
+    public void show (Project.Gtk project) {
+    
+        this.project=  project;
     
     }
     public class Xcls_Notebook2 : Object