src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 26 Mar 2024 14:53:32 +0000 (22:53 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 26 Mar 2024 14:53:32 +0000 (22:53 +0800)
src/Builder4/Editor.vala

src/Builder4/Editor.bjs
src/Builder4/Editor.vala

index b637bf4..72e1370 100644 (file)
            "id" : "helper",
            "int margin_end" : 4,
            "int margin_start" : 4,
-           "xtype" : "Label"
+           "xtype" : "Label",
+           "| void setHelper" : [
+            "() {",
+            "",
+            "}"
+           ]
           },
           {
            "$ xns" : "Gtk",
index a2d1729..2791a4c 100644 (file)
@@ -544,6 +544,9 @@ public class Editor : Object
                }
 
                // user defined functions
+               public void setHelper () {
+               
+               }
        }
 
        public class Xcls_Scale6 : Object