X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/00df52c278a4d0a72ee0016aef334c19e714ab58..899a6365838f7a7c1427676277ef72c934c1d1bb:/src/app/widgets/home.py?ds=inline diff --git a/src/app/widgets/home.py b/src/app/widgets/home.py index 86d6ab4..44d96fe 100755 --- a/src/app/widgets/home.py +++ b/src/app/widgets/home.py @@ -89,17 +89,21 @@ class Home(Table) : 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):