From gtk-app-devel Tue Mar 20 17:06:37 2007 From: Holger Berndt Date: Tue, 20 Mar 2007 17:06:37 +0000 To: gtk-app-devel Subject: Re: How to handle radio buttons ? Message-Id: <4600149D.5000605 () gmx ! de> X-MARC-Message: https://marc.info/?l=gtk-app-devel&m=117441032907109 minux@centrum.cz schrieb: [Radio buttons] > But in the next step, I don't know how to get an information about which choice has been chosen :-( > > Could you please send me some example or clear it up ? Check out the GTK+ Reference Manual, page GtkRadioButton. When an unselected button in the group is clicked the clicked button receives the "toggled" signal, as does the previously selected button. Inside the "toggled" handler, gtk_toggle_button_get_active() can be used to determine if the button has been selected or deselected. So you need to connect to the "toggled" signal. Holger _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list