Update README.md
This commit is contained in:
parent
f798c9180f
commit
ceaf3d455a
1 changed files with 19 additions and 0 deletions
19
README.md
19
README.md
|
@ -10,3 +10,22 @@
|
||||||
Documentation
|
Documentation
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<h2 align="center">
|
||||||
|
Template
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
```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()
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue