summaryrefslogtreecommitdiff
path: root/itcl/iwidgets3.0.0/demos/scrolledhtml
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2000-02-07 00:19:28 +0000
committerJason Molenda <jmolenda@apple.com>2000-02-07 00:19:28 +0000
commitb111a96ea19bde1004ecea63c7827a1d4b0b73ef (patch)
tree2b8155215201f5224d8f68ec53f9720a89dfbdd9 /itcl/iwidgets3.0.0/demos/scrolledhtml
parentb73e43e34794f4903b0bf2e0fc1298547ef01faf (diff)
downloadgdb-b111a96ea19bde1004ecea63c7827a1d4b0b73ef.tar.gz
import insight-2000-02-04 snapshot (2nd try)
Diffstat (limited to 'itcl/iwidgets3.0.0/demos/scrolledhtml')
-rwxr-xr-xitcl/iwidgets3.0.0/demos/scrolledhtml19
1 files changed, 19 insertions, 0 deletions
diff --git a/itcl/iwidgets3.0.0/demos/scrolledhtml b/itcl/iwidgets3.0.0/demos/scrolledhtml
new file mode 100755
index 00000000000..fd4c942988f
--- /dev/null
+++ b/itcl/iwidgets3.0.0/demos/scrolledhtml
@@ -0,0 +1,19 @@
+#!/bin/sh
+# ----------------------------------------------------------------------
+# DEMO: scrolledhtml in [incr Widgets]
+# ----------------------------------------------------------------------
+#\
+exec itkwish "$0" ${1+"$@"}
+package require Iwidgets 3.0
+
+# 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]