updates to use tk after for backgrounded tasks, also added background task convenience class for running something in the background and running a callback using tk.after when done
This commit is contained in:
parent
dd43fae62a
commit
3e87737ee6
7 changed files with 127 additions and 110 deletions
|
@ -93,5 +93,12 @@ class Application(tk.Frame):
|
|||
def save_config(self):
|
||||
appconfig.save(self.guiconfig)
|
||||
|
||||
def joined_session_update(self):
|
||||
self.statusbar.progress_bar.stop()
|
||||
if self.core.is_runtime():
|
||||
self.toolbar.set_runtime()
|
||||
else:
|
||||
self.toolbar.set_design()
|
||||
|
||||
def close(self):
|
||||
self.master.destroy()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue