ruby-****@sourc*****
ruby-****@sourc*****
2012年 9月 28日 (金) 04:05:58 JST
------------------------- REMOTE_ADDR = 184.145.80.187 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-rr ------------------------- @@ -109,16 +109,23 @@ :In Gtk::ListStore we have methods: - Gtk::ListStore#insert(position), Gtk::ListStore#insert_before(sibling), Gtk::ListStore#insert_after(sibling), Gtk::ListStore#prepend, Gtk::ListStore#append, Gtk::ListStore#swap(a, b), Gtk::ListStore#move_before(iter, position), Gtk::ListStore#move_after(iter, position) and Gtk::ListStore#each. + Gtk::ListStore#insert(position), Gtk::ListStore#insert_before(sibling), Gtk::ListStore#insert_after(sibling), Gtk::ListStore#prepend, Gtk::ListStore#append, Gtk::ListStore#swap(a, b), Gtk::ListStore#move_before(iter, position), Gtk::ListStore#move_after(iter, position) and Gtk::ListStore#each; Gtk::ListStore#iter_first. :In Gtk::TreeStore we have methods: - Gtk::TreeStore#insert(parent, position), Gtk::TreeStore#insert(parent, position, values), Gtk::TreeStore#insert_before(parent, sibling), Gtk::TreeStore#insert_after(parent, sibling), Gtk::TreeStore#prepend(parent), Gtk::TreeStore#append(parent), Gtk::TreeStore#swap(a, b), Gtk::TreeStore#move_before(iter, position), Gtk::TreeStore#move_after(iter, position) and Gtk::TreeStore#each. + Gtk::TreeStore#insert(parent, position), Gtk::TreeStore#insert(parent, position, values), Gtk::TreeStore#insert_before(parent, sibling), Gtk::TreeStore#insert_after(parent, sibling), Gtk::TreeStore#prepend(parent), Gtk::TreeStore#append(parent), Gtk::TreeStore#swap(a, b), Gtk::TreeStore#move_before(iter, position), Gtk::TreeStore#move_after(iter, position) and Gtk::TreeStore#each; Gtk::TreeStore#iter_first. + + + + +But only in Gtk::TreeIter we can find the method Gtk::TreeIter#next!: + + + -But in Gtk::TreeIter we can find the method Gtk::TreeIter#next!: def traverse_list_store (liststore) # get first row in list store