projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
efac848
)
Clones.bjs
author
Alan Knowles
<alan@roojs.com>
Mon, 24 Dec 2018 07:34:42 +0000
(15:34 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 24 Dec 2018 07:34:42 +0000
(15:34 +0800)
Clones.vala
Clones.bjs
patch
|
blob
|
history
Clones.vala
patch
|
blob
|
history
diff --git
a/Clones.bjs
b/Clones.bjs
index
a7edb5e
..
25b057d
100644
(file)
--- a/
Clones.bjs
+++ b/
Clones.bjs
@@
-29,6
+29,11
@@
"$ xns" : "Gtk",
"Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
"items" : [
"$ xns" : "Gtk",
"Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
"items" : [
+ {
+ "* pack" : "pack_start,?bool?,?bool?,?uint?",
+ "xtype" : "Spinner",
+ "$ xns" : "Gtk"
+ },
{
"id" : "toolbar",
"bool homogeneous" : true,
{
"id" : "toolbar",
"bool homogeneous" : true,
diff --git
a/Clones.vala
b/Clones.vala
index
1812b08
..
179032a
100644
(file)
--- a/
Clones.vala
+++ b/
Clones.vala
@@
-127,16
+127,41
@@
public class Clones : Object
// my vars (dec)
// set gobject values
// my vars (dec)
// set gobject values
- var child_0 = new Xcls_
toolbar
( _this );
+ var child_0 = new Xcls_
Spinner3
( _this );
child_0.ref();
child_0.ref();
- this.el.pack_start ( child_0.el ,
false,false,0
);
- var child_1 = new Xcls_
scrolled
( _this );
+ this.el.pack_start ( child_0.el ,
?bool?,?bool?,?uint?
);
+ var child_1 = new Xcls_
toolbar
( _this );
child_1.ref();
child_1.ref();
- this.el.pack_end ( child_1.el , true,true,0 );
+ this.el.pack_start ( child_1.el , false,false,0 );
+ var child_2 = new Xcls_scrolled( _this );
+ child_2.ref();
+ this.el.pack_end ( child_2.el , true,true,0 );
}
// user defined functions
}
}
// user defined functions
}
+ public class Xcls_Spinner3 : Object
+ {
+ public Gtk.Spinner el;
+ private Clones _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_Spinner3(Clones _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.Spinner();
+
+ // my vars (dec)
+
+ // set gobject values
+ }
+
+ // user defined functions
+ }
+
public class Xcls_toolbar : Object
{
public Gtk.Box el;
public class Xcls_toolbar : Object
{
public Gtk.Box el;
@@
-156,14
+181,14
@@
public class Clones : Object
// set gobject values
this.el.homogeneous = true;
// set gobject values
this.el.homogeneous = true;
- var child_0 = new Xcls_Button
4
( _this );
+ var child_0 = new Xcls_Button
5
( _this );
child_0.ref();
this.el.add ( child_0.el );
}
// user defined functions
}
child_0.ref();
this.el.add ( child_0.el );
}
// user defined functions
}
- public class Xcls_Button
4
: Object
+ public class Xcls_Button
5
: Object
{
public Gtk.Button el;
private Clones _this;
{
public Gtk.Button el;
private Clones _this;
@@
-172,7
+197,7
@@
public class Clones : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_Button
4
(Clones _owner )
+ public Xcls_Button
5
(Clones _owner )
{
_this = _owner;
this.el = new Gtk.Button();
{
_this = _owner;
this.el = new Gtk.Button();