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

def gaduhistory-0.4+1::lib::gui::menu::MenuView::_get_main_size (   self ) [private]
_get_main_size(self) -> (int, int)
Height and width of the bottom window.

Definition at line 84 of file menu.py.

                            :
        """_get_main_size(self) -> (int, int)
        Height and width of the bottom window.
        """
        (maxy,maxx) = get_stdscr().getmaxyx()
        if self._title != None:
            maxy -= 1
        if self._bar_info:
            maxy -= self._bar_info['lines']
        return (maxy, maxx)


Generated by  Doxygen 1.6.0   Back to index