ruby-****@sourc*****
ruby-****@sourc*****
2012年 8月 21日 (火) 10:35:37 JST
------------------------- REMOTE_ADDR = 70.49.49.99 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-trees ------------------------- @@ -213,9 +213,12 @@ By now you must have noticed the difference in code when building a list store and when building a tree store. Namely, the Gtk::List#append Gtk::Tree#append(node): + +=== Adding Rows to List Store # List Store iter = store.append - + +=== Adding Rows to Tree Store # Tree Store iter = store.append(node) # where node=nil or node=parent and iter becomes either parent or child respectively