Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from guizero import App,Text
- app = App (title = "This is my first GUI")
- firstmessage = Text(app,text = "GUIs are cool")
- secondmessage = Text(app,text = "This is green")
- message3 = Text(app,text = "This is the 3rd message with Red text and Calibri Font")
- firstmessage.text_size = 40
- secondmessage.bg="Green"
- message3.text_color = "Red"
- message3.font = "calibri"
- app.display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement