ruby-****@sourc*****
ruby-****@sourc*****
2012年 8月 13日 (月) 00:53:22 JST
------------------------- REMOTE_ADDR = 184.145.90.35 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-treeview-model-manipulate ------------------------- @@ -11,7 +11,7 @@ # Append an empty row to the list store. iter = liststore.append - # Fill fields with some data - iter[0] = "Joe" - iter[1] = "Average" - iter[2] = 1970 + # Fill fields with some data (comment shows another way of setting data) + iter[0] = "Joe" # liststore.set_value(iter, 0, "Joe") + iter[1] = "Average" # liststore.set_value(iter, 1, "Average") + iter[2] = 1970 # liststore.set_value(iter, 3, 1970)