projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
df11082
)
NewBranch.bjs
author
Alan Knowles
<alan@roojs.com>
Tue, 18 Dec 2018 04:04:39 +0000
(12:04 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 18 Dec 2018 04:04:39 +0000
(12:04 +0800)
NewBranch.vala
NewBranch.bjs
patch
|
blob
|
history
NewBranch.vala
patch
|
blob
|
history
diff --git
a/NewBranch.bjs
b/NewBranch.bjs
index
c350bb4
..
661d188
100644
(file)
--- a/
NewBranch.bjs
+++ b/
NewBranch.bjs
@@
-208,9
+208,9
@@
"$ xns" : "Gtk",
"items" : [
{
"$ xns" : "Gtk",
"items" : [
{
+ "id" : "view",
"* pack" : "add",
"xtype" : "WebView",
"* pack" : "add",
"xtype" : "WebView",
- "bool print_started" : false,
"$ xns" : "WebKit"
}
]
"$ xns" : "WebKit"
}
]
diff --git
a/NewBranch.vala
b/NewBranch.vala
index
5342f61
..
bb00de1
100644
(file)
--- a/
NewBranch.vala
+++ b/
NewBranch.vala
@@
-22,6
+22,7
@@
public class NewBranch : Object
public Xcls_btn_not_me btn_not_me;
public Xcls_btn_closed btn_closed;
public Xcls_scrolled_window scrolled_window;
public Xcls_btn_not_me btn_not_me;
public Xcls_btn_closed btn_closed;
public Xcls_scrolled_window scrolled_window;
+ public Xcls_view view;
// my vars (def)
public GitRepo? repo;
// my vars (def)
public GitRepo? repo;
@@
-853,7
+854,7
@@
public class NewBranch : Object
// my vars (dec)
// set gobject values
// my vars (dec)
// set gobject values
- var child_0 = new Xcls_
WebView21
( _this );
+ var child_0 = new Xcls_
view
( _this );
child_0.ref();
this.el.add ( child_0.el );
child_0.ref();
this.el.add ( child_0.el );
@@
-866,7
+867,7
@@
public class NewBranch : Object
// user defined functions
}
// user defined functions
}
- public class Xcls_
WebView21
: Object
+ public class Xcls_
view
: Object
{
public WebKit.WebView el;
private NewBranch _this;
{
public WebKit.WebView el;
private NewBranch _this;
@@
-875,9
+876,10
@@
public class NewBranch : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_
WebView21
(NewBranch _owner )
+ public Xcls_
view
(NewBranch _owner )
{
_this = _owner;
{
_this = _owner;
+ _this.view = this;
this.el = new WebKit.WebView();
// my vars (dec)
this.el = new WebKit.WebView();
// my vars (dec)