Re: gtk radio button
| From: | Iuri Fiedoruk | Date: | Tue, 20 Mar 2001 21:09:09 +0000 |
| Subject: | Re: gtk radio button | ||
| References: | 1 2 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-1030@lists.php.net to get a copy of this message | ||
> $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');
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()?)
> Commitment, n.:
> Commitment can be illustrated by a breakfast of ham and eggs. The chicken
> was involved, the pig was committed.
--
Iuri Fiedoruk
Santa Maria, RS, Brazil