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

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 9月 12日 (水) 00:33:34 JST


-------------------------
REMOTE_ADDR = 184.145.80.187
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-addrnhs
-------------------------
@@ -95,6 +95,8 @@
    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!                         #  =-==============-=======================




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