Re: window->close/hide/kill/destroy?



"Bogdan M.Maryniuck" <mbm centras lt> writes:

sub click_for_something {
        my $win1=window2->new();
        $win1->show;
        
        *click_for_anothersomething = sub {
                $win1->hide;                    # Causes ERROR: what the $win1 is?
        };
}

would do it :)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]