#!/bin/sh # ---------------------------------------------------------------------- # DEMO: scrolledhtml in [incr Widgets] # ---------------------------------------------------------------------- #\ exec itkwish -f "$0" ${1+"$@"} package require -exact Iwidgets 2.2 # itkwish interprets the rest... # ---------------------------------------------------------------------- option add *textBackground seashell iwidgets::scrolledhtml .sh -labeltext "Scrolledhtml" \ -width 5i -height 3i \ -wrap word -linkcommand ".sh import -link" -padx 10 pack .sh .sh import [file join ${iwidgets::library} demos demo.html]