src/Builder4/DialogTemplateSelect.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 27 Mar 2015 11:41:51 +0000 (19:41 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 27 Mar 2015 11:41:51 +0000 (19:41 +0800)
src/Builder4/DialogTemplateSelect.vala

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

index 87fc8ff..21e56c0 100644 (file)
      "xtype" : "Button",
      "* pack" : "add_action_widget,0",
      "$ xns" : "Gtk"
+    },
+    {
+     "label" : "OK",
+     "* pack" : "add_action_widget,0",
+     "xtype" : "Button",
+     "$ xns" : "Gtk"
     }
    ]
   }
index fe56ec2..26f6fea 100644 (file)
@@ -40,6 +40,9 @@ public class DialogTemplateSelect : Object
         var child_2 = new Xcls_Button9( _this );
         child_2.ref();
         this.el.add_action_widget (  child_2.el , 0 );
+        var child_3 = new Xcls_Button10( _this );
+        child_3.ref();
+        this.el.add_action_widget (  child_3.el , 0 );
 
         // listeners 
         this.el.delete_event.connect( (self, event)  =>{
@@ -298,6 +301,28 @@ public class DialogTemplateSelect : Object
             this.el.label = "OK";
         }
 
+        // user defined functions 
+    }
+    public class Xcls_Button10 : Object 
+    {
+        public Gtk.Button el;
+        private DialogTemplateSelect  _this;
+
+
+            // my vars (def)
+
+        // ctor 
+        public Xcls_Button10(DialogTemplateSelect _owner )
+        {
+            _this = _owner;
+            this.el = new Gtk.Button();
+
+            // my vars (dec)
+
+            // set gobject values
+            this.el.label = "OK";
+        }
+
         // user defined functions 
     }
 }