GtkRadioButton
| From: | firepages.com.au | Date: | Thu, 30 May 2002 17:20:35 +0000 |
| Subject: | GtkRadioButton | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-2071@lists.php.net to get a copy of this message | ||
HI - I see in the manual the way to grab the label of a radio button, but can I find out from
elsewhere the current state of a given radio button...
function is_selected($button,$radio_button){
$temp= $radio_button->child; /* just gives me the button label */
}
/*another button somewhere*/
$yak=&new gtkbutton('adsfafdadsf');
$yak->connect('clicked','is_selected',$radio_button);
I want to find out if the radio button has been selected or not & have not a clue how (as usual)
Regards,
Simon Wheeler
firepages.