Add files via upload
This commit is contained in:
parent
2d326d751d
commit
a809facebc
3 changed files with 6 additions and 1 deletions
BIN
dist/pgw-0.0.2-py3-none-any.whl
vendored
Normal file
BIN
dist/pgw-0.0.2-py3-none-any.whl
vendored
Normal file
Binary file not shown.
BIN
dist/pgw-0.0.2.tar.gz
vendored
Normal file
BIN
dist/pgw-0.0.2.tar.gz
vendored
Normal file
Binary file not shown.
|
@ -1,6 +1,6 @@
|
||||||
import pygwin
|
import pygwin
|
||||||
|
|
||||||
win = pygwin.create('UI Example',(270,350))
|
win = pygwin.create('UI example',(270,350))
|
||||||
base = pygwin.ui.base(win)
|
base = pygwin.ui.base(win)
|
||||||
|
|
||||||
lbl = pygwin.ui.label('Label')
|
lbl = pygwin.ui.label('Label')
|
||||||
|
@ -21,6 +21,10 @@ ta.focus = True
|
||||||
ta._generate()
|
ta._generate()
|
||||||
ta.focus = False
|
ta.focus = False
|
||||||
base.put(ta,(10,255))
|
base.put(ta,(10,255))
|
||||||
|
tta = pygwin.ui.tip('textarea',
|
||||||
|
*ta.surface.size,
|
||||||
|
waitBeforeShowing=30)
|
||||||
|
base.put(tta,(10,255))
|
||||||
|
|
||||||
run = True
|
run = True
|
||||||
while run:
|
while run:
|
||||||
|
@ -34,5 +38,6 @@ while run:
|
||||||
loadbar.step()
|
loadbar.step()
|
||||||
if loadbar.get() == loadbar.length:
|
if loadbar.get() == loadbar.length:
|
||||||
loadbar.set(0)
|
loadbar.set(0)
|
||||||
|
tta.responceWidth,tta.responceHeight=ta.surface.size
|
||||||
win.update(30)
|
win.update(30)
|
||||||
pygwin.close()
|
pygwin.close()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue