projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c14ea69
)
Clones.bjs
author
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 04:40:50 +0000
(12:40 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 04:40:50 +0000
(12:40 +0800)
Clones.vala
Clones.bjs
patch
|
blob
|
history
Clones.vala
patch
|
blob
|
history
diff --git
a/Clones.bjs
b/Clones.bjs
index
fc18cde
..
91593db
100644
(file)
--- a/
Clones.bjs
+++ b/
Clones.bjs
@@
-25,8
+25,9
@@
{
"id" : "Clones",
"xtype" : "Box",
{
"id" : "Clones",
"xtype" : "Box",
- "$ pack" : "
function(p,e) {\n p.el.get_content_area().pack_start(e.el,true,true,0)\n }\n
",
+ "$ pack" : "
get_content_area().add
",
"$ xns" : "Gtk",
"$ xns" : "Gtk",
+ "Gtk.Orientation orientation" : "Gtk.Orientation.HORIZONTAL",
"items" : [
{
"* pack" : "pack_start,false,true",
"items" : [
{
"* pack" : "pack_start,false,true",
diff --git
a/Clones.vala
b/Clones.vala
index
146d0d2
..
ae5552f
100644
(file)
--- a/
Clones.vala
+++ b/
Clones.vala
@@
-36,10
+36,7
@@
public class Clones : Object
this.el.modal = true;
var child_0 = new Xcls_Clones( _this );
child_0.ref();
this.el.modal = true;
var child_0 = new Xcls_Clones( _this );
child_0.ref();
- this.el.function(p ( child_0.el , e) {
- p.el.get_content_area().pack_start(e.el,true,true,0)
- }
- );
+ this.el.get_content_area().add ( child_0.el );
var child_1 = new Xcls_ok_button( _this );
child_1.ref();
this.el.add_action_widget ( child_1.el , 1 );
var child_1 = new Xcls_ok_button( _this );
child_1.ref();
this.el.add_action_widget ( child_1.el , 1 );
@@
-92,7
+89,7
@@
public class Clones : Object
{
_this = _owner;
_this.Clones = this;
{
_this = _owner;
_this.Clones = this;
- this.el = new Gtk.Box(
null
, 0 );
+ this.el = new Gtk.Box(
Gtk.Orientation.HORIZONTAL
, 0 );
// my vars (dec)
// my vars (dec)