def rows(self, size, focus=False):
        (maxcol,) = size
        return len(self.get_line_translation(maxcol))
Return the number of rows the rendered text requires.
dataset/ETHPy150Open AnyMesh/anyMesh-Python/example/urwid/widget.py/Text.rows