[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-treeview-model-reference

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 8月 7日 (火) 04:43:30 JST


-------------------------
REMOTE_ADDR = 184.145.90.35
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-treeview-model-reference
-------------------------
@@ -27,7 +27,7 @@
 
  path = an_iter.path
  model = treeview.model
- iter = model.get_iter("0")
+ iter = model.get_iter(path="0")
 
 Tree row references reveal the current path of a row with Gtk::TreeRowReference#.path. There is no direct way to get a tree iter from a tree row reference, you have to retrieve the tree row reference's path first and then convert that into a tree iter.
 




ruby-gnome2-cvs メーリングリストの案内
Back to archive index