From: Hidetoshi NAGAI Date: 2005-06-16T23:42:37+09:00 Subject: Re: How to display text file content in ruby widget From: sujeet kumar Subject: How to display text file content in ruby widget Date: Thu, 16 Jun 2005 23:03:40 +0900 Message-ID: <734fb924050616070346ff060a@mail.gmail.com> > my comp. Now how to display the content of text in Ruby Frame. Which > widget should i use ? Tk Canvas or other ... Use a TkText widget. > Also if I want to make content read only what should I do? After inserting the text into the TkText widget, set 'state' option of the TkText widget to 'disabled'. # Please see the man of Tcl/Tk's text widget (man n text). -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)