stk/Contrib/STk-wtour/lessons/text3.stk

7 lines
224 B
Plaintext
Raw Normal View History

1996-09-27 06:29:02 -04:00
;;; A basic text widget, with word wrapping
(pack (text '.text :wrap "word"))
(.text 'insert "current" "This is a text widget, displaying some text. ")
(.text 'insert "current" "Notice how lines are broken at words.\n")