Bintuch has asked for the wisdom of the Perl Monks concerning the following question:
Kind Monks,
I'm trying to figure out how can I update the same line in a text widget. The purpose is to update the size of a certain file in a loop. My text widget is $textlog
$text_log->delete('end startline', 'end'); $text_log->insert('end startline', "Current Size:$FileSize"); $text_log->update; $text_log->see('end');
The problem is that each iteration the text is appended rather than replacing the former text.
Can you please help?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Updating the same line Text Widget
by zentara (Cardinal) on Oct 20, 2010 at 12:19 UTC | |
|
Re: Updating the same line Text Widget
by jethro (Monsignor) on Oct 20, 2010 at 11:54 UTC | |
by Bintuch (Acolyte) on Oct 20, 2010 at 11:59 UTC | |
by jethro (Monsignor) on Oct 20, 2010 at 15:31 UTC | |
|
Re: Updating the same line Text Widget
by zentara (Cardinal) on Oct 20, 2010 at 14:41 UTC | |
|
Re: Updating the same line Text Widget
by jethro (Monsignor) on Oct 20, 2010 at 09:27 UTC | |
by Bintuch (Acolyte) on Oct 20, 2010 at 09:35 UTC | |
|
Re: Updating the same line Text Widget
by lamprecht (Friar) on Oct 20, 2010 at 20:57 UTC | |
|
Re: Updating the same line Text Widget
by Bintuch (Acolyte) on Oct 21, 2010 at 09:48 UTC |