ruby-****@sourc*****
ruby-****@sourc*****
2012年 9月 7日 (金) 03:34:10 JST
------------------------- REMOTE_ADDR = 70.49.49.99 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-txtw-itrsmrks ------------------------- @@ -186,7 +186,8 @@ Gtk::TextBuffer#.text = "Some text" -Subsequently we've learned how to manipulate the entire buffer. However, it is also useful to edit just a portion of a document. There are quite a number of such methods available to you. The simplest of all is Gtk::TextBuffer#insert(iter, text). It will insert the text at the insertion point pointed at by the iter. After insertion the iter will point at the point immediately after the inserted text. +Subsequently we've learned how to manipulate the entire buffer. However, it is also useful to edit just a portion of a document. There are quite a number of such methods available to you. The simplest of all is Gtk::TextBuffer#insert(iter, text). It will insert the text at the insertion point pointed at by the iter, and emit the ((*insert-text*)) signal. After insertion the iter will point at the point immediately after the inserted text. + Following is the collection of insert methods: