def _seek_show(self):
if not self._seek_available() or self.timepos_popup_visible:
return
self.timepos_popup_visible = True
self._seek_update_vals()
width, height = self.timepos_popup.get_size()
pheight = 55
self.timepos_popup.move(gtk.gdk.screen_width() - width,
gtk.gdk.screen_height() - height - pheight)
self.timepos_popup.show()
self.current_engine.handler_unblock(self.timepos_sync_pos_handler)
if not self.seek_autohide:
def f():
self._seek_hide()
self.seek_autohide = None
return False
self.seek_autohide = gobject.timeout_add(5000, f)
# _seek_show()
评论列表
文章目录