#!/usr/local/bin/wish4.2 text .text pack .text .text insert end "Hello!\n\ntext widget example"
#!/usr/local/bin/ruby require "tk" text = TkText.new { pack } text.insert 'end', "Hello!\n\ntext widget example" Tk.mainloop