2018-09-14 16:17:19 +00:00
|
|
|
import PySimpleGUI as sg
|
|
|
|
|
2018-09-18 16:05:44 +00:00
|
|
|
print (sg.PopupYesNo('Yes No'))
|
2018-09-14 16:17:19 +00:00
|
|
|
|
2018-09-18 16:05:44 +00:00
|
|
|
print(sg.PopupGetText('Get text', background_color='blue', text_color='white', location=(1000,200)))
|
|
|
|
print(sg.PopupGetFile('Get file', background_color='blue', text_color='white'))
|
|
|
|
print(sg.PopupGetFolder('Get folder', background_color='blue', text_color='white'))
|
2018-09-14 16:17:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
sg.Popup('Simple popup')
|
|
|
|
|
2018-09-18 16:05:44 +00:00
|
|
|
sg.PopupNonBlocking('Non Blocking', location=(500,500))
|
2018-09-14 16:17:19 +00:00
|
|
|
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')
|