src/Builder4/PopoverFiles.bjs
authorAlan <alan@roojs.com>
Fri, 2 Sep 2022 04:20:43 +0000 (12:20 +0800)
committerAlan <alan@roojs.com>
Fri, 2 Sep 2022 04:20:43 +0000 (12:20 +0800)
src/Builder4/PopoverFiles.vala

src/Builder4/PopoverFiles.bjs
src/Builder4/PopoverFiles.vala

index d99a915..9e240b1 100644 (file)
          "int spacing" : 0,
          "int width_request" : 600,
          "items" : [
+          {
+           "$ xns" : "Gtk",
+           "Gtk.Orientation orientation" : "Gtk.Orientation.HORIZONTAL",
+           "int spacing" : 0,
+           "xtype" : "Box"
+          },
           {
            "$ xns" : "Gtk",
            "* init" : "  this.el.set_policy (Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC);",
index fa416e1..20b9209 100644 (file)
@@ -787,13 +787,38 @@ public class Xcls_PopoverFiles : Object
             // set gobject values
             this.el.width_request = 600;
             this.el.expand = true;
-            var child_0 = new Xcls_iconscroll( _this );
+            var child_0 = new Xcls_Box16( _this );
             child_0.ref();
-            this.el.add (  child_0.el  );
+            this.el.add(  child_0.el );
+            var child_1 = new Xcls_iconscroll( _this );
+            child_1.ref();
+            this.el.add (  child_1.el  );
         }
 
         // user defined functions
     }
+    public class Xcls_Box16 : Object
+    {
+        public Gtk.Box el;
+        private Xcls_PopoverFiles  _this;
+
+
+            // my vars (def)
+
+        // ctor
+        public Xcls_Box16(Xcls_PopoverFiles _owner )
+        {
+            _this = _owner;
+            this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
+
+            // my vars (dec)
+
+            // set gobject values
+        }
+
+        // user defined functions
+    }
+
     public class Xcls_iconscroll : Object
     {
         public Gtk.ScrolledWindow el;
@@ -993,7 +1018,7 @@ public class Xcls_PopoverFiles : Object
             var child_0 = new Xcls_filemodel( _this );
             child_0.ref();
             this.el.set_model (  child_0.el  );
-            var child_1 = new Xcls_TreeViewColumn22( _this );
+            var child_1 = new Xcls_TreeViewColumn23( _this );
             child_1.ref();
             this.el.append_column (  child_1.el  );
 
@@ -1097,7 +1122,7 @@ public class Xcls_PopoverFiles : Object
         // user defined functions
     }
 
-    public class Xcls_TreeViewColumn22 : Object
+    public class Xcls_TreeViewColumn23 : Object
     {
         public Gtk.TreeViewColumn el;
         private Xcls_PopoverFiles  _this;
@@ -1106,7 +1131,7 @@ public class Xcls_PopoverFiles : Object
             // my vars (def)
 
         // ctor
-        public Xcls_TreeViewColumn22(Xcls_PopoverFiles _owner )
+        public Xcls_TreeViewColumn23(Xcls_PopoverFiles _owner )
         {
             _this = _owner;
             this.el = new Gtk.TreeViewColumn();