ruby-****@sourc*****
ruby-****@sourc*****
2012年 8月 20日 (月) 05:48:11 JST
------------------------- REMOTE_ADDR = 70.49.49.99 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-trees ------------------------- @@ -208,7 +208,7 @@ == Multidimensional Tree Store -Recently I was inspired by a discussion on Ruby Forum to write a more elaborate Tree Store example implementing a multidimensional array with categories and subcategories, to reveal the mechanics behind it. It may not be immediately apparent how to create a deeper hierarchy of categories and subcategories. We learnt so far that Gtk::TreeStore#append(nil) creates a parent row. For instance we have a table with the following data: +Recently I was inspired by a discussion on Ruby Forum to write a more elaborate Tree Store example implementing a multidimensional array with categories and subcategories, to reveal the mechanics behind it. It may not be immediately apparent how to create a deeper hierarchy of categories and subcategories. We learned so far that Gtk::TreeStore#append(nil) creates a parent row. For instance we have a table with the following data: [ INDEX ] [ PARENT ] [ DATA ] 0, 0, "food" >> ROOT Category