ruby-****@sourc*****
ruby-****@sourc*****
2012年 9月 8日 (土) 09:21:16 JST
------------------------- REMOTE_ADDR = 184.145.80.187 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-txtw-ttags ------------------------- @@ -5,7 +5,7 @@ There are many methods provided for changing properties of the entire text within the text buffer. But as already mentioned, it is also possible to change the display properties only of a portion of text in the text buffer. You do this with a new class Gtk::TextTag. -Text tag objects allow you to create documents with varying styles in different parts of the text, which is commonly known as rich text editing. Text tags are very simple context to apply. The following listing represents an application where multiple styles can be added or removed all together from the selection. +If you find the following ((*texttags.rb*)) program a bit too involved I encourage you to revisit the program ((<Improved "find.rb" program|tut-gtk2-txtw-itrsmrks#Improved find.rb program>)) on previous page, where I assure you, you will have no trouble understanding much easier ((*findNtextTags.rb*)) program showing you how to implement Gtk::TextTag. {{br}} {{image_left("txtw-ttags.png")}}