Merge pull request #4230 from PySimpleGUI/Dev-latest

Added the Window.key_dict property
This commit is contained in:
PySimpleGUI 2021-04-27 15:12:05 -04:00 committed by GitHub
commit 91f6e90814
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 0 deletions

View file

@ -10690,6 +10690,17 @@ Hides the window from the screen and the task bar
hide()
```
### key_dict
#### property: key_dict
Returns a dictionary with all keys and their corresponding elements
{ key : Element }
|Type|Name|Meaning|
|---|---|---|
|Dict[Any, Element]| **return** | Dictionary of keys and elements |
### layout
Second of two preferred ways of telling a Window what its layout is. The other way is to pass the layout as