def unfocus(self):
    if self.showMessageLine:
        self.messageLine.detach()
    Window.unfocus(self)
def unfocus(self):
    if self.showMessageLine:
        self.messageLine.detach()
    Window.unfocus(self)