

def syncronize_from_model_async(self):
    self.view.heading_title = self.model.heading_title
    self.view.heading_subtitle = self.model.heading_subtitle
    for (index, widget) in enumerate(self.view.required_section):
        widget.set_value(self.model.required_args[index]._value)
    for (index, widget) in enumerate(self.view.optional_section):
        widget.set_value(self.model.optional_args[index]._value)
    getattr(self, self.model.current_state)()

dataset/ETHPy150Open chriskiehl/Gooey/gooey/gui/presenter.py Presenter.syncronize_from_model_async/original