Re: gtk radio button

From: Date: Tue, 20 Mar 2001 21:14:03 +0000
Subject: Re: gtk radio button
References: 1 2 3  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1033@lists.php.net to get a copy of this message
On Tue, 20 Mar 2001, Iuri Fiedoruk wrote: > > $radio1 = &new GtkRadioButton(null, 'Label 1'); > > $radio2 = &new GtkRadioButton($radio1, 'Label 2'); > > > > -Andrei > > > > So I did: > > $radio1_1 = &new GtkRadioButton(null, 'Transtorácico'); > $radio1_2 = &new GtkRadioButton($radio11, 'Transesofágico'); ^^^^^^^^ $radio1_1 maybe? > but all buttons I created where selected, I tryied: > $radio1_1->set_active(TRUE); > $radio1_2->set_active(FALSE); > as on perl-gtk tutorial, but got no sucess. > How I deactive a radio button? > And how I get the selected button? ($button1_>selected()?) I don't think there's a good way yet. -Andrei * Reality isn't all it's cracked up to be. *

« previous php.gtk (#1033) next »