You can use the button-press-event and button-release-event signals of
GtkWidget 
(http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#GtkWidget-button-press-event
and 
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#GtkWidget-button-release-event).
By returning TRUE you will bypass the default behaviour and do
whatever you like with the button. Eventually you have to use
gtk_toggle_button_set_active and gtk_toggle_button_set_inconsistent to
set the state of the check button from your code.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to