Re: checkbox nightmares

2005-08-22 Thread Olexiy Avramchenko
Stefan Kost wrote: you want to use gtk_toggle_button_set_state() for this. GtkCheckButton is derived from GtkToggleButton. gtk_toggle_button_set_active () ? ;) or g_object_set (toggle_button, "active",TRUE/FALSE, NULL) Olexiy ___ gtk-app-devel

Re: checkbox nightmares

2005-08-22 Thread Stefan Kost
Hi Terry, hi i am using gtk+ 2. I wish to use a checkbox to update other checkboxes on the screen ie if A gets ticked tick b tick c tick d .. but conversly if any one of b,c,d are un-ticked, untick a. you want to use gtk_toggle_button_set_state() for this. GtkCheckButton is der

checkbox nightmares

2005-08-22 Thread Terry Rankine
hi i am using gtk+ 2. I wish to use a checkbox to update other checkboxes on the screen ie if A gets ticked tick b tick c tick d .. but conversly if any one of b,c,d are un-ticked, untick a. any ideas? i have had a trawl through the list and cant quite see anything similar. Terry