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

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 10月 4日 (木) 02:29:26 JST


-------------------------
REMOTE_ADDR = 184.145.80.187
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-addrnhs
-------------------------
@@ -551,7 +551,7 @@
 
 
 
-This program is rather involved, which is true for both added facilities that user can access by clicking either the "+Add" or "-Remove" buttons. Let us first look at the functionality behind the "+Add" button.
+This program is rather involved, which is true for both added facilities that user can access by clicking either the "+Add" or "-Remove" buttons. For this program we will talk about removing rows shortly, under the title 'Removing Multiple Rows', but let us first look at the functionality behind the "+Add" button.
 
 When "+Add" button is clicked ((*add_product(treeview, list)*)) method is called. In the first part of this method we build the a data entry dialogue, which allows a user to add new products under the existing product categories to the Grocery List. (Note that application as is would not allow to create a new product category.) As you probably noticed, we set up two product categories in our data array of records of type (class) "GroceyItem" called "list". We first build up the list of possible categories, which user will have to select in the Gtk::ComboBox in order to add a new item to the selected category. Then we build the data entry elements to provide the means to enter the products into the list. You shouldn't have too much trouble understanding this first part of this "add_product" method. But the second part (the dialog.run {...}) is where all the fun starts.
 




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