Пример #1
0
 def hide(self):
     """ hide window """
     try:
         self.panel.hide()
     except:
         pass
     else:
         hub.notify(events.focuschanged())
Пример #2
0
 def bottom(self):
     """ bring window to bottom"""
     try:
         self.panel.bottom()
     except:
         pass
     else:
         hub.notify(events.focuschanged())
Пример #3
0
 def top(self):
     """ bring window to top"""
     try:
         self.panel.top()
         # The following call fixes the redrawing problem when switching between
         # the filelist and the playlist window reported by Dag Wieers.
         curses.panel.update_panels()
     except:
         pass
     else:
         hub.notify(events.focuschanged())