# bitmap.tcl --
#
# This demonstration script creates a toplevel window that displays
# all of Tk's built-in bitmaps.
#
# SCCS: @(#) bitmap.tcl 1.4 96/02/16 10:49:27
# bitmapRow --
# Create a row of bitmap items in a window.
#
# Arguments:
# w - The window that is to contain the row.
# args - The names of one or more bitmaps, which will be displayed
# in a new row across the bottom of w along with their
# names.
frame $w
foreach bitmap $args {
incr i
}
}
set w .bitmap
global tk_library
catch {destroy $w}
toplevel $w
label $w.msg -font $font -wraplength 4i -justify left -text "This window displays all of Tk's built-in bitmaps, along with the names you can use for them in Tcl scripts."
frame $w.frame