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

src/Builder4/DialogSaveModule.bjs
src/Builder4/DialogSaveModule.vala

index 4e196b3..34298b0 100644 (file)
@@ -5,6 +5,7 @@
  "path" : "/home/alan/gitlive/app.Builder.js/src/Builder4/DialogSaveModule.bjs",
  "permname" : "",
  "modOrder" : "",
+ "build_module" : "",
  "items" : [
   {
    "listeners" : {
    "$ xns" : "Gtk",
    "items" : [
     {
-     "xtype" : "HBox",
+     "xtype" : "Box",
      "$ pack" : " get_content_area().add\n\n",
      "$ xns" : "Gtk",
      "items" : [
       {
        "label" : "Name",
-       "* pack" : "add",
        "xtype" : "Label",
+       "* pack" : "add",
        "$ xns" : "Gtk"
       },
       {
        "id" : "name",
-       "* pack" : "add",
        "xtype" : "Entry",
+       "* pack" : "add",
        "$ xns" : "Gtk"
       }
      ]
     },
     {
      "label" : "Cancel",
-     "* pack" : "add_action_widget,0",
      "xtype" : "Button",
+     "* pack" : "add_action_widget,0",
      "$ xns" : "Gtk"
     },
     {
      "label" : "OK",
-     "* pack" : "add_action_widget,1",
      "xtype" : "Button",
+     "* pack" : "add_action_widget,1",
      "$ xns" : "Gtk"
     }
    ]
index f1daeea..aa430ae 100644 (file)
@@ -30,7 +30,7 @@ public class DialogSaveModule : Object
         this.el.default_height = 200;
         this.el.default_width = 400;
         this.el.modal = true;
-        var child_0 = new Xcls_HBox2( _this );
+        var child_0 = new Xcls_Box2( _this );
         child_0.ref();
         this.el.get_content_area().add (  child_0.el  );
         var child_1 = new Xcls_Button5( _this );
@@ -96,19 +96,19 @@ public class DialogSaveModule : Object
         
         
     }
-    public class Xcls_HBox2 : Object 
+    public class Xcls_Box2 : Object 
     {
-        public Gtk.HBox el;
+        public Gtk.Box el;
         private DialogSaveModule  _this;
 
 
             // my vars (def)
 
         // ctor 
-        public Xcls_HBox2(DialogSaveModule _owner )
+        public Xcls_Box2(DialogSaveModule _owner )
         {
             _this = _owner;
-            this.el = new Gtk.HBox( true, 0 );
+            this.el = new Gtk.Box( null, 0 );
 
             // my vars (dec)