Menu

#2810 tk_messageBox can return empty string on Windows

obsolete: 8.5.8
open
5
2010-06-01
2010-06-01
No

If the parent window of a tk_messageBox is transient, and the window is iconified, the message box disappears and returns the empty string.

# Example;
package require Tk

tk_messageBox -message test
# Iconify the application, the message dialog stay open

toplevel .t
tk_messageBox -parent .t -message test
# Iconify the application, the message dialog stay open

wm transient .t .
tk_messageBox -parent .t -message test
# Iconify the application, the message dialog disappears
# Deiconify the application, tk_messageBox returns empty string

Discussion

MongoDB Logo MongoDB