I am trying to do a project for a GTK programming class and I have a question .
I created the checkbox already in the code so I have a function that is only supposed to check if a check box is checked or not. The commands are nested in a void function and is read as follows:
If(gtk_check_button_set_active(gtk_check_button_ne w_with_label(check1), TRUE))
{ ...do something}
Also, how can I check and uncheck a checkbox within my code?