src/Builder4/Editor.bjs
authorAlan <alan@roojs.com>
Thu, 18 Aug 2022 09:49:08 +0000 (17:49 +0800)
committerAlan <alan@roojs.com>
Thu, 18 Aug 2022 09:49:08 +0000 (17:49 +0800)
src/Builder4/Editor.vala

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

index 79135a4..3f2de3c 100644 (file)
           },
           {
            "$ xns" : "Gtk",
+           "* init" : [
+            "{",
+            "\tthis.el.show();",
+            "}",
+            ""
+           ],
            "string label" : "Regex",
            "xtype" : "CheckMenuItem"
           },
           {
            "$ xns" : "Gtk",
+           "* init" : [
+            "{",
+            "\tthis.el.show();",
+            "}",
+            ""
+           ],
            "string label" : "Multi-line (add \\\\n)",
            "xtype" : "CheckMenuItem"
           }
index 813672a..435a65a 100644 (file)
@@ -1302,6 +1302,12 @@ public class Editor : Object
 
             // set gobject values
             this.el.label = "Regex";
+
+            // init method
+
+            {
+               this.el.show();
+            }
         }
 
         // user defined functions
@@ -1325,6 +1331,12 @@ public class Editor : Object
 
             // set gobject values
             this.el.label = "Multi-line (add \\\\n)";
+
+            // init method
+
+            {
+               this.el.show();
+            }
         }
 
         // user defined functions