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

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 8月 16日 (木) 04:47:01 JST


-------------------------
REMOTE_ADDR = 70.49.49.99
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-parts
-------------------------
@@ -305,9 +305,9 @@
  # Add all of the products to the GtkListStore.
  list.each_with_index do |e, i|
      iter = store.append
-     store.set_value(iter, $buy_it,   list[i].buy)
-     store.set_value(iter, $quantity, list[i].quantity)
-     store.set_value(iter, $product,  list[i].product)
+     store.set_value(iter, BUY_IT,   list[i].buy)
+     store.set_value(iter, QUANTITY, list[i].quantity)
+     store.set_value(iter, PRODUCT,  list[i].product)
  end
 
 Following is the pertinent API for the methods we used when dealing with the Gtk::ListStore object in the example above:




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