]
}
]
- },
- {
- "label" : "Do not create Branch",
- "* pack" : "add_action_widget,0",
- "xtype" : "Button",
- "Gtk.ReliefStyle relief" : "Gtk.ReliefStyle.NONE",
- "$ xns" : "Gtk"
- },
- {
- "label" : "Create Branch",
- "* pack" : "add_action_widget,1",
- "xtype" : "Button",
- "$ xns" : "Gtk"
}
]
}
var child_0 = new Xcls_VBox2( _this );
child_0.ref();
this.el.get_content_area().add ( child_0.el );
- var child_1 = new Xcls_Button16( _this );
- child_1.ref();
- this.el.add_action_widget ( child_1.el , 0 );
- var child_2 = new Xcls_Button17( _this );
- child_2.ref();
- this.el.add_action_widget ( child_2.el , 1 );
//listeners
this.el.delete_event.connect( (self, event) => {
- public class Xcls_Button16 : Object
- {
- public Gtk.Button el;
- private NewBranch _this;
-
-
- // my vars (def)
-
- // ctor
- public Xcls_Button16(NewBranch _owner )
- {
- _this = _owner;
- this.el = new Gtk.Button();
-
- // my vars (dec)
-
- // set gobject values
- this.el.relief = Gtk.ReliefStyle.NONE;
- this.el.label = "Do not create Branch";
- }
-
- // user defined functions
- }
-
- public class Xcls_Button17 : Object
- {
- public Gtk.Button el;
- private NewBranch _this;
-
-
- // my vars (def)
-
- // ctor
- public Xcls_Button17(NewBranch _owner )
- {
- _this = _owner;
- this.el = new Gtk.Button();
-
- // my vars (dec)
-
- // set gobject values
- this.el.label = "Create Branch";
- }
-
- // user defined functions
- }
-
}