コード例 #1
0
 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 )
コード例 #2
0
    def UpdateMute(self):

        pixmap = self._GetCorrectPixmap()

        ClientGUIFunctions.SetBitmapButtonBitmap(self, pixmap)