From 5d3052a4e07417b66150a9f86919d75de295583d Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 26 Mar 2024 22:53:32 +0800 Subject: [PATCH] src/Builder4/Editor.bjs src/Builder4/Editor.vala --- src/Builder4/Editor.bjs | 7 ++++++- src/Builder4/Editor.vala | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/Builder4/Editor.bjs b/src/Builder4/Editor.bjs index b637bf46f..72e1370f1 100644 --- a/src/Builder4/Editor.bjs +++ b/src/Builder4/Editor.bjs @@ -60,7 +60,12 @@ "id" : "helper", "int margin_end" : 4, "int margin_start" : 4, - "xtype" : "Label" + "xtype" : "Label", + "| void setHelper" : [ + "() {", + "", + "}" + ] }, { "$ xns" : "Gtk", diff --git a/src/Builder4/Editor.vala b/src/Builder4/Editor.vala index a2d1729bd..2791a4c26 100644 --- a/src/Builder4/Editor.vala +++ b/src/Builder4/Editor.vala @@ -544,6 +544,9 @@ public class Editor : Object } // user defined functions + public void setHelper () { + + } } public class Xcls_Scale6 : Object -- 2.39.2