pygwin2/examples/template.py
2021-12-13 21:52:18 +03:00

12 lines
221 B
Python

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