window->close/hide/kill/destroy?
- From: "Bogdan M.Maryniuck" <mbm centras lt>
- To: gtk-perl-list gnome org
- Subject: window->close/hide/kill/destroy?
- Date: Thu, 01 Feb 2001 18:08:36 +0100
Hi, all.
Ok, i have one sub:
sub click_for_something {
my $win1=window2->new();
$win1->show;
}
It works ok. But HOW to close this window
from another sub? For example:
sub click_for_something {
my $win1=window2->new();
$win1->show;
}
sub click_for_anothersomething {
$win1->hide; # Causes ERROR: what the $win1 is?
my $win1->hide; # Causes nothing...
print STDOUT "Bla-bla-bla"; # At least this is not work too :(
}
So the question is: perhaps my way to show the windows is WRONG at
least? Thank you.
--
Bogdan
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]