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")
- first_message = Text(app, text="GUIs are cool.")
- first_message.text_size = 20
- second_message = Text(app, text="Text is Red or Orange?")
- second_message.text_size = 40
- second_message.text_color = (254, 100, 100)
- second_message.font = "Modern"
- app.display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement