# from guizero import App, Text, Picture from guizero import App, Text app = App(title="This is my first GUI", width=860) first_message = Text(app, text="GUIs are cool.") first_message.text_size = 40 second_message = Text(app, text="this is a green message text.") second_message.bg = "green" third_message = Text(app, text="***** DON'T PANIC *****") # third_message.font = 'Arial' third_message.font = 'Comic Sans MS' third_message.text_size = 50 third_message.text_color = "red" third_message.bg = "white" third_message.width = 'fill' # seems that pictures can only be loaded from a local accessible file system # pic = Picture(app, image='dntpanic.gif') # pic.width = '400' # pic.height = '400' app.display()