def __init__(self, controller: Any) -> None: self.controller = controller self.model = controller.model self.client = controller.client self.users = self.model.users self.streams = self.model.streams self.write_box = WriteBox(self) self.search_box = SearchBox(self.controller) super(View, self).__init__(self.main_window())
def __init__(self, controller: Any) -> None: self.controller = controller self.palette = controller.theme self.model = controller.model self.users = self.model.users self.pinned_streams = self.model.pinned_streams self.unpinned_streams = self.model.unpinned_streams self.write_box = WriteBox(self) self.search_box = SearchBox(self.controller) super().__init__(self.main_window())
def __init__(self, controller: Any) -> None: self.controller = controller self.palette = controller.theme self.model = controller.model self.users = self.model.users self.pinned_streams = self.model.pinned_streams self.unpinned_streams = self.model.unpinned_streams self.write_box = WriteBox(self) self.search_box = SearchBox(self.controller) self.message_view: Any = None self.displaying_selection_hint = False super().__init__(self.main_window())