projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fa0ec32
)
NewBranch.bjs
author
Alan Knowles
<alan@roojs.com>
Thu, 21 Mar 2019 04:37:30 +0000
(12:37 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 21 Mar 2019 04:37:30 +0000
(12:37 +0800)
NewBranch.vala
NewBranch.bjs
patch
|
blob
|
history
NewBranch.vala
patch
|
blob
|
history
diff --git
a/NewBranch.bjs
b/NewBranch.bjs
index
3df949e
..
f27995b
100644
(file)
--- a/
NewBranch.bjs
+++ b/
NewBranch.bjs
@@
-250,6
+250,11
@@
"$ xns" : "Gtk"
}
]
"$ xns" : "Gtk"
}
]
+ },
+ {
+ "* pack" : "composite_name",
+ "xtype" : "Box",
+ "$ xns" : "Gtk"
}
]
}
}
]
}
diff --git
a/NewBranch.vala
b/NewBranch.vala
index
3d90374
..
6347837
100644
(file)
--- a/
NewBranch.vala
+++ b/
NewBranch.vala
@@
-56,6
+56,9
@@
public class NewBranch : Object
var child_1 = new Xcls_Notebook22( _this );
child_1.ref();
this.el.add ( child_1.el );
var child_1 = new Xcls_Notebook22( _this );
child_1.ref();
this.el.add ( child_1.el );
+ var child_2 = new Xcls_Box26( _this );
+ child_2.ref();
+ this.el.composite_name ( child_2.el );
//listeners
this.el.delete_event.connect( (self, event) => {
//listeners
this.el.delete_event.connect( (self, event) => {
@@
-1062,4
+1065,26
@@
public class NewBranch : Object
}
}
+ public class Xcls_Box26 : Object
+ {
+ public Gtk.Box el;
+ private NewBranch _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_Box26(NewBranch _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.Box( null, 0 );
+
+ // my vars (dec)
+
+ // set gobject values
+ }
+
+ // user defined functions
+ }
+
}
}