Re: RadioButton.



Eric Depagne said:
What do I forgot?

the toggled signal is emitted every time the state is toggled.  that means
even when it gets turned off.

you'll probably want to check which state the button currently has.

   if ($togglebutton->get_active) {
           # it's on, do some stuff
   } else {
           # it's off, ignore it
   }

-- 
muppet <scott at asofyet dot org>



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