Skip to content

Commit

Permalink
Basic Controller Code
Browse files Browse the repository at this point in the history
  • Loading branch information
ezratweaver committed Jun 18, 2023
1 parent 2196f71 commit d3ddc54
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions controller.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from userscreen import UserScreenGUI, root

userscreen = UserScreenGUI()

class Controller:
def go_to_mainscreen_check():
if userscreen.main_screen:
userscreen.main_screen = False
userscreen.hide_canvas()
root.after(70, Controller.go_to_mainscreen_check)

Controller.go_to_mainscreen_check()

0 comments on commit d3ddc54

Please sign in to comment.