def PausePlay( self ): self._job_key.PausePlay() if self._job_key.IsPaused(): ClientGUIFunctions.SetBitmapButtonBitmap( self._pause_button, CC.global_pixmaps().play ) else: ClientGUIFunctions.SetBitmapButtonBitmap( self._pause_button, CC.global_pixmaps().pause )
def UpdateMute(self): pixmap = self._GetCorrectPixmap() ClientGUIFunctions.SetBitmapButtonBitmap(self, pixmap)