From 41239df0a91752326699e99db9ba4c976aa7692a Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy <13696193+MikeTheWatchGuy@users.noreply.github.com> Date: Fri, 1 Feb 2019 23:23:48 -0500 Subject: [PATCH] docs/cookbook.md updated from https://stackedit.io/ --- docs/cookbook.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/cookbook.md b/docs/cookbook.md index b56a1703..5c30b71a 100644 --- a/docs/cookbook.md +++ b/docs/cookbook.md @@ -49,7 +49,9 @@ window = sg.Window('Window Title').Layout(layout) event, values = window.Read() window.Close() -source_filename = values[0] +text_input = values[0] +print(text_input) + ``` @@ -1526,5 +1528,5 @@ 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. \ No newline at end of file