コード例 #1
0
ファイル: window.py プロジェクト: victory0943/PyTone
 def hide(self):
     """ hide window """
     try:
         self.panel.hide()
     except:
         pass
     else:
         hub.notify(events.focuschanged())
コード例 #2
0
ファイル: window.py プロジェクト: victory0943/PyTone
 def bottom(self):
     """ bring window to bottom"""
     try:
         self.panel.bottom()
     except:
         pass
     else:
         hub.notify(events.focuschanged())
コード例 #3
0
ファイル: window.py プロジェクト: victory0943/PyTone
 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())