projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a00b63
)
Sample/Window.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 14 Oct 2010 09:06:34 +0000
(17:06 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 14 Oct 2010 09:06:34 +0000
(17:06 +0800)
Sample/Window.js
patch
|
blob
|
history
diff --git
a/Sample/Window.js
b/Sample/Window.js
index
cac9da9
..
50006e8
100644
(file)
--- a/
Sample/Window.js
+++ b/
Sample/Window.js
@@
-2762,10
+2762,11
@@
Window=new XObject({
{
xtype: Gtk.CheckButton,
listeners : {
-
state_chang
ed : function (self, state) {
- this.
setText(state
? "Auto Redraw OFF" : "Auto Redraw On");
+
toggl
ed : function (self, state) {
+ this.
el.setText(this.el.active
? "Auto Redraw OFF" : "Auto Redraw On");
}
},
+ active : true,
label : "Auto Redraw On",
pack : "pack_start,false,false,0"
}