Пример #1
0
 def onCoverWindowDestroy(self, widget, event):
     """ Destroy the cover window """
     if self.coverWindow is not None:
         self.coverWindow.destroy()
         self.coverWindow = None
         self.lastMousePosition = tools.getCursorPosition()
Пример #2
0
 def onCoverTimerTimedOut(self):
     """ The mouse has been over the cover thumbnail during enough time """
     if self.currCoverPath is not None:
         self.__showCover(*tools.getCursorPosition())
     return False