Example #1
0
    def __init__(self, controller, ui):

        self._controller = controller

        self._lock = threading.Lock()

        self._updater = ClientGUIAsync.FastThreadToGUIUpdater(ui, ui.SetDirty)

        self._title_text = ''
        self._status_text = ''
        self._status_subtext = ''

        self._controller.sub(self, 'SetTitleText', 'splash_set_title_text')
        self._controller.sub(self, 'SetText', 'splash_set_status_text')
        self._controller.sub(self, 'SetSubtext', 'splash_set_status_subtext')
    def SetWindow(self, ui: FrameSplashPanel):

        self._updater = ClientGUIAsync.FastThreadToGUIUpdater(ui, ui.SetDirty)