tk_messageBox(3tk) Tk Built-In Commands tk_messageBox(3tk) ______________________________________________________________________________ NAME tk_messageBox - SYNOPSIS tk_messageBox ?option value ...? ______________________________________________________________________________ DESCRIPTION ( -type )tk_messageBox -: -default name Name (`ok'`cancel') -type -icon iconImage IconImage : errorinfoquestion warning info -message string -parent window window -title titleString -type predefinedType predefinedType : abortretryignore abortretry ignore ok ok okcancel ok cancel retrycancel retry cancel yesno yes no yesnocancel yesno cancel EXAMPLE set answer [tk_messageBox -message "Really quit?" -type yesno -icon question] switch -- $answer { yes exit no {tk_messageBox -message "I know you like this application!" -type ok} } KEYWORDS message box [] [] 2002/05/21 Linux man : http://cmpp.linuxforum.net man man https://github.com/man-pages-zh/manpages- zh Tk 4.2 tk_messageBox(3tk)