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

index 21247ad..ad37d08 100644 (file)
                                                                                         },
                                                                                         {
                                                                                             "listeners": {
-                                                                                                "state_changed": "function (self, state) {\n    this.setText(state ? \"Auto Redraw OFF\" : \"Auto Redraw On\");\n}"
+                                                                                                "state_changed": "function (self, state) {\n    this.setText(state ? \"Auto Redraw OFF\" : \"Auto Redraw On\");\n}",
+                                                                                                "toggled": "function (self) {\n\n}"
                                                                                             },
                                                                                             "active": true,
                                                                                             "label": "Auto Redraw On",