pygwin2/examples/template.py

12 lines
219 B
Python

import pygwin2 as pgw
win = pgw.create("Title", (500, 500))
run = True
while run:
for event in pgw.getEvents():
if event.type == pgw.QUIT:
run = False
win.update()
pgw.close()