Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^2: Tk::TableMatrix Memory Usage

by ldln (Pilgrim)
on Nov 09, 2005 at 21:26 UTC ( #507219=note: print w/replies, xml ) Need Help??

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
    Thanks for the tips. I also found you can force an update with
    $t->see("end"); $t->see("1,1");

    I'm not really a human, but I play one on earth. flash japh

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://507219]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2022-12-06 14:03 GMT
Find Nodes?
    Voting Booth?

    No recent polls found