Sample/Window.bjs
authorAlan Knowles <alan@akbkhome.com>
Thu, 14 Oct 2010 09:06:49 +0000 (17:06 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 14 Oct 2010 09:06:49 +0000 (17:06 +0800)
Sample/Window.bjs

index d39afb1..24da8bf 100644 (file)
                                                                                         },
                                                                                         {
                                                                                             "listeners": {
-                                                                                                "toggled": "function (self, state) {\n    this.el.set_Text(this.el.active  ? \"Auto Redraw OFF\" : \"Auto Redraw On\");\n}"
+                                                                                                "toggled": "function (self, state) {\n    this.el.set_label(this.el.active  ? \"Auto Redraw OFF\" : \"Auto Redraw On\");\n}"
                                                                                             },
                                                                                             "active": true,
                                                                                             "label": "Auto Redraw On",