tkwait window

tkwait window name

Waits for window name to be destroyed (i.e., for a <Destroy> event to be delivered). This is typically used to wait for a user to finish interacting with a dialog box before using the result of that interaction. Returns an empty string.


See also