Logo Search packages:      
Sourcecode: lfm version File versions  Download package

def lfm::lfm::Lfm::resize (   self  ) 

resize windows

Definition at line 149 of file lfm.py.

00149                     :
        """resize windows"""

        h, w = self.win.getmaxyx()
        self.maxh, self.maxw = h, w
        if w == 0 or h == 2:
            return
        for p in self.panels:
            p.win_files.erase()
            p.win_files.refresh()
        self.win.resize(h, w)
        self.win_title.resize(1, w)
        self.win_status.resize(1, w)
        self.win_status.mvwin(h-1, 0)
        for p in self.panels:
            p.do_resize(h, w)
        self.show()


    def __set_color(self, col, defcol):


Generated by  Doxygen 1.6.0   Back to index