ruby-****@sourc*****
ruby-****@sourc*****
2012年 8月 23日 (木) 05:03:24 JST
------------------------- REMOTE_ADDR = 70.49.49.99 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-trees ------------------------- @@ -423,7 +423,7 @@ The Gtk::TreeView and models should allow us to manage and maintain deeply nested tree structures automatically. But there are times when the intent of a tree view is only to give us a visual representation of some fixed or permanent tree layout. In that case we have to load the data at the program start up time. -Loading initial values into a tree store may become a daunting task for large tree hierarchies. We usually can help ourselves with some kind of organized structure, most likely a nicely laid array. Following is such an example. For instance we can design a table where the "INDEX" and "PARENT" columns define the hierarchy: +Loading initial values into a tree store may become a daunting task for large tree hierarchies. We usually can help ourselves with some kind of organized structure, most likely a nicely laid out array. Following is such an example. For instance we can design a table where the "INDEX" and "PARENT" columns define the hierarchy: [ INDEX ] [ PARENT ] [ DATA ] 0, 0, "food" >> ROOT Category