src/Builder4/DialogTemplateSelect.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 18 May 2015 09:46:46 +0000 (17:46 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 18 May 2015 09:46:46 +0000 (17:46 +0800)
src/Builder4/DialogTemplateSelect.vala

src/Builder4/DialogTemplateSelect.bjs
src/Builder4/DialogTemplateSelect.vala

index fd9e1ab..8e48996 100644 (file)
      "xtype" : "Box",
      "$ pack" : "get_content_area().add ",
      "$ xns" : "Gtk",
+     "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
      "items" : [
       {
        "gint margin" : 3,
        "* pack" : "pack_start,false,false,0",
-       "xtype" : "HBox",
+       "xtype" : "Box",
        "$ xns" : "Gtk",
+       "Gtk.Orientation orientation" : "Gtk.Orientation.HORIZONTAL",
        "items" : [
         {
          "label" : "Select Template : ",
index dbad6f2..a314e50 100644 (file)
@@ -143,12 +143,12 @@ public class DialogTemplateSelect : Object
         public Xcls_Box2(DialogTemplateSelect _owner )
         {
             _this = _owner;
-            this.el = new Gtk.Box( null, 0 );
+            this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
 
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_HBox3( _this );
+            var child_0 = new Xcls_Box3( _this );
             child_0.ref();
             this.el.pack_start (  child_0.el , false,false,0 );
             var child_1 = new Xcls_Box8( _this );
@@ -158,19 +158,19 @@ public class DialogTemplateSelect : Object
 
         // user defined functions 
     }
-    public class Xcls_HBox3 : Object 
+    public class Xcls_Box3 : Object 
     {
-        public Gtk.HBox el;
+        public Gtk.Box el;
         private DialogTemplateSelect  _this;
 
 
             // my vars (def)
 
         // ctor 
-        public Xcls_HBox3(DialogTemplateSelect _owner )
+        public Xcls_Box3(DialogTemplateSelect _owner )
         {
             _this = _owner;
-            this.el = new Gtk.HBox( true, 0 );
+            this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
 
             // my vars (dec)