original_docstring: Return the rows needed for self.original_widget.
docstring: Return the rows needed for self.original_widget.
docstring_tokens: Return the rows needed for self . original_widget .
code: def rows(self, size, focus=False):
          """Return the rows needed for self.original_widget."""
          if self._width_type == PACK:
              pcols, prows = self._original_widget.pack(size, focus)
              return prows
          if self._width_type == CLIP:
              fcols, frows = self._original_widget.pack((), focus)
              return frows
          (maxcol,) = size
          left, right = self.padding_values(size, focus)
          return self._original_widget.rows((maxcol-left-right,), focus=focus)
code_tokens: def rows ( self , size , focus = False ) : if self . _width_type == PACK : pcols , prows = self . _original_widget . pack ( size , focus ) return prows if self . _width_type == CLIP : fcols , frows = self . _original_widget . pack ( ( ) , focus ) return frows ( maxcol , ) = size left , right = self . padding_values ( size , focus ) return self . _original_widget . rows ( ( maxcol - left - right , ) , focus = focus )
short_docstring: Return the rows needed for self.original_widget.
short_docstring_tokens: Return the rows needed for self . original_widget .
comment: """Return the rows needed for self.original_widget."""