package BandGraphFrame @ISA = qw() sub new my ($module, $mainwindow, $idx) = @_; return $this; sub DESTROY my $this = shift; # $this->SUPER::DESTROY( sub Draw my ($this, $canvas) = @_; return unless(defined $pBoundaryPositions); return $rect;