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

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

index 230c840..b5a2393 100644 (file)
        "position" : 400,
        "* pack" : "pack_start,true,true,0",
        "# int lastWidth" : 0,
-       "xtype" : "HPaned",
+       "xtype" : "Paned",
        "$ xns" : "Gtk",
+       "Gtk.Orientation orientation" : "Gtk.Orientation.HORIZONTAL",
        "items" : [
         {
          "id" : "leftpane",
index 8cb6162..ce6ee14 100644 (file)
@@ -419,7 +419,7 @@ public class Xcls_MainWindow : Object
     }
     public class Xcls_mainpane : Object
     {
-        public Gtk.HPaned el;
+        public Gtk.Paned el;
         private Xcls_MainWindow  _this;
 
 
@@ -431,7 +431,7 @@ public class Xcls_MainWindow : Object
         {
             _this = _owner;
             _this.mainpane = this;
-            this.el = new Gtk.HPaned();
+            this.el = new Gtk.Paned( Gtk.Orientation.HORIZONTAL );
 
             // my vars (dec)
             this.lastWidth = 0;