def focus(self):
    self.reattach()
    if app.config.strict_debug:
        assert self.parent
        assert self.findLine.parent
        assert (self.rows > 0), self.rows
        assert (self.findLine.rows > 0), self.findLine.rows
    self.controller.focus()
    self.changeFocusTo(self.findLine)
def focus(self):
    self.reattach()
    if app.config.strict_debug:
        assert self.parent
        assert self.findLine.parent
        assert (self.rows > 0), self.rows
        assert (self.findLine.rows > 0), self.findLine.rows
    self.controller.focus()
    self.changeFocusTo(self.findLine)