# choix du niveau
self.tr()
self.td(self.createLabel("Niveau :"))
- self.modeSelect = Select('EASY')
+ self.modeSelect = Select('NORMAL')
for k, caption in PLAYING_MODES :
self.modeSelect.add(self.createLabel(caption), k)
self.td(self.modeSelect,colspan=3)
self.tr()
self.td(Spacer(500,500))
+ @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.exitApp = True
self.send(QUIT)
def _exitHome(self, data=None) :
- self.returnValue = True
+ self.exitApp = False
self.send(QUIT)
def createLabel(self,text,font = None):