Re: Need help with RadioButtons



Radiobuttons are togglebuttons, so you can use

  gtk_toggle_button_set_active(togglebutton, TRUE)

to make the desired radiobutton active.


-Josh

"Long, Jesse" wrote:

I am building a small user application which uses a group of three
RadioButton widgets.  I have no problem getting the buttons to function and
signal properly when the user clicks on any one of them.  My problem is the
application requires the buttons to indicate the current status of the
application values when the application is initialized.  The states of the
three buttons are saved upon exiting.  When the user next runs the
application, we want to be able the display the previously saved states.

I have tried about everything I can think of to set the states of the
buttons upon initialization, but with no success.  Would anyone have any
ideas?

Thanks,
Jess Long

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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]