# msgbox.tcl --
#
# This demonstration script creates message boxes of various type
#
# SCCS: @(#) msgbox.tcl 1.2 96/08/27 14:42:23
catch {destroy $w}
toplevel $w
label $w.msg -font $font -wraplength 4i -justify left -text "Choose the icon and type option of the message box. Then press the \"Message Box\" button to see the message box."
-command "showMessageBox $w"
set msgboxIcon info
}
set msgboxType ok
}
global msgboxIcon msgboxType
-message "This is a \"$msgboxType\" type messagebox with the \"$msgboxIcon\" icon"]
}