Advertisement
chrisCNG

myFirstGUIbyChris

Aug 4th, 2019
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.34 KB | None | 0 0
  1. # my first GUI by Chris
  2. from guizero import App, Text
  3. app = App(title="My GUI")
  4.  
  5. message1 = Text(app, text="Hello GUI", size=35, color="red", font="Arial")
  6. message2 = Text(app, text="In BLUE", color="white")
  7. message3 = Text(app, text="  By Chris", size=40, align="left")
  8. message2.bg = "blue"
  9. message3.font = "Freestyle Script"
  10.  
  11. app.display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement