src/Builder4/PopoverProperty.bjs
authorAlan Knowles <alan@roojs.com>
Sat, 3 Feb 2024 22:29:00 +0000 (06:29 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 3 Feb 2024 22:29:00 +0000 (06:29 +0800)
src/Builder4/PopoverProperty.vala

src/Builder4/PopoverProperty.bjs
src/Builder4/PopoverProperty.vala

index 80faec8..0b5549e 100644 (file)
       },
       {
        "$ xns" : "Gtk",
-       "* ctor" : "new Gtk.DropDown.from_strings({})",
+       "* ctor" : "new Gtk.DropDown.from_strings(_this.})",
+       "* init" : [
+        "{",
+        "\t",
+        "}",
+        ""
+       ],
        "bool show_arrow" : true,
        "xtype" : "DropDown"
       },
index e3e9630..1c7c50a 100644 (file)
@@ -324,12 +324,18 @@ public class Xcls_PopoverProperty : Object
                public Xcls_DropDown882(Xcls_PopoverProperty _owner )
                {
                        _this = _owner;
-                       this.el = new Gtk.DropDown.from_strings({});
+                       this.el = new Gtk.DropDown.from_strings(_this.});
 
                        // my vars (dec)
 
                        // set gobject values
                        this.el.show_arrow = true;
+
+                       // init method
+
+                       {
+                               
+                       }
                }
 
                // user defined functions