fix: defer grab_set() to avoid 'window not viewable' error

CTkToplevel grab_set() fails when called before the window is
fully realized on screen. Defer to after(50ms) so the window
has time to become viewable.
This commit is contained in:
Jeremy Shen
2026-06-10 14:53:22 +08:00
parent d5fd816ff9
commit 7afc9051ab
3 changed files with 11 additions and 2 deletions
Binary file not shown.