Posted: Mon Aug 27, 2007 10:11 pm Post subject: GtkCheckButton
Hi,
I'm trying to create a GtkCheckButton ( gtk_check_button_new() ) but I don't want the users to check/uncheck it on the graphical interface. JI just want to be able to check/uncheck it via gtk_toggle_button_set_active(...). How can I do that?
Joined: 13 Feb 2007 Posts: 29 Location: Madrid, Spain
Posted: Tue Aug 28, 2007 6:01 am Post subject:
You have to set the 'sensitive' property of the GtkCheckButton to FALSE, so any clicking would be ignored. Since there are many ways to do this, you can use: