indramsy Dec 8th, 2019 111 Never
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")
- thirdmessage = Text(app, text="this is black and not green")
- firstmessage.text_size = 40
- firstmessage.text_color = [255,0,0]
- secondmessage.bg = [0,255,0]
- thirdmessage.font = "Times"
RAW Paste Data