+ @property
+ def selectedWiimoteIndex(self) :
+ return self.selectedWiimote.value
+
+ def _initLocalListeners(self) :
+ self.browseButton.connect(CLICK, self.open_file_browser)
+ self.quitButton.connect(CLICK, self._exitApp)
+ self.playButton.connect(CLICK, self._exitHome)
+
+ def _exitApp(self, data=None) :
+ self.returnValue = False
+ self.send(QUIT)
+
+ def _exitHome(self, data=None) :
+ self.returnValue = True
+ self.send(QUIT)
+