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

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 10月 1日 (月) 04:38:17 JST


-------------------------
REMOTE_ADDR = 184.145.80.187
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-addrnhs
-------------------------
@@ -286,7 +286,7 @@
 
 Now it is time to act on our first promise, namely to augment our Grocery List application, to allow adding and removing rows. The only difference in main body of the this application in comparison to the program from the earlier session is the addition of 'Add' and 'Remove' buttons. Also you should notice that the selection mode is set to Gtk::SELECTION_MULTIPLE to allow users to select multiple rows at the time. But the main additions to the application are in the form of 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, or rather a number, of products to buy, and to set the check-box indicating 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 "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.
+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, provided they are not top level (parent) rows, should be removed and the "Count" values updated accordingly.
 
 
 {{image_left("tooltips.png")}}




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