Re: how to do signal connect for clicking JUST ONE radio button?
- From: "muppet" <scott asofyet org>
- To: gtk-perl-list gnome org
- Subject: Re: how to do signal connect for clicking JUST ONE radio button?
- Date: Fri, 11 Mar 2005 12:02:46 -0500 (EST)
Travis J.I. Corcoran said:
... but I need to figure out how to get a signal ONLY from the button
that has actually been clicked.
$radiobutton->signal_connect (toggled => sub {
my $self = shift;
if ($self->get_active) {
# i've just been turned on, so i'm the one the
# user just clicked.
} else {
# somebody else got clicked, and i've been turned off.
}
});
--
muppet <scott at asofyet dot org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]