in reply to Re: Tk::Stderr flush
in thread Tk::Stderr flush

Thanks, but that deletes the text every time print is called. I only need to clear the text when the popup window is destroyed. I cannot tell why the data persist when the popup is destroyed, or where it is stored.
we are the music makers and we are the dreamers of dreams - ww

Replies are listed 'Best First'.
Re^3: Tk::Stderr flush
by Anonymous Monk on Sep 15, 2012 at 23:24 UTC
    Maybe look for "OnDestroy" , all that "privateData" and "DecrementReferenceCount" stuff
      Still trying, still failing ...
      we are the music makers and we are the dreamers of dreams - ww

        What did you try?