ruby-****@sourc*****
ruby-****@sourc*****
2012年 8月 25日 (土) 03:07:30 JST
------------------------- REMOTE_ADDR = 70.49.49.99 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-addrnhs ------------------------- @@ -3,7 +3,7 @@ == Adding Rows and Handling Selections -Both of the examples that we have encountered in the "Tree View Widget" tutorial session, define the tree model during the start-up. With the exception of the values in an existing tuple (the quantity of each category is set initially to zero, and is calculated during the run-time), the contents of the store does not change after it is initially set. Here we will expand the Grocery List application to allow users to add and remove products. However, before we dive into the next example, we will learn how to handle single and multiple selections. +All of the examples that we have encountered so far in the "Tree View Widget" tutorial session, load the data into the tree model during the start-up. With the exception of the "count" values in the "Grocery List" example, where in parent rows the "count" value for each category is set initially to zero, and is calculated during the run-time, the contents of the store does not change after it is initially set. Here we will expand the Grocery List application to allow users to add and remove products. However, before we dive into the((*adding-new-rows.rb*))example, we will learn how to handle single and multiple selections. === Single Selections