src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 20 May 2015 08:50:50 +0000 (16:50 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 20 May 2015 08:50:50 +0000 (16:50 +0800)
src/Builder4/MainWindow.vala

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

index 2b2026c..e3a6176 100644 (file)
          "items" : [
           {
            "id" : "editpane",
-           "xtype" : "VPaned",
+           "xtype" : "Paned",
            "* pack" : "pack_start,false,true,0",
            "$ xns" : "Gtk",
+           "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
            "items" : [
             {
              "id" : "tree",
-             "xtype" : "VBox",
+             "xtype" : "Box",
              "* pack" : "add1",
              "$ xns" : "Gtk"
             },
index 72973f6..bc81f9f 100644 (file)
@@ -475,7 +475,7 @@ public class Xcls_MainWindow : Object
     }
     public class Xcls_editpane : Object
     {
-        public Gtk.VPaned el;
+        public Gtk.Paned el;
         private Xcls_MainWindow  _this;
 
 
@@ -486,7 +486,7 @@ public class Xcls_MainWindow : Object
         {
             _this = _owner;
             _this.editpane = this;
-            this.el = new Gtk.VPaned();
+            this.el = new Gtk.Paned( Gtk.Orientation.VERTICAL );
 
             // my vars (dec)
 
@@ -503,7 +503,7 @@ public class Xcls_MainWindow : Object
     }
     public class Xcls_tree : Object
     {
-        public Gtk.VBox el;
+        public Gtk.Box el;
         private Xcls_MainWindow  _this;
 
 
@@ -514,7 +514,7 @@ public class Xcls_MainWindow : Object
         {
             _this = _owner;
             _this.tree = this;
-            this.el = new Gtk.VBox( true, 0 );
+            this.el = new Gtk.Box( null, 0 );
 
             // my vars (dec)