OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [itcl/] [iwidgets3.0.0/] [demos/] [scrolledtext] - Rev 578

Go to most recent revision | Compare with Previous | Blame | View Log

#!/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]

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.