ruby-****@sourc*****
ruby-****@sourc*****
2012年 10月 9日 (火) 03:39:42 JST
------------------------- REMOTE_ADDR = 184.145.82.7 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-crs ------------------------- @@ -347,7 +347,7 @@ iter[GItm::BUY_INDEX] = any_child_set_to_buy(iter) if iter.has_child? end -Here the helper method((*'any_child_set_to_buy'*))is used to modify only the product category control rows or in other words parent nodes, i.e. the rows with children rows. We need the helper method to traverse all the children for the pertinent product category and return true if any child has 'Buy' value checked and false otherwise: +Here the helper method((*'any_child_set_to_buy'*))is used to modify only the product category control rows or in other words the parent nodes, i.e. the rows with children rows. We need the helper method to traverse all the children for the pertinent product category and return true if any child has 'Buy' value checked and false otherwise: def any_child_set_to_buy(parent) tmp_iter = parent.first_child