docs/cookbook.md updated from https://stackedit.io/

This commit is contained in:
MikeTheWatchGuy 2019-02-01 23:22:14 -05:00
parent 4ad00beac0
commit 34b295153a
1 changed files with 5 additions and 2 deletions

View File

@ -41,7 +41,7 @@ This will be the most common pattern you'll follow if you are not using an "even
import PySimpleGUI as sg import PySimpleGUI as sg
layout = [[sg.Text('My one-shot window.')], layout = [[sg.Text('My one-shot window.')],
[sg.InputText(), sg.FileBrowse()], [sg.InputText()],
[sg.Submit(), sg.Cancel()]] [sg.Submit(), sg.Cancel()]]
window = sg.Window('Window Title').Layout(layout) window = sg.Window('Window Title').Layout(layout)
@ -1524,4 +1524,7 @@ That's all... Run your `my_program.exe` file on the Windows machine of your choo
> >
(famous last words that screw up just about anything being referenced) (famous last words that screw up just about anything being referenced)
Your EXE file should run without creating a "shell window". Only the GUI window should show up on your taskbar. Your EXE file should run without creating a "shell window". Only the GUI window should show up on your taskbar.
<!--stackedit_data:
eyJoaXN0b3J5IjpbMjA3NTYwOTk3M119
-->