Advertisement
Guest User

Untitled

a guest
May 24th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. frofrom guizero import App, Text
  2. import PushButton
  3.  
  4. def say_my_name():
  5. welcome_message.value = my_name.value
  6.  
  7. def entree():
  8.  
  9. def FaF():
  10.  
  11. def sytycd():
  12.  
  13. def line():
  14.  
  15. def Obstacle():
  16.  
  17. def Knaben():
  18.  
  19. def Transport():
  20.  
  21. def Capture():
  22.  
  23.  
  24. app = App(title="LeichteGepanzertebierkraftwagen", width=300, height=200, layout)
  25. update_text = PushButton(app, command=say_my_name, text="UGGH NAMEE")
  26. Entree_button = PushButton(app, command=entree, text="Entree Mode")
  27. FaF_button = PushButton(app, command=FaF, text="Fast and Furious")
  28. SYTYCD_button = PushButton(app, command=sytycd, text="SYTYCD")
  29. Line_button = PushButton(app, command=line, text="Line Dance Mode")
  30. Obstacle_button = PushButton(app, command=Obstacle, text="Obstacle course")
  31. Knaben_button = PushButton(app, command=Knaben, text="Des Knaben Wunderhorn")
  32. Transport_button = PushButton(app, command=Transport, text="Transport & Rebuild")
  33. Capture_button = PushButton(app, command=capture, text="Capture the Flag")
  34.  
  35.  
  36. while True:
  37. welcome_message = Text(app, text="A goeieee!")
  38. my_name = Text(app, text="Helllooww")
  39.  
  40. app.display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement