Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from guizero import App, Text
- app = App("This is my first GUI")
- firstmessage = Text(app, text="GUI are cool!")
- secondmessage = Text(app, text="This is Green")
- thirdmessage = Text(app, text="I can do it")
- firstmessage.text_color = "red"
- firstmessage.font = "Verdana"
- secondmessage.bg = "green"
- thirdmessage.font = "Impact"
- app.display()
Advertisement
Add Comment
Please, Sign In to add comment