Buzzbow

FirstGUI

Aug 16th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. from guizero import App, Text
  2.  
  3. app = App(title = "Hi there")
  4.  
  5. firstmessage = Text(app, text = "This is big text", size = 40, color = "red")
  6. secondmessage = Text(app, text = "This is green", size = 16)
  7. thirdmessage = Text(app, text = "This is fun", size = 12, align = "right",color = "purple", font = "Century Gothic", )
  8.  
  9.  
  10. secondmessage.bg = "green"
  11.  
  12. app.display()
Add Comment
Please, Sign In to add comment