Re: checkbox nightmares



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 derived from GtkToggleButton.

any ideas? i have had a trawl through the list and cant quite see
anything similar.

Terry

Stefan



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