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

index b7fd426..a41b215 100644 (file)
                                                                                             "label": "Redraw",
                                                                                             "pack": "pack_start,false,false,0",
                                                                                             "xtype": "Button",
-                                                                                            "|xns": "Gtk"
+                                                                                            "|xns": "Gtk",
+                                                                                            "listeners": {
+                                                                                                "state_changed": "function (self, state) {\n\n}"
+                                                                                            }
                                                                                         }
                                                                                     ]
                                                                                 },