Ejemplo n.º 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()
Ejemplo n.º 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