in reply to Block Tk GUI while doing a process
If I have not misunderstood your question, I think you can play with: $window->focus and iconify deiconify raise or withdraw and state (to query the current state) all methods of Toplevel methods.
An example available here
L*
|
|---|