- 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.expand = false;
- this.el.label = "New Ticket";
-
- //listeners
- this.el.clicked.connect( () => {
- _this.el.response(-1);
- Ticket.singleton().show(_this.repo);
-
- });
- }
-
- // user defined functions
- }
-
- public class Xcls_Label17 : Object