(self)
Got focus
Got focus
Got focus
def on_focus(self):
        """Got focus"""
        super().on_focus()
        if self.parent and not self.parent.closed:
            self.parent.focused_child = self
def on_focus ( self ) : super ( ) . on_focus ( ) if self . parent and not self . parent . closed : self . parent . focused_child = self