docs/cookbook.md updated from https://stackedit.io/
This commit is contained in:
parent
3369de9d17
commit
6ac1698037
|
@ -809,7 +809,7 @@ import PySimpleGUI as sg
|
||||||
# Design pattern 1 - First window does not remain active
|
# Design pattern 1 - First window does not remain active
|
||||||
|
|
||||||
layout = [[ sg.Text('Window 1'),],
|
layout = [[ sg.Text('Window 1'),],
|
||||||
[sg.Input(d)],
|
[sg.Input()],
|
||||||
[sg.Text('', key='_OUTPUT_')],
|
[sg.Text('', key='_OUTPUT_')],
|
||||||
[sg.Button('Launch 2')]]
|
[sg.Button('Launch 2')]]
|
||||||
|
|
||||||
|
@ -940,10 +940,10 @@ There are a number of features used in this Recipe including:
|
||||||
# Button
|
# Button
|
||||||
# Dictionary return values
|
# Dictionary return values
|
||||||
# Update of elements in window (Text, Input)
|
# Update of elements in window (Text, Input)
|
||||||
# do_not_clear of Input elements
|
|
||||||
|
|
||||||
layout = [[sg.Text('Enter Your Passcode')],
|
layout = [[sg.Text('Enter Your Passcode')],
|
||||||
[sg.Input(size=(10, 1), do_not_clear=True, justification='right', key='input')],
|
[sg.Input(size=(10, 1), justification='right', key='input')],
|
||||||
[sg.Button('1'), sg.Button('2'), sg.Button('3')],
|
[sg.Button('1'), sg.Button('2'), sg.Button('3')],
|
||||||
[sg.Button('4'), sg.Button('5'), sg.Button('6')],
|
[sg.Button('4'), sg.Button('5'), sg.Button('6')],
|
||||||
[sg.Button('7'), sg.Button('8'), sg.Button('9')],
|
[sg.Button('7'), sg.Button('8'), sg.Button('9')],
|
||||||
|
@ -1550,9 +1550,8 @@ That's all... Run your `my_program.exe` file on the Windows machine of your choo
|
||||||
|
|
||||||
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:
|
<!--stackedit_data:
|
||||||
eyJoaXN0b3J5IjpbLTE4MDM0ODM5MjAsLTEzNTc5NjUyNTUsLT
|
eyJoaXN0b3J5IjpbNDUyMDQ4NzY2LC0xMzU3OTY1MjU1LC05ND
|
||||||
k0Mjc2ODgzNywtMzUwNzA2ODE4LC0xOTgzMjAzNjMwLC0xMDAw
|
I3Njg4MzcsLTM1MDcwNjgxOCwtMTk4MzIwMzYzMCwtMTAwMDI3
|
||||||
Mjc2OTU0LC0xNDAyODQwOTg2LDY2ODc4OTc0OSwtMTE3NDc5OT
|
Njk1NCwtMTQwMjg0MDk4Niw2Njg3ODk3NDksLTExNzQ3OTk4OT
|
||||||
g5Miw3MTcwNDk2NjAsLTY3OTU0OTY3NSwtMzM5MzcxMzUyXX0=
|
IsNzE3MDQ5NjYwLC02Nzk1NDk2NzUsLTMzOTM3MTM1Ml19
|
||||||
|
|
||||||
-->
|
-->
|
Loading…
Reference in New Issue