Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import zilla
- zilla.system.init()
- flags = [zilla.WINDOWED]
- opts = [
- [zilla.GREEN_SIZE, 7, zilla.SUGGEST],
- [zilla.RED_SIZE, 7, zilla.SUGGEST]
- ]
- try:
- display = zilla.Display((640, 480), flags, opts)
- except zilla.Error:
- display = None
- print("Unable to set display")
- display.title = "hey"
- display.position = 200, 200
- display.destroy()
- zilla.system.exit()
Add Comment
Please, Sign In to add comment