src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 31 Jan 2024 10:51:33 +0000 (18:51 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 31 Jan 2024 10:51:33 +0000 (18:51 +0800)
src/Builder4/MainWindow.vala

src/Builder4/MainWindow.bjs
src/Builder4/MainWindow.vala

index 29adbcc..87196b0 100644 (file)
              ""
             ]
            },
+           "string label" : "New Window",
            "xtype" : "Button"
           }
          ],
index 60c7cfa..4b8f3e2 100644 (file)
@@ -1311,7 +1311,7 @@ public class Xcls_MainWindow : Object
                        var child_2 = new Xcls_Box36( _this );
                        child_2.ref();
                        this.el.append( child_2.el );
-                       var child_3 = new Xcls_Paned40( _this );
+                       var child_3 = new Xcls_Paned39( _this );
                        child_3.ref();
                        this.el.append( child_3.el );
                }
@@ -1455,8 +1455,7 @@ public class Xcls_MainWindow : Object
                        this.el.margin_end = 4;
                        this.el.halign = Gtk.Align.START;
                        this.el.hexpand = true;
-                       var child_1 = new Xcls_Box39( _this );
-                       this.el.child = child_1.el;
+                       this.el.label = "New Window";
 
                        //listeners
                        this.el.clicked.connect( ( ) => {
@@ -1466,31 +1465,9 @@ public class Xcls_MainWindow : Object
 
                // user defined functions
        }
-       public class Xcls_Box39 : Object
-       {
-               public Gtk.Box el;
-               private Xcls_MainWindow  _this;
-
-
-                       // my vars (def)
-
-               // ctor
-               public Xcls_Box39(Xcls_MainWindow _owner )
-               {
-                       _this = _owner;
-                       this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
-
-                       // my vars (dec)
-
-                       // set gobject values
-               }
-
-               // user defined functions
-       }
-
 
 
-       public class Xcls_Paned40 : Object
+       public class Xcls_Paned39 : Object
        {
                public Gtk.Paned el;
                private Xcls_MainWindow  _this;
@@ -1499,7 +1476,7 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Paned40(Xcls_MainWindow _owner )
+               public Xcls_Paned39(Xcls_MainWindow _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Paned( Gtk.Orientation.VERTICAL );
@@ -1508,15 +1485,15 @@ public class Xcls_MainWindow : Object
 
                        // set gobject values
                        this.el.vexpand = true;
-                       var child_1 = new Xcls_ScrolledWindow41( _this );
+                       var child_1 = new Xcls_ScrolledWindow40( _this );
                        this.el.start_child = child_1.el;
-                       var child_2 = new Xcls_ScrolledWindow55( _this );
+                       var child_2 = new Xcls_ScrolledWindow54( _this );
                        this.el.end_child = child_2.el;
                }
 
                // user defined functions
        }
-       public class Xcls_ScrolledWindow41 : Object
+       public class Xcls_ScrolledWindow40 : Object
        {
                public Gtk.ScrolledWindow el;
                private Xcls_MainWindow  _this;
@@ -1525,7 +1502,7 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_ScrolledWindow41(Xcls_MainWindow _owner )
+               public Xcls_ScrolledWindow40(Xcls_MainWindow _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.ScrolledWindow();
@@ -1533,13 +1510,13 @@ public class Xcls_MainWindow : Object
                        // my vars (dec)
 
                        // set gobject values
-                       var child_1 = new Xcls_ColumnView42( _this );
+                       var child_1 = new Xcls_ColumnView41( _this );
                        this.el.child = child_1.el;
                }
 
                // user defined functions
        }
-       public class Xcls_ColumnView42 : Object
+       public class Xcls_ColumnView41 : Object
        {
                public Gtk.ColumnView el;
                private Xcls_MainWindow  _this;
@@ -1548,7 +1525,7 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_ColumnView42(Xcls_MainWindow _owner )
+               public Xcls_ColumnView41(Xcls_MainWindow _owner )
                {
                        _this = _owner;
                        new Xcls_winsel( _this );
@@ -1579,7 +1556,7 @@ public class Xcls_MainWindow : Object
                {
                        _this = _owner;
                        _this.winsel = this;
-                       var child_1 = new Xcls_SortListModel44( _this );
+                       var child_1 = new Xcls_SortListModel43( _this );
                        child_1.ref();
                        this.el = new Gtk.SingleSelection( child_1.el );
 
@@ -1624,7 +1601,7 @@ public class Xcls_MainWindow : Object
                
                }
        }
-       public class Xcls_SortListModel44 : Object
+       public class Xcls_SortListModel43 : Object
        {
                public Gtk.SortListModel el;
                private Xcls_MainWindow  _this;
@@ -1633,11 +1610,11 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_SortListModel44(Xcls_MainWindow _owner )
+               public Xcls_SortListModel43(Xcls_MainWindow _owner )
                {
                        _this = _owner;
                        new Xcls_winfilter( _this );
-                       var child_2 = new Xcls_StringSorter49( _this );
+                       var child_2 = new Xcls_StringSorter48( _this );
                        child_2.ref();
                        this.el = new Gtk.SortListModel( _this.winfilter.el, child_2.el );
 
@@ -1685,7 +1662,7 @@ public class Xcls_MainWindow : Object
                {
                        _this = _owner;
                        _this.windowsearch = this;
-                       var child_1 = new Xcls_PropertyExpression47( _this );
+                       var child_1 = new Xcls_PropertyExpression46( _this );
                        child_1.ref();
                        this.el = new Gtk.StringFilter( child_1.el );
 
@@ -1696,7 +1673,7 @@ public class Xcls_MainWindow : Object
 
                // user defined functions
        }
-       public class Xcls_PropertyExpression47 : Object
+       public class Xcls_PropertyExpression46 : Object
        {
                public Gtk.PropertyExpression el;
                private Xcls_MainWindow  _this;
@@ -1705,7 +1682,7 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_PropertyExpression47(Xcls_MainWindow _owner )
+               public Xcls_PropertyExpression46(Xcls_MainWindow _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.PropertyExpression( typeof(WindowState), null, "file_name" );
@@ -1743,7 +1720,7 @@ public class Xcls_MainWindow : Object
        }
 
 
-       public class Xcls_StringSorter49 : Object
+       public class Xcls_StringSorter48 : Object
        {
                public Gtk.StringSorter el;
                private Xcls_MainWindow  _this;
@@ -1752,10 +1729,10 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_StringSorter49(Xcls_MainWindow _owner )
+               public Xcls_StringSorter48(Xcls_MainWindow _owner )
                {
                        _this = _owner;
-                       var child_1 = new Xcls_PropertyExpression50( _this );
+                       var child_1 = new Xcls_PropertyExpression49( _this );
                        child_1.ref();
                        this.el = new Gtk.StringSorter( child_1.el );
 
@@ -1767,7 +1744,7 @@ public class Xcls_MainWindow : Object
 
                // user defined functions
        }
-       public class Xcls_PropertyExpression50 : Object
+       public class Xcls_PropertyExpression49 : Object
        {
                public Gtk.PropertyExpression el;
                private Xcls_MainWindow  _this;
@@ -1776,7 +1753,7 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_PropertyExpression50(Xcls_MainWindow _owner )
+               public Xcls_PropertyExpression49(Xcls_MainWindow _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.PropertyExpression( typeof(WindowState), null, "file_name" );
@@ -1805,7 +1782,7 @@ public class Xcls_MainWindow : Object
                {
                        _this = _owner;
                        _this.projcol = this;
-                       var child_1 = new Xcls_SignalListItemFactory52( _this );
+                       var child_1 = new Xcls_SignalListItemFactory51( _this );
                        child_1.ref();
                        this.el = new Gtk.ColumnViewColumn( "Project", child_1.el );
 
@@ -1819,7 +1796,7 @@ public class Xcls_MainWindow : Object
 
                // user defined functions
        }
-       public class Xcls_SignalListItemFactory52 : Object
+       public class Xcls_SignalListItemFactory51 : Object
        {
                public Gtk.SignalListItemFactory el;
                private Xcls_MainWindow  _this;
@@ -1828,7 +1805,7 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_SignalListItemFactory52(Xcls_MainWindow _owner )
+               public Xcls_SignalListItemFactory51(Xcls_MainWindow _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.SignalListItemFactory();
@@ -1877,7 +1854,7 @@ public class Xcls_MainWindow : Object
                {
                        _this = _owner;
                        _this.filecol = this;
-                       var child_1 = new Xcls_SignalListItemFactory54( _this );
+                       var child_1 = new Xcls_SignalListItemFactory53( _this );
                        child_1.ref();
                        this.el = new Gtk.ColumnViewColumn( "File", child_1.el );
 
@@ -1891,7 +1868,7 @@ public class Xcls_MainWindow : Object
 
                // user defined functions
        }
-       public class Xcls_SignalListItemFactory54 : Object
+       public class Xcls_SignalListItemFactory53 : Object
        {
                public Gtk.SignalListItemFactory el;
                private Xcls_MainWindow  _this;
@@ -1900,7 +1877,7 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_SignalListItemFactory54(Xcls_MainWindow _owner )
+               public Xcls_SignalListItemFactory53(Xcls_MainWindow _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.SignalListItemFactory();
@@ -1938,7 +1915,7 @@ public class Xcls_MainWindow : Object
 
 
 
-       public class Xcls_ScrolledWindow55 : Object
+       public class Xcls_ScrolledWindow54 : Object
        {
                public Gtk.ScrolledWindow el;
                private Xcls_MainWindow  _this;
@@ -1947,7 +1924,7 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_ScrolledWindow55(Xcls_MainWindow _owner )
+               public Xcls_ScrolledWindow54(Xcls_MainWindow _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.ScrolledWindow();
@@ -1957,13 +1934,13 @@ public class Xcls_MainWindow : Object
                        // set gobject values
                        this.el.hexpand = true;
                        this.el.vexpand = true;
-                       var child_1 = new Xcls_ColumnView56( _this );
+                       var child_1 = new Xcls_ColumnView55( _this );
                        this.el.child = child_1.el;
                }
 
                // user defined functions
        }
-       public class Xcls_ColumnView56 : Object
+       public class Xcls_ColumnView55 : Object
        {
                public Gtk.ColumnView el;
                private Xcls_MainWindow  _this;
@@ -1972,10 +1949,10 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_ColumnView56(Xcls_MainWindow _owner )
+               public Xcls_ColumnView55(Xcls_MainWindow _owner )
                {
                        _this = _owner;
-                       var child_1 = new Xcls_SingleSelection57( _this );
+                       var child_1 = new Xcls_SingleSelection56( _this );
                        child_1.ref();
                        this.el = new Gtk.ColumnView( child_1.el );
 
@@ -1984,17 +1961,17 @@ public class Xcls_MainWindow : Object
                        // set gobject values
                        this.el.hexpand = true;
                        this.el.vexpand = true;
-                       var child_2 = new Xcls_ColumnViewColumn65( _this );
+                       var child_2 = new Xcls_ColumnViewColumn64( _this );
                        child_2.ref();
                        this.el.append_column( child_2.el );
-                       var child_3 = new Xcls_ColumnViewColumn67( _this );
+                       var child_3 = new Xcls_ColumnViewColumn66( _this );
                        child_3.ref();
                        this.el.append_column ( child_3.el  );
                }
 
                // user defined functions
        }
-       public class Xcls_SingleSelection57 : Object
+       public class Xcls_SingleSelection56 : Object
        {
                public Gtk.SingleSelection el;
                private Xcls_MainWindow  _this;
@@ -2003,10 +1980,10 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_SingleSelection57(Xcls_MainWindow _owner )
+               public Xcls_SingleSelection56(Xcls_MainWindow _owner )
                {
                        _this = _owner;
-                       var child_1 = new Xcls_SortListModel58( _this );
+                       var child_1 = new Xcls_SortListModel57( _this );
                        child_1.ref();
                        this.el = new Gtk.SingleSelection( child_1.el );
 
@@ -2019,7 +1996,7 @@ public class Xcls_MainWindow : Object
 
                // user defined functions
        }
-       public class Xcls_SortListModel58 : Object
+       public class Xcls_SortListModel57 : Object
        {
                public Gtk.SortListModel el;
                private Xcls_MainWindow  _this;
@@ -2028,12 +2005,12 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_SortListModel58(Xcls_MainWindow _owner )
+               public Xcls_SortListModel57(Xcls_MainWindow _owner )
                {
                        _this = _owner;
-                       var child_1 = new Xcls_FilterListModel59( _this );
+                       var child_1 = new Xcls_FilterListModel58( _this );
                        child_1.ref();
-                       var child_2 = new Xcls_StringSorter63( _this );
+                       var child_2 = new Xcls_StringSorter62( _this );
                        child_2.ref();
                        this.el = new Gtk.SortListModel( child_1.el, child_2.el );
 
@@ -2044,7 +2021,7 @@ public class Xcls_MainWindow : Object
 
                // user defined functions
        }
-       public class Xcls_FilterListModel59 : Object
+       public class Xcls_FilterListModel58 : Object
        {
                public Gtk.FilterListModel el;
                private Xcls_MainWindow  _this;
@@ -2053,7 +2030,7 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_FilterListModel59(Xcls_MainWindow _owner )
+               public Xcls_FilterListModel58(Xcls_MainWindow _owner )
                {
                        _this = _owner;
                        new Xcls_histmodel( _this );
@@ -2103,7 +2080,7 @@ public class Xcls_MainWindow : Object
                {
                        _this = _owner;
                        _this.histsearch = this;
-                       var child_1 = new Xcls_PropertyExpression62( _this );
+                       var child_1 = new Xcls_PropertyExpression61( _this );
                        child_1.ref();
                        this.el = new Gtk.StringFilter( child_1.el );
 
@@ -2114,7 +2091,7 @@ public class Xcls_MainWindow : Object
 
                // user defined functions
        }
-       public class Xcls_PropertyExpression62 : Object
+       public class Xcls_PropertyExpression61 : Object
        {
                public Gtk.PropertyExpression el;
                private Xcls_MainWindow  _this;
@@ -2123,7 +2100,7 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_PropertyExpression62(Xcls_MainWindow _owner )
+               public Xcls_PropertyExpression61(Xcls_MainWindow _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.PropertyExpression( typeof(WindowState), null, "file_name" );
@@ -2138,7 +2115,7 @@ public class Xcls_MainWindow : Object
 
 
 
-       public class Xcls_StringSorter63 : Object
+       public class Xcls_StringSorter62 : Object
        {
                public Gtk.StringSorter el;
                private Xcls_MainWindow  _this;
@@ -2147,10 +2124,10 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_StringSorter63(Xcls_MainWindow _owner )
+               public Xcls_StringSorter62(Xcls_MainWindow _owner )
                {
                        _this = _owner;
-                       var child_1 = new Xcls_PropertyExpression64( _this );
+                       var child_1 = new Xcls_PropertyExpression63( _this );
                        child_1.ref();
                        this.el = new Gtk.StringSorter( child_1.el );
 
@@ -2162,7 +2139,7 @@ public class Xcls_MainWindow : Object
 
                // user defined functions
        }
-       public class Xcls_PropertyExpression64 : Object
+       public class Xcls_PropertyExpression63 : Object
        {
                public Gtk.PropertyExpression el;
                private Xcls_MainWindow  _this;
@@ -2171,7 +2148,7 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_PropertyExpression64(Xcls_MainWindow _owner )
+               public Xcls_PropertyExpression63(Xcls_MainWindow _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.PropertyExpression( typeof(WindowState), null, "file_name" );
@@ -2187,7 +2164,7 @@ public class Xcls_MainWindow : Object
 
 
 
-       public class Xcls_ColumnViewColumn65 : Object
+       public class Xcls_ColumnViewColumn64 : Object
        {
                public Gtk.ColumnViewColumn el;
                private Xcls_MainWindow  _this;
@@ -2196,10 +2173,10 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_ColumnViewColumn65(Xcls_MainWindow _owner )
+               public Xcls_ColumnViewColumn64(Xcls_MainWindow _owner )
                {
                        _this = _owner;
-                       var child_1 = new Xcls_SignalListItemFactory66( _this );
+                       var child_1 = new Xcls_SignalListItemFactory65( _this );
                        child_1.ref();
                        this.el = new Gtk.ColumnViewColumn( "Project", child_1.el );
 
@@ -2212,7 +2189,7 @@ public class Xcls_MainWindow : Object
 
                // user defined functions
        }
-       public class Xcls_SignalListItemFactory66 : Object
+       public class Xcls_SignalListItemFactory65 : Object
        {
                public Gtk.SignalListItemFactory el;
                private Xcls_MainWindow  _this;
@@ -2221,7 +2198,7 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_SignalListItemFactory66(Xcls_MainWindow _owner )
+               public Xcls_SignalListItemFactory65(Xcls_MainWindow _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.SignalListItemFactory();
@@ -2257,7 +2234,7 @@ public class Xcls_MainWindow : Object
        }
 
 
-       public class Xcls_ColumnViewColumn67 : Object
+       public class Xcls_ColumnViewColumn66 : Object
        {
                public Gtk.ColumnViewColumn el;
                private Xcls_MainWindow  _this;
@@ -2266,10 +2243,10 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_ColumnViewColumn67(Xcls_MainWindow _owner )
+               public Xcls_ColumnViewColumn66(Xcls_MainWindow _owner )
                {
                        _this = _owner;
-                       var child_1 = new Xcls_SignalListItemFactory68( _this );
+                       var child_1 = new Xcls_SignalListItemFactory67( _this );
                        child_1.ref();
                        this.el = new Gtk.ColumnViewColumn( "File", child_1.el );
 
@@ -2282,7 +2259,7 @@ public class Xcls_MainWindow : Object
 
                // user defined functions
        }
-       public class Xcls_SignalListItemFactory68 : Object
+       public class Xcls_SignalListItemFactory67 : Object
        {
                public Gtk.SignalListItemFactory el;
                private Xcls_MainWindow  _this;
@@ -2291,7 +2268,7 @@ public class Xcls_MainWindow : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_SignalListItemFactory68(Xcls_MainWindow _owner )
+               public Xcls_SignalListItemFactory67(Xcls_MainWindow _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.SignalListItemFactory();