From: Morton Goldberg Date: 2007-01-25T15:40:25+09:00 Subject: Re: tk text tag_configure On Jan 24, 2007, at 11:12 PM, Joel VanderWerf wrote: > Ed Redman wrote: >> I am trying to use Ruby/tk and a TkText object and change the text >> font on each line. >> I can set the font and fontsize but when I do change the Tktext >> object. All the text >> is changed I believe I have to tag the text object in some way but >> I am missing some >> point. > > Take a look at sample/demos-en/style.rb. It creates a text box with > multiple fonts, faces, etc. Just to clarify things a little, the full URL is http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/tk/sample/demos- en/style.rb Regards, Morton