From 8a45c1dce8e5fee20cb4b70588c3fe0e0f9aacfe Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 13 Feb 2019 14:26:01 +0800 Subject: [PATCH] NewBranch.bjs NewBranch.vala --- NewBranch.bjs | 3 ++- NewBranch.vala | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 -- 2.39.2