def __attrs_post_init__(self) -> None:
    'Register events.'
    self.register_event(self.on_selected)
Register events.
def __attrs_post_init__(self) -> None:
    
    self.register_event(self.on_selected)