projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
df6d054
)
Clones.bjs
author
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 05:16:06 +0000
(13:16 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 05:16:06 +0000
(13:16 +0800)
Clones.vala
Clones.bjs
patch
|
blob
|
history
Clones.vala
patch
|
blob
|
history
diff --git
a/Clones.bjs
b/Clones.bjs
index
15275c2
..
d09beab
100644
(file)
--- a/
Clones.bjs
+++ b/
Clones.bjs
@@
-28,10
+28,6
@@
"xtype" : "Box",
"$ xns" : "Gtk",
"items" : [
"xtype" : "Box",
"$ xns" : "Gtk",
"items" : [
- {
- "xtype" : "Box",
- "$ xns" : "Gtk"
- },
{
"* pack" : "pack_start,false,false,0",
"xtype" : "Box",
{
"* pack" : "pack_start,false,false,0",
"xtype" : "Box",
diff --git
a/Clones.vala
b/Clones.vala
index
4c2eadc
..
12b5325
100644
(file)
--- a/
Clones.vala
+++ b/
Clones.vala
@@
-96,12
+96,10
@@
public class Clones : Object
// my vars (dec)
var child_0 = new Xcls_Box3( _this );
child_0.ref();
// my vars (dec)
var child_0 = new Xcls_Box3( _this );
child_0.ref();
- var child_1 = new Xcls_Box4( _this );
+ this.el.pack_start ( child_0.el , false,false,0 );
+ var child_1 = new Xcls_ScrolledWindow9( _this );
child_1.ref();
child_1.ref();
- this.el.pack_start ( child_1.el , false,false,0 );
- var child_2 = new Xcls_ScrolledWindow10( _this );
- child_2.ref();
- this.el.pack_end ( child_2.el , true,true,0 );
+ this.el.pack_end ( child_1.el , true,true,0 );
}
// user defined functions
}
// user defined functions
@@
-121,46
+119,26
@@
public class Clones : Object
this.el = new Gtk.Box();
// my vars (dec)
this.el = new Gtk.Box();
// my vars (dec)
- }
-
- // user defined functions
- }
-
- public class Xcls_Box4 : Object
- {
- public Gtk.Box el;
- private Clones _this;
-
-
- // my vars (def)
-
- // ctor
- public Xcls_Box4(Clones _owner )
- {
- _this = _owner;
- this.el = new Gtk.Box();
-
- // my vars (dec)
- var child_0 = new Xcls_Button5( _this );
+ var child_0 = new Xcls_Button4( _this );
child_0.ref();
this.el.add ( child_0.el );
child_0.ref();
this.el.add ( child_0.el );
- var child_1 = new Xcls_Button
6
( _this );
+ var child_1 = new Xcls_Button
5
( _this );
child_1.ref();
this.el.add ( child_1.el );
child_1.ref();
this.el.add ( child_1.el );
- var child_2 = new Xcls_Button
7
( _this );
+ var child_2 = new Xcls_Button
6
( _this );
child_2.ref();
this.el.add ( child_2.el );
child_2.ref();
this.el.add ( child_2.el );
- var child_3 = new Xcls_Button
8
( _this );
+ var child_3 = new Xcls_Button
7
( _this );
child_3.ref();
this.el.add ( child_3.el );
child_3.ref();
this.el.add ( child_3.el );
- var child_4 = new Xcls_Button
9
( _this );
+ var child_4 = new Xcls_Button
8
( _this );
child_4.ref();
this.el.add ( child_4.el );
}
// user defined functions
}
child_4.ref();
this.el.add ( child_4.el );
}
// user defined functions
}
- public class Xcls_Button
5
: Object
+ public class Xcls_Button
4
: Object
{
public Gtk.Button el;
private Clones _this;
{
public Gtk.Button el;
private Clones _this;
@@
-169,7
+147,7
@@
public class Clones : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_Button
5
(Clones _owner )
+ public Xcls_Button
4
(Clones _owner )
{
_this = _owner;
this.el = new Gtk.Button();
{
_this = _owner;
this.el = new Gtk.Button();
@@
-225,7
+203,7
@@
public class Clones : Object
// user defined functions
}
// user defined functions
}
- public class Xcls_Button
6
: Object
+ public class Xcls_Button
5
: Object
{
public Gtk.Button el;
private Clones _this;
{
public Gtk.Button el;
private Clones _this;
@@
-234,7
+212,7
@@
public class Clones : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_Button
6
(Clones _owner )
+ public Xcls_Button
5
(Clones _owner )
{
_this = _owner;
this.el = new Gtk.Button();
{
_this = _owner;
this.el = new Gtk.Button();
@@
-291,7
+269,7
@@
public class Clones : Object
// user defined functions
}
// user defined functions
}
- public class Xcls_Button
7
: Object
+ public class Xcls_Button
6
: Object
{
public Gtk.Button el;
private Clones _this;
{
public Gtk.Button el;
private Clones _this;
@@
-300,7
+278,7
@@
public class Clones : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_Button
7
(Clones _owner )
+ public Xcls_Button
6
(Clones _owner )
{
_this = _owner;
this.el = new Gtk.Button();
{
_this = _owner;
this.el = new Gtk.Button();
@@
-358,7
+336,7
@@
public class Clones : Object
// user defined functions
}
// user defined functions
}
- public class Xcls_Button
8
: Object
+ public class Xcls_Button
7
: Object
{
public Gtk.Button el;
private Clones _this;
{
public Gtk.Button el;
private Clones _this;
@@
-367,7
+345,7
@@
public class Clones : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_Button
8
(Clones _owner )
+ public Xcls_Button
7
(Clones _owner )
{
_this = _owner;
this.el = new Gtk.Button();
{
_this = _owner;
this.el = new Gtk.Button();
@@
-388,7
+366,7
@@
public class Clones : Object
// user defined functions
}
// user defined functions
}
- public class Xcls_Button
9
: Object
+ public class Xcls_Button
8
: Object
{
public Gtk.Button el;
private Clones _this;
{
public Gtk.Button el;
private Clones _this;
@@
-397,7
+375,7
@@
public class Clones : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_Button
9
(Clones _owner )
+ public Xcls_Button
8
(Clones _owner )
{
_this = _owner;
this.el = new Gtk.Button();
{
_this = _owner;
this.el = new Gtk.Button();
@@
-419,7
+397,7
@@
public class Clones : Object
}
}
- public class Xcls_ScrolledWindow
10
: Object
+ public class Xcls_ScrolledWindow
9
: Object
{
public Gtk.ScrolledWindow el;
private Clones _this;
{
public Gtk.ScrolledWindow el;
private Clones _this;
@@
-428,7
+406,7
@@
public class Clones : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_ScrolledWindow
10
(Clones _owner )
+ public Xcls_ScrolledWindow
9
(Clones _owner )
{
_this = _owner;
this.el = new Gtk.ScrolledWindow();
{
_this = _owner;
this.el = new Gtk.ScrolledWindow();