ruby-****@sourc*****
ruby-****@sourc*****
2012年 10月 10日 (水) 07:08:05 JST
------------------------- REMOTE_ADDR = 184.145.82.7 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-crs ------------------------- @@ -369,7 +369,7 @@ :Important Note - You should avoid excessive use of cell data function, especially when there are many rows in the model. For instance in our last program example (toggle-rndr-2.rb) above we use it on two cell renderers or columns, namely, for 'Buy' and 'Count' columns. We could improve the performance of this program if we added as the last line the following to 'fix_parents_total': + You should avoid excessive use of cell data function, especially when there are many rows in the model. For instance in our last program example (toggle-rndr-2.rb) above we use it on two cell renderers or columns, namely, for 'Buy' and 'Count' columns. We could improve the performance of this program if we added as the last line the following to 'fix_parents_total' method: parent[GItm::BUY_INDEX] = total == 0 ? false : true