in reply to Re: Tk::TableMatrix Memory Usage
in thread Tk::TableMatrix Memory Usage
Looks like set (and deleteRows?) is the method causing leaks in this module. Guess we just have to work directly with the hash tied to the tablematrix widget instead.
Luckily both clearTags and windowDelete methods seem to behave properly regarding memory usage.
zentara, you can use this trick to force update of TableMatrix widget:
sub TMRefresh { #Required input TableMatrix object. return if (!$_[0]); $_[0]->configure(-padx =>($_[0]->cget(-padx))); }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Tk::TableMatrix Memory Usage
by zentara (Archbishop) on Nov 10, 2005 at 12:46 UTC |
In Section
Seekers of Perl Wisdom