BEGIN { *Tk::Table::clear = \&clear unless defined &Tk::Table::clear; } sub clear { my $self = shift; my $rows = $self->cget(-rows); my $cols = $self->cget(-columns); foreach my $r (1 .. $rows) { foreach my $c (1 .. $cols) { my $old = $self->get( $r, $c ); next unless $old; $self->LostSlave($old); $old->destroy; } } $self->_init; $self->QueueLayout(_SlaveSize); }
In reply to Re: updating size of scrollable Area in TK::Table
by Anonymous Monk
in thread updating size of scrollable Area in TK::Table
by FunnyName
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |