src/Builder4/CodeInfo.bjs
authorAlan Knowles <alan@roojs.com>
Sat, 16 Mar 2024 07:23:47 +0000 (15:23 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 16 Mar 2024 07:23:47 +0000 (15:23 +0800)
src/Builder4/CodeInfo.vala

src/Builder4/CodeInfo.bjs
src/Builder4/CodeInfo.vala

index b3a9638..d697b09 100644 (file)
@@ -45,6 +45,7 @@
           {
            "$ xns" : "Gtk",
            "* prop" : "child",
+           "bool hexpand" : true,
            "xtype" : "SearchEntry"
           }
          ],
index 8eadaaa..bc35fb7 100644 (file)
@@ -175,10 +175,36 @@ public class CodeInfo : Object
                        // set gobject values
                        this.el.hexpand = true;
                        this.el.visible = true;
+                       var child_1 = new Xcls_SearchEntry1881( _this );
+                       child_1.ref();
+                       this.el.child = child_1.el;
                }
 
                // user defined functions
        }
+       public class Xcls_SearchEntry1881 : Object
+       {
+               public Gtk.SearchEntry el;
+               private CodeInfo  _this;
+
+
+                       // my vars (def)
+
+               // ctor
+               public Xcls_SearchEntry1881(CodeInfo _owner )
+               {
+                       _this = _owner;
+                       this.el = new Gtk.SearchEntry();
+
+                       // my vars (dec)
+
+                       // set gobject values
+                       this.el.hexpand = true;
+               }
+
+               // user defined functions
+       }
+
 
        public class Xcls_ScrolledWindow595 : Object
        {