summaryrefslogtreecommitdiffstats
path: root/library/demos/msgbox.tcl
diff options
context:
space:
mode:
authordas <das>2007-10-17 18:55:05 (GMT)
committerdas <das>2007-10-17 18:55:05 (GMT)
commitddc2bc56d36ab7adfd22fe2b85a21c234cb5862d (patch)
tree68defd6e399439befded294f53366940bbd12873 /library/demos/msgbox.tcl
parent6a127a690e28a07ba6cd36bdda959bba81570cba (diff)
downloadtk-ddc2bc56d36ab7adfd22fe2b85a21c234cb5862d.zip
tk-ddc2bc56d36ab7adfd22fe2b85a21c234cb5862d.tar.gz
tk-ddc2bc56d36ab7adfd22fe2b85a21c234cb5862d.tar.bz2
more GOOBE
Diffstat (limited to 'library/demos/msgbox.tcl')
-rw-r--r--library/demos/msgbox.tcl5
1 files changed, 3 insertions, 2 deletions
diff --git a/library/demos/msgbox.tcl b/library/demos/msgbox.tcl
index 92728e3..52e6e30 100644
--- a/library/demos/msgbox.tcl
+++ b/library/demos/msgbox.tcl
@@ -2,13 +2,14 @@
#
# This demonstration script creates message boxes of various type
#
-# RCS: @(#) $Id: msgbox.tcl,v 1.4 2004/12/21 11:56:35 dkf Exp $
+# RCS: @(#) $Id: msgbox.tcl,v 1.5 2007/10/17 18:55:05 das Exp $
if {![info exists widgetDemo]} {
error "This script should be run from the \"widget\" demo."
}
package require Tk
+package require Ttk
set w .msgbox
catch {destroy $w}
@@ -21,7 +22,7 @@ label $w.msg -font $font -wraplength 4i -justify left -text "Choose the icon and
pack $w.msg -side top
pack [addSeeDismiss $w.buttons $w {} {
- button $w.buttons.vars -text "Message Box" -command "showMessageBox $w"
+ ttk::button $w.buttons.vars -text "Message Box" -command "showMessageBox $w"
}] -side bottom -fill x
#pack $w.buttons.dismiss $w.buttons.code $w.buttons.vars -side left -expand 1