From: Alan Knowles Date: Wed, 13 Feb 2019 06:26:01 +0000 (+0800) Subject: NewBranch.bjs X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=8a45c1dce8e5fee20cb4b70588c3fe0e0f9aacfe NewBranch.bjs NewBranch.vala --- diff --git a/NewBranch.bjs b/NewBranch.bjs index a070f1d8..4a012b18 100644 --- a/NewBranch.bjs +++ b/NewBranch.bjs @@ -157,7 +157,8 @@ "* 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", diff --git a/NewBranch.vala b/NewBranch.vala index 95238c65..146d36b7 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -736,6 +736,11 @@ public class NewBranch : Object } // user defined functions + public return_type XXXX updateState() { + + + + } } public class Xcls_Box16 : Object