Move GUI toolkit from tkinter to nicegui for easier prototyping #7

Merged
traverseda merged 12 commits from feature/webui into master 2024-11-07 13:13:32 -04:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 4ae96ff8b9 - Show all commits

View File

@ -105,7 +105,7 @@ class Robot:
async def delete_robot():
await self.async_stop()
robots.remove(self)
element.remove(robot_ui)
element.remove(self.robot_ui)
ui.button("Delete", on_click=delete_robot).classes("m-2")
with ui.tabs() as tabs:
tab_containers = ui.tab('Containers')
@ -116,6 +116,7 @@ class Robot:
async def async_stop(self):
return await run.io_bound(self.stop)
def stop(self):
#Signal all processes to stop
for process in self.processes: