NewBranch.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 13 Feb 2019 06:26:01 +0000 (14:26 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 13 Feb 2019 06:26:01 +0000 (14:26 +0800)
NewBranch.vala

NewBranch.bjs
NewBranch.vala

index a070f1d..4a012b1 100644 (file)
          "* init" : "{\n   this.el.get_style_context().add_class(\"suggested-action\");\n}\n",
          "xtype" : "Button",
          "* pack" : "attach_defaults,4,5,4,5",
-         "$ xns" : "Gtk"
+         "$ xns" : "Gtk",
+         "| return_type XXXX" : "updateState() {\n\n\n\n}\n"
         },
         {
          "* pack" : "attach_defaults,0,5,2,3",
index 95238c6..146d36b 100644 (file)
@@ -736,6 +736,11 @@ public class NewBranch : Object
         }
 
         // user defined functions
+        public return_type XXXX updateState() {
+        
+        
+        
+        }
     }
 
     public class Xcls_Box16 : Object