From ceaf3d455a2d4e654ff7e161b71bd481da503b78 Mon Sep 17 00:00:00 2001 From: themixray <35273590+themixray@users.noreply.github.com> Date: Tue, 18 Jan 2022 18:14:00 +0300 Subject: [PATCH] Update README.md --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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() +```