Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. from guizero import App, Text
  2.  
  3. app = App(title="This is my first GUI")
  4.  
  5. first_message = Text(app, text="GUIs are cool.")
  6. first_message.text_size = 20
  7.  
  8. second_message = Text(app, text="Text is Red or Orange?")
  9. second_message.text_size = 40
  10. second_message.text_color = (254, 100, 100)
  11. second_message.font = "Modern"
  12.  
  13. app.display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement