update example and docs link
This commit is contained in:
parent
ff66f66fbe
commit
d7cd2bb9e2
6 changed files with 73 additions and 66 deletions
|
@ -1,12 +1,12 @@
|
|||
import pygwin
|
||||
import pygwin2 as pgw
|
||||
|
||||
win = pygwin.create("Title", (500, 500))
|
||||
win = pgw.create("Title", (500, 500))
|
||||
|
||||
run = True
|
||||
while run:
|
||||
for event in pygwin.getEvents():
|
||||
if event.type == pygwin.QUIT:
|
||||
for event in pgw.getEvents():
|
||||
if event.type == pgw.QUIT:
|
||||
run = False
|
||||
|
||||
win.update()
|
||||
pygwin.close()
|
||||
pgw.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue