ruby-****@sourc*****
ruby-****@sourc*****
2012年 8月 18日 (土) 01:44:48 JST
------------------------- REMOTE_ADDR = 70.49.49.99 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-trees ------------------------- @@ -3,7 +3,7 @@ == Using Gtk::TreeStore -Beside Gtk::ListStore, there is one more type of built-in model used with tree view called Gtk::TreeStore which provides the same functionality as Gtk::ListStore, except the data can be organized into a multilayered tree. Just like Gtk::ListStore, the Gtk::TreeStore object is a tree model for use with a Gtk::TreeView widget. It implements the Gtk::TreeModel interface, and inherits all of its methods. It also implements the Gtk::TreeSortable interface so you can sort the list using the view. Finally, it also implements the tree drag and drop interfaces. +Beside Gtk::ListStore, there is one more type of built-in model used with tree view called Gtk::TreeStore which provides the same functionality as Gtk::ListStore, except the data can be organized into a multilayered tree. Both Gtk::ListStore and Gtk::TreeStore implement the Gtk::TreeModel interface, and inherit all of its methods. They also implement the Gtk::TreeSortable interface so you can sort the list using the view. Finally, drag and drop interfaces are also implemented. {{image_right("treev-trees-ok.png")}}