- or download this
use strict;
use Tk;
...
($idnum,$tags) = (123,'tag1 tag2');
$viewbox->insert('end', "$idnum\t$tags");
}
- or download this
my $entry = $viewbox->curselection;
print $viewbox->get($entry)."\n";
- or download this
$viewbox->delete('active') - or download this
my @contents = $viewbox->get('0','end');
foreach (@contents) {print "$_\n";}