src/Builder4/DialogNewComponent.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 27 Apr 2015 09:39:00 +0000 (17:39 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 27 Apr 2015 09:39:00 +0000 (17:39 +0800)
src/Builder4/DialogNewComponent.vala

src/Builder4/DialogNewComponent.bjs
src/Builder4/DialogNewComponent.vala

index 05df71a..26af7d5 100644 (file)
          "$ xns" : "Gtk"
         },
         {
+         "id" : "build_module",
          "* pack" : "attach_defaults,1,2,6,7",
          "xtype" : "ComboBox",
          "$ xns" : "Gtk"
-        },
-        {
-         "id" : "modOrder",
-         "$ visible" : true,
-         "xtype" : "Entry",
-         "* pack" : "attach_defaults,1,2,5,6",
-         "$ xns" : "Gtk"
         }
        ]
       }
index bc94879..640cf8e 100644 (file)
@@ -18,7 +18,7 @@ public class Xcls_DialogNewComponent : Object
     public Xcls_parent parent;
     public Xcls_permname permname;
     public Xcls_modOrder modOrder;
-    public Xcls_modOrder modOrder;
+    public Xcls_build_module build_module;
 
         // my vars (def)
     public signal void success (Project.Project pr, JsRender.JsRender file);
@@ -43,10 +43,10 @@ public class Xcls_DialogNewComponent : Object
         var child_0 = new Xcls_VBox2( _this );
         child_0.ref();
         this.el.get_content_area().add (  child_0.el  );
-        var child_1 = new Xcls_Button19( _this );
+        var child_1 = new Xcls_Button18( _this );
         child_1.ref();
         this.el.add_action_widget (  child_1.el , 0 );
-        var child_2 = new Xcls_Button20( _this );
+        var child_2 = new Xcls_Button19( _this );
         child_2.ref();
         this.el.add_action_widget (  child_2.el , 1 );
 
@@ -285,12 +285,9 @@ public class Xcls_DialogNewComponent : Object
             var child_12 = new Xcls_Label16( _this );
             child_12.ref();
             this.el.attach_defaults (  child_12.el , 0,1,6,7 );
-            var child_13 = new Xcls_ComboBox17( _this );
+            var child_13 = new Xcls_build_module( _this );
             child_13.ref();
             this.el.attach_defaults (  child_13.el , 1,2,6,7 );
-            var child_14 = new Xcls_modOrder( _this );
-            child_14.ref();
-            this.el.attach_defaults (  child_14.el , 1,2,5,6 );
         }
 
         // user defined functions 
@@ -601,7 +598,7 @@ public class Xcls_DialogNewComponent : Object
 
         // user defined functions 
     }
-    public class Xcls_ComboBox17 : Object 
+    public class Xcls_build_module : Object 
     {
         public Gtk.ComboBox el;
         private Xcls_DialogNewComponent  _this;
@@ -610,9 +607,10 @@ public class Xcls_DialogNewComponent : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ComboBox17(Xcls_DialogNewComponent _owner )
+        public Xcls_build_module(Xcls_DialogNewComponent _owner )
         {
             _this = _owner;
+            _this.build_module = this;
             this.el = new Gtk.ComboBox();
 
             // my vars (dec)
@@ -622,30 +620,7 @@ public class Xcls_DialogNewComponent : Object
 
         // user defined functions 
     }
-    public class Xcls_modOrder : Object 
-    {
-        public Gtk.Entry el;
-        private Xcls_DialogNewComponent  _this;
-
-
-            // my vars (def)
-
-        // ctor 
-        public Xcls_modOrder(Xcls_DialogNewComponent _owner )
-        {
-            _this = _owner;
-            _this.modOrder = this;
-            this.el = new Gtk.Entry();
-
-            // my vars (dec)
-
-            // set gobject values
-            this.el.visible = true;
-        }
-
-        // user defined functions 
-    }
-    public class Xcls_Button19 : Object 
+    public class Xcls_Button18 : Object 
     {
         public Gtk.Button el;
         private Xcls_DialogNewComponent  _this;
@@ -654,7 +629,7 @@ public class Xcls_DialogNewComponent : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Button19(Xcls_DialogNewComponent _owner )
+        public Xcls_Button18(Xcls_DialogNewComponent _owner )
         {
             _this = _owner;
             this.el = new Gtk.Button();
@@ -667,7 +642,7 @@ public class Xcls_DialogNewComponent : Object
 
         // user defined functions 
     }
-    public class Xcls_Button20 : Object 
+    public class Xcls_Button19 : Object 
     {
         public Gtk.Button el;
         private Xcls_DialogNewComponent  _this;
@@ -676,7 +651,7 @@ public class Xcls_DialogNewComponent : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Button20(Xcls_DialogNewComponent _owner )
+        public Xcls_Button19(Xcls_DialogNewComponent _owner )
         {
             _this = _owner;
             this.el = new Gtk.Button();