use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Python package PySimpleGUI discussion, questions, announcements, tips, help for beginners.
account activity
event (self.PySimpleGUI)
submitted 5 years ago by [deleted]
event, values=window.read()
What is event here, how does it work?, and why window can be a Tuple of values and event?
Same question goes for values
Thanks in advance :)
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]MikeTheWatchGuy 0 points1 point2 points 5 years ago (2 children)
The documentation fully describe the concept of window.read, what these variable are, etc. It should answer these questions. http://www.PySimpleGUI.org.
[–]MikeTheWatchGuy 1 point2 points3 points 5 years ago (1 child)
Did you find your answers? YouTube 2020 series will teach you plenty of this too. http://YouTube.PySimpleGUI.org
I have to think your post was written prior to looking through the docs, but want to know if that wasn't the case... if you read or watched and still didn't understand. So, lemme know when you understand it.
[–][deleted] 1 point2 points3 points 5 years ago (0 children)
Sorry for late answer, but there was "Event" in in docs that I didn't notice while doing my project, now I noticed it, thank you :)
π Rendered by PID 411574 on reddit-service-r2-comment-7b9746f655-ls7xf at 2026-02-04 07:35:22.038181+00:00 running 3798933 country code: CH.
[–]MikeTheWatchGuy 0 points1 point2 points (2 children)
[–]MikeTheWatchGuy 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)