yourkeylady
Programmer
I'm new to perl tk as of today.
I'm trying to output a download progress report that shows files downloaded, size, etc.
Is this code to insert text correct?
my $txt = $mw -> Text( -wrap=>'word', -width=> 50,-height=> 20) -> pack();
$txt->insert('end',"\nFetching the files, size is 5mb.");
Its all placed within more code with buttons and a progress bar. Everything shows fine, except the text is not visible when I call insert.
Thanks
Tricia
I'm trying to output a download progress report that shows files downloaded, size, etc.
Is this code to insert text correct?
my $txt = $mw -> Text( -wrap=>'word', -width=> 50,-height=> 20) -> pack();
$txt->insert('end',"\nFetching the files, size is 5mb.");
Its all placed within more code with buttons and a progress bar. Everything shows fine, except the text is not visible when I call insert.
Thanks
Tricia