Changed ReadNonBlocking to Finalize for forms needing to do an Update prior to Read
This commit is contained in:
parent
4f43f7bcaf
commit
21bbb7fca8
12 changed files with 99 additions and 34 deletions
24
Demo_Popups.py
Normal file
24
Demo_Popups.py
Normal file
|
@ -0,0 +1,24 @@
|
|||
import PySimpleGUI as sg
|
||||
|
||||
|
||||
|
||||
print(sg.PopupGetFolder('Get text', background_color='blue', text_color='white'))
|
||||
print(sg.PopupGetFile('Get text', background_color='blue', text_color='white'))
|
||||
print(sg.PopupGetFolder('Get text', background_color='blue', text_color='white'))
|
||||
|
||||
|
||||
sg.Popup('Simple popup')
|
||||
|
||||
sg.PopupNonBlocking('Non Blocking')
|
||||
sg.PopupError('Error')
|
||||
sg.PopupYesNo('Yes No')
|
||||
sg.PopupNoTitlebar('No titlebar')
|
||||
sg.PopupNoBorder('No border')
|
||||
sg.PopupNoFrame('No frame')
|
||||
sg.PopupNoButtons('No Buttons')
|
||||
sg.PopupCancel('Cancel')
|
||||
sg.PopupOKCancel('OK Cancel')
|
||||
sg.PopupAutoClose('Autoclose')
|
||||
print(sg.PopupGetText('Get text'))
|
||||
print(sg.PopupGetFile('Get File'))
|
||||
print(sg.PopupGetFolder('Get folder'))
|
Loading…
Add table
Add a link
Reference in a new issue