ruby-****@sourc*****
ruby-****@sourc*****
2009年 2月 13日 (金) 08:29:34 JST
------------------------- REMOTE_ADDR = 74.15.84.244 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-parts ------------------------- @@ -4,9 +4,11 @@ == Parts of a Tree View -The Gtk::TreeView widget is to display data organized as a list or a tree. The data displayed in the view is organized into columns and rows. The user is able to select one or multiple rows within the tree view. All who know Linux are familiar with Nautilus file and directory browser which utilizes Gtk::TreeView widget. +The Gtk::TreeView widget is used to display data organized as a list or a tree. The data displayed in the view is organized into columns and rows. The user is able to select one or multiple rows within the tree view. All who know Linux are familiar with Nautilus file and directory browser which utilizes Gtk::TreeView widget. Gtk::TreeView widget is not only difficult to learn to use but is even more difficult to understand as a widget to program. However, time spent learning it is guarantied to be well spent, because with its almost infinite ways of customization, you will be able to apply it to a rather large variety of applications. + +What makes Gtk::TreeView unique is that it follows a design concept commonly referred to as model-view-controller (MVC) desgn. MVC is a design method where the information and the it is rendered are separated similar to the relationship between Gtk::TreeView and Gtk::TreeBuffer. === Gtk::TreeModel