Test eCookbook Integration

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

View file

@ -0,0 +1,8 @@
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>