diff --git a/README.md b/README.md index b9b1952..9a50aed 100644 --- a/README.md +++ b/README.md @@ -10,3 +10,22 @@ Documentation

+ +

+ Template +

+ +```py +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() +```