Add files via upload

This commit is contained in:
themixray 2021-12-05 20:32:55 +03:00 committed by GitHub
parent 2d326d751d
commit a809facebc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View file

@ -1,6 +1,6 @@
import pygwin
win = pygwin.create('UI Example',(270,350))
win = pygwin.create('UI example',(270,350))
base = pygwin.ui.base(win)
lbl = pygwin.ui.label('Label')
@ -21,6 +21,10 @@ ta.focus = True
ta._generate()
ta.focus = False
base.put(ta,(10,255))
tta = pygwin.ui.tip('textarea',
*ta.surface.size,
waitBeforeShowing=30)
base.put(tta,(10,255))
run = True
while run:
@ -34,5 +38,6 @@ while run:
loadbar.step()
if loadbar.get() == loadbar.length:
loadbar.set(0)
tta.responceWidth,tta.responceHeight=ta.surface.size
win.update(30)
pygwin.close()