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:
698243b
)
Sample/Window.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 14 Oct 2010 09:04:34 +0000
(17:04 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 14 Oct 2010 09:04:34 +0000
(17:04 +0800)
Sample/Window.js
patch
|
blob
|
history
diff --git
a/Sample/Window.js
b/Sample/Window.js
index
52d5cad
..
cac9da9
100644
(file)
--- a/
Sample/Window.js
+++ b/
Sample/Window.js
@@
-2760,8
+2760,13
@@
Window=new XObject({
pack : "pack_start,false,false,0"
},
{
- xtype: Gtk.Button,
- label : "Redraw",
+ xtype: Gtk.CheckButton,
+ listeners : {
+ state_changed : function (self, state) {
+ this.setText(state ? "Auto Redraw OFF" : "Auto Redraw On");
+ }
+ },
+ label : "Auto Redraw On",
pack : "pack_start,false,false,0"
}
]