Flattened ecookbook.... nothing official... testing some things out...

This commit is contained in:
PySimpleGUI 2022-06-30 15:43:56 -04:00
parent 05fd8ca891
commit 0574702876
109 changed files with 0 additions and 0 deletions

View file

@ -1,8 +0,0 @@
This example shows how you can use a new capability in PySimpleGUI.... the ability to create custom events that will be returned to you through your call to `window.read()`.
In this case, the desired events are when a window receives and loses focus. This is an advanced capability that most applications don't need, but it's nice to know it's available should you need it.
The same kind of constructions can be used to bind right clicks to buttons for example.
<iframe src='https://trinket.io/embed/pygame/49c5d264d8?start=result' width='100%' height='500' frameborder='0' marginwidth='0' marginheight='0' allowfullscreen></iframe>