ruby-****@sourc*****
ruby-****@sourc*****
2012年 9月 30日 (日) 12:24:09 JST
------------------------- REMOTE_ADDR = 184.145.80.187 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-addrnhs ------------------------- @@ -95,8 +95,6 @@ return unless iter = store.iter_first #<-- same as: iter = store.get_iter("0") all_selections = treeview.selection # <--- obtain all selections from TreeView - # --- better name than {{ all_selections }} would - # --- be {{ treeview_selection_obj }} begin puts "Product: #{iter[2]} Buy:#{iter[0]}" if ! all_selections.iter_is_selected?(iter) end while iter.next! # =-==============-=======================