- self.td(self.quitButton)
- self.playButton = Button(self.createLabel("Jouer"), disabled=True)
- self.td(self.playButton,colspan=3)
-
- self.tr()
- self.td(Spacer(500,500))
+ self.td(self.quitButton, style={'padding_top' : 50})
+ self.playButton = Button(self.createLabel("Jouer"))
+ self.td(self.playButton, style={'padding_top' : 50})
+
+ @property
+ def selectedPlayMode(self) :
+ return self.modeSelect.value
+
+ @selectedPlayMode.setter
+ def selectedPlayMode(self, value) :
+ self.modeSelect.value = value
+ if self.selectedPlayMode != 'IMPRO' and \
+ not self.songFile :
+ self.playButton.disabled = True
+ else :
+ self.playButton.disabled = False
+
+ @property
+ def displayNotes(self) :
+ return self.displayNotesSelect.value
+
+ @displayNotes.setter
+ def displayNotes(self, value) :
+ self.displayNotesSelect.value = value