Skip to content

Instantly share code, notes, and snippets.

@PaulleDemon
Created October 26, 2021 06:59
Show Gist options
  • Save PaulleDemon/db075bf2e95c1f2c1b12cade453666ee to your computer and use it in GitHub Desktop.
Save PaulleDemon/db075bf2e95c1f2c1b12cade453666ee to your computer and use it in GitHub Desktop.
while True:
for event in event_queue:
if event == "quit":
break
elif event == "button_press":
update_button()
repaint() # draws buttons, labels, etc on the screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment