From 5625d536cf1311b6d78514ca9899204aef31da04 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Tue, 27 Apr 2021 15:11:45 -0400 Subject: [PATCH] Added the Window.key_dict property --- docs/call reference.md | 11 +++++++++++ .../markdown input files/5_call_reference.md | 3 +++ readme_creator/output/call reference.md | 11 +++++++++++ 3 files changed, 25 insertions(+) diff --git a/docs/call reference.md b/docs/call reference.md index 1e3c97e8..29b95c39 100644 --- a/docs/call reference.md +++ b/docs/call reference.md @@ -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 diff --git a/readme_creator/markdown input files/5_call_reference.md b/readme_creator/markdown input files/5_call_reference.md index 96946efe..75107fd3 100644 --- a/readme_creator/markdown input files/5_call_reference.md +++ b/readme_creator/markdown input files/5_call_reference.md @@ -2336,6 +2336,9 @@ The following methods are here for backwards compatibility reference. You will ### hide +### key_dict + + ### layout diff --git a/readme_creator/output/call reference.md b/readme_creator/output/call reference.md index 1e3c97e8..29b95c39 100644 --- a/readme_creator/output/call reference.md +++ b/readme_creator/output/call reference.md @@ -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