[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-treev-trees

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 8月 21日 (火) 09:49:05 JST


-------------------------
REMOTE_ADDR = 70.49.49.99
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-trees
-------------------------
@@ -7,7 +7,8 @@
 
 {{image_right("treev-trees-ok.png")}}
 
-Before we explain how to build multilayered tree store in the segment below entitled((*Building a Multilayered Tree Store,*)) lets look at a revised "Grocery List" example program from previous page called "treestore.rb". This program splits the products into two categories: "Cleaning Supplies" and "Food", which both have children of their own. The quantity of each category is set initially to zero, and is calculated, counting all children, which have the "Buy" column set to TRUE, during the run-time hence displaying 4 and 7 respectively.  Note, there are two logical columns under the header ((*Buy.*)) The left logical column represents the parent column with a small expander triangle at the edge, slightly shifted to the right is the row of children.
+When exploring the design features and elements of a list and tree store, where it should be noted that "list store" is merely a cut down "tree store", we encounter many new design features, that need explanation. In addition to commonly known items like columns and rows, there are also things Gtk:TreeIter, Gtk::TreePath and Gtk::TreeRowReference, which we have introduced on previous pages. Couple this with Gtk::TreeView and the amount of new material grows even more. One additional item we still need to add to our list of things to learn is the ((*set_cell_data_func*)) helper function. But before we do, and before we explain how to build multilayered tree store more systematically in the segment below entitled((*Building a Multilayered Tree Store,*)) lets look at a revised "Grocery List" example program from previous page called "treestore.rb", to quickly point out how building a list store differs from building a tree store. This program splits the products into two catego
 ries: "Cleaning Supplies" and "Food", which both have children of their own. The quantity of each category is set initially to zero, and is calculated, counting all children, which have the "Buy" column set to TRUE, during the run-time hence displaying 4 and 7 respectively.  Note, there are two logical columns under the header ((*Buy.*)) The left logical column represents the parent column with a small expander triangle at the edge, slightly shifted to the right is the row of children.
+
 
 {{br}}
 




ruby-gnome2-cvs メーリングリストの案内
Back to archive index