ruby-****@sourc*****
ruby-****@sourc*****
2012年 10月 2日 (火) 07:36:04 JST
------------------------- REMOTE_ADDR = 184.145.80.187 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-addrnhs ------------------------- @@ -872,6 +872,7 @@ iter = treeview.model.append(nil) iter[NAME_COLUMN] = product iter[PRICE_COLUMN] = 0.0 + iter end In the above code the((*nil*))argument in Gtk::TreeStore#append(nil) is the most important thing. It creates a child for the elusive top level((*imaginary, invisible root node.*))