ruby-****@sourc*****
ruby-****@sourc*****
2012年 9月 15日 (土) 02:48:21 JST
------------------------- REMOTE_ADDR = 184.145.80.187 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-txtw-textview ------------------------- @@ -7,7 +7,7 @@ The Gtk::TextView widget is used to display multiple lines of a text document. It provides many ways to customize the text within the widget. You can even insert Gdk::Pixbuf objects and other child widgets into a document. Gtk::TextView is the first reasonably involved widget we've encountered so far and in this session we will explore most of its interesting features. It is a versatile widget that you will exploit in many GTK+ applications. -As I just said, this widget is not only used to display simple text, it can also be used to display many types of rich text, and interactive documents used by a variety of different applications. This is what we will learn here and in the following pages. +As just hinted, this widget is not only used to display simple text, it can also be used to display many types of rich text, and interactive documents used by a variety of different applications. This is what we will learn here and in the following pages. Let us start with a simple example of Gtk::TextView widget inside a Gtk::ScrolledWindow widget. This listing illustrates the simplest text view example that you could create: