You can pass an empty string to 'Contents' method.
$text_window->Contents('');Query or change the entire contents of the text widget. If no arguments are given, the entire contents of the text widget are returned. If any arguments are given, the entire contents of the text widget are deleted and replaced by the argument list
In reply to Re: Delete the text widget contents using perl_tk
by vlsimpson
in thread Delete the text widget contents using perl_tk
by rekha_sri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |