#!/bin/sh
# ----------------------------------------------------------------------
#  DEMO: scrolledtext in [incr Widgets]
# ----------------------------------------------------------------------
#\
exec itkwish "$0" ${1+"$@"}
package require Iwidgets 3.0

# itkwish interprets the rest...
# ----------------------------------------------------------------------
option add *textBackground seashell

iwidgets::scrolledtext .st -labeltext "Scrolledtext" -wrap none \
    -vscrollmode static -hscrollmode dynamic \
    -width 5i -height 2i
pack .st

.st import [file join ${iwidgets::library} demos scrolledtext]
