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

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 8月 26日 (日) 06:29:13 JST


-------------------------
REMOTE_ADDR = 70.49.49.99
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-addrnhs
-------------------------
@@ -277,9 +277,11 @@
 {{image_right("treev-addrnhs-01.png")}}
 
 
-Now it is time to augment our Grocery List application. The only difference in main body of the this application in comparison to the program from the earlier session is the addition of Gtk::Stock::ADD and Gtk::Stock::REMOVE buttons. Also the selection mode is changed to Gtk::SELECTION_MULTIPLE to allow users to select multiple rows at the time. The core change and the major additions to the application are in the methods called ((*add_product*)) and ((*remove_products.*)) If user clicks the "+Add" button the application presents a Gtk::Dialog that asks the user to choose a category, enter a product name and quantity of products to buy, and to select whether or not to purchase the product. 
+Now it is time to augment our Grocery List application. The only difference in main body of the this application in comparison to the program from the earlier session is the addition of Gtk::Stock::ADD and Gtk::Stock::REMOVE buttons. Also the selection mode is changed to Gtk::SELECTION_MULTIPLE to allow users to select multiple rows at the time. The core change and the major additions to the application are in the methods called((*add_product*))and((*remove_products.*))If user clicks the "+Add" button the application presents a Gtk::Dialog that asks the user to choose a category, enter a product name and quantity of products to buy, and to select whether or not to purchase the product. 
 
-If all of the entries are valid, the row is added under the chosen category. Also if the user specifies that the product should be purchased, the quantity is added to the total quantity of the category. On the other hand if the user clicks on the "-Remove" button, the selected items should be removed. 
+If all of the entries are valid, the row is added under the chosen category. Also if the user specifies that the product should be purchased, the "Count" value is added to the total Count value for the appropriate category. On the other hand if the user clicks on the "-Remove" button, the selected items should be removed and the "Count" values updated accordingly.
+
+There is a hidden and with regards to selections irrelevant feature added, namely the((*tooltip*)). If user hovers the cursor over the tree view display or over the remove button two different tool-tip messages are displayed to the user. 
 
 Let us look at the example:
 




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