diff options
Diffstat (limited to 'Lib/lib-tk/test/test_ttk/support.py')
-rw-r--r-- | Lib/lib-tk/test/test_ttk/support.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/lib-tk/test/test_ttk/support.py b/Lib/lib-tk/test/test_ttk/support.py index 64058514b6..57e7803ec3 100644 --- a/Lib/lib-tk/test/test_ttk/support.py +++ b/Lib/lib-tk/test/test_ttk/support.py @@ -15,6 +15,14 @@ def get_tk_root(): return root +def root_deiconify(): + root = get_tk_root() + root.deiconify() + +def root_withdraw(): + root = get_tk_root() + root.withdraw() + def simulate_mouse_click(widget, x, y): """Generate proper events to click at the x, y position (tries to act |