Re: radio buttons problem



On Tue, 2002-04-30 at 14:23, Raf Verholen wrote:
I want to use three radio buttons in my prog,
but i don't know how check which one is selected .

I didn't find the answer in the Gtk-Perl tutorial

can someone help me ?

regards,

Raf

<snip
href="http://personal.riverusers.com/~swilhelm/gtkperl-tutorial/radiobutton.html";>
 It is also a good idea to explicitly set which button should be the
default depressed button with:

$togglebutton->set_active( $state );

This is described in the section on toggle buttons , and works in
exactly the same way. Once the radio buttons are grouped together, only
one of the group may be active at a time. If the user clicks on one
radio button, and then on another, the first radio button will first
emit a "toggled" signal (to report becoming inactive), and then the
second will emit its "toggled" signal (to report becoming active). 
</snip>

-- 
Today is Setting Orange the 47th day of Discord in the YOLD 3168
Frink!

Missile Address: 33:48:3.521N  84:23:34.786W




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