Hi there,

I'm just beginning with C/GTK+ programming and I don't know how to handle radio 
buttons. I have an assistant with some pages and one of those pages is a group 
of radio buttons. On the next assistant page after that with radio buttons I 
need to have content depending on radio button chosen on the page before.

According to the GTK+ tutorial, I've written this:

GtkWidget *button;

button = gtk_radio_button_new_with_label(NULL, "first choice");

gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), TRUE);

button = 
gtk_radio_button_new_with_label(gtk_radio_button_get_group(GTK_RADIO_BUTTON(button)),
 "second choice");


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 ?

Thank you very much
Minux

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to