Moved all demo programs into subfolder
This commit is contained in:
parent
a294d0a347
commit
1881bd7126
107 changed files with 51 additions and 144 deletions
|
@ -1,37 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
import sys
|
||||
if sys.version_info[0] >= 3:
|
||||
import PySimpleGUI as sg
|
||||
else:
|
||||
import PySimpleGUI27 as sg
|
||||
|
||||
from PySimpleGUI import Print as print
|
||||
|
||||
|
||||
print('test')
|
||||
sg.PopupGetFile('Get file', save_as=True,file_types=(("ALL Files", "*.jpg"),))
|
||||
|
||||
# Here, have some windows on me....
|
||||
[sg.PopupNoWait('No-wait Popup', location=(500+100*x,500)) for x in range(10)]
|
||||
|
||||
answer = sg.PopupYesNo('Do not worry about all those open windows... they will disappear at the end', 'Are you OK with that?')
|
||||
|
||||
if answer == 'No':
|
||||
sg.PopupCancel('OK, we will destroy those windows as soon as you close this window')
|
||||
sys.exit()
|
||||
|
||||
sg.PopupNonBlocking('Your answer was',answer, location=(1000,600))
|
||||
|
||||
text = sg.PopupGetText('This is a call to PopopGetText', location=(1000,200))
|
||||
sg.PopupGetFile('Get file')
|
||||
sg.PopupGetFolder('Get folder')
|
||||
|
||||
|
||||
sg.Popup('Simple popup')
|
||||
|
||||
sg.PopupNoTitlebar('No titlebar')
|
||||
sg.PopupNoBorder('No border')
|
||||
sg.PopupNoFrame('No frame')
|
||||
sg.PopupCancel('Cancel')
|
||||
sg.PopupOKCancel('OK Cancel')
|
||||
sg.PopupAutoClose('Autoclose')
|
Loading…
Add table
Add a link
Reference in a new issue