From d14ef3ec7a7151454f751c0e9c9434efd9d81877 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 21 Mar 2019 12:36:26 +0800 Subject: [PATCH] NewBranch.bjs NewBranch.vala --- NewBranch.bjs | 15 ++++++++++++++ NewBranch.vala | 54 +++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 68 insertions(+), 1 deletion(-) diff --git a/NewBranch.bjs b/NewBranch.bjs index 97d52a80..aeb1d9c3 100644 --- a/NewBranch.bjs +++ b/NewBranch.bjs @@ -232,6 +232,21 @@ "id" : "label_select_ticket", "* pack" : false, "xtype" : "Label", + "string label" : "Select Existing Ticket to work on", + "$ xns" : "Gtk" + }, + { + "id" : "label_select_ticket", + "xtype" : "Label", + "* pack" : false, + "string label" : "Select Existing Ticket to work on", + "$ xns" : "Gtk" + }, + { + "id" : "label_select_ticket", + "* pack" : false, + "xtype" : "Label", + "string label" : "Select Existing Ticket to work on", "$ xns" : "Gtk" } ] diff --git a/NewBranch.vala b/NewBranch.vala index 0af74127..2fd74e35 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -24,6 +24,8 @@ public class NewBranch : Object public Xcls_btn_closed btn_closed; public Xcls_scrolled_window scrolled_window; public Xcls_view view; + public Xcls_label_select_ticket label_select_ticket; + public Xcls_label_select_ticket label_select_ticket; public Xcls_label_select_ticket label_select_ticket; // my vars (def) @@ -982,10 +984,60 @@ public class NewBranch : Object this.el.vexpand = true; var child_0 = new Xcls_label_select_ticket( _this ); child_0.ref(); + var child_1 = new Xcls_label_select_ticket( _this ); + child_1.ref(); + var child_2 = new Xcls_label_select_ticket( _this ); + child_2.ref(); + } + + // user defined functions + } + public class Xcls_label_select_ticket : Object + { + public Gtk.Label el; + private NewBranch _this; + + + // my vars (def) + + // ctor + public Xcls_label_select_ticket(NewBranch _owner ) + { + _this = _owner; + _this.label_select_ticket = this; + this.el = new Gtk.Label( "Select Existing Ticket to work on" ); + + // my vars (dec) + + // set gobject values + } + + // user defined functions + } + + public class Xcls_label_select_ticket : Object + { + public Gtk.Label el; + private NewBranch _this; + + + // my vars (def) + + // ctor + public Xcls_label_select_ticket(NewBranch _owner ) + { + _this = _owner; + _this.label_select_ticket = this; + this.el = new Gtk.Label( "Select Existing Ticket to work on" ); + + // my vars (dec) + + // set gobject values } // user defined functions } + public class Xcls_label_select_ticket : Object { public Gtk.Label el; @@ -999,7 +1051,7 @@ public class NewBranch : Object { _this = _owner; _this.label_select_ticket = this; - this.el = new Gtk.Label( null ); + this.el = new Gtk.Label( "Select Existing Ticket to work on" ); // my vars (dec) -- 2.39.2