Builder4/ValaProjectSettings.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 28 Oct 2014 09:32:35 +0000 (17:32 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 28 Oct 2014 09:32:35 +0000 (17:32 +0800)
Builder4/ValaProjectSettings.vala

Builder4/ValaProjectSettings.bjs
Builder4/ValaProjectSettings.vala

index 6a239f2..b05fa1a 100644 (file)
@@ -8,7 +8,7 @@
     "items" : [
         {
             "utf8 title" : "Edit Compile Settings",
-            "xtype" : "Dialog",
+            "xtype" : "VBox",
             "string id" : "ValaProjectSettings",
             "$ xns" : "Gtk",
             "items" : [
index d2cb726..427534d 100644 (file)
@@ -2,7 +2,7 @@ static ValaProjectSettings  _ValaProjectSettings;
 
 public class ValaProjectSettings : Object 
 {
-    public Gtk.Dialog el;
+    public Gtk.VBox el;
     private ValaProjectSettings  _this;
 
     public static ValaProjectSettings singleton()
@@ -14,17 +14,18 @@ public class ValaProjectSettings : Object
     }
 
         // my vars (def)
+    public utf8 title;
 
     // ctor 
     public ValaProjectSettings()
     {
         _this = this;
-        this.el = new Gtk.Dialog();
+        this.el = new Gtk.VBox( true, 0 );
 
         // my vars (dec)
+        this.title = Edit Compile Settings;
 
         // set gobject values
-        this.el.title = "Edit Compile Settings";
         var child_0 = new Xcls_Notebook2( _this );
         child_0.ref();
         var child_1 = new Xcls_Button23( _this );