On Sat, 8 Jul 2006 16:27:07 +0800, "chao yeaj" <[EMAIL PROTECTED]>
wrote:

> Hello ,everyone
> 
>          i have a check button
> 
>          i want to manage  the check button's check state  using
> source code and  i want no matter how the user click  the check
> button , the check button  keeps its state
> 
> [...]
> 
>     if i clicked on the check button,the state switched
> 
>       How can i  achieve   my original goal ?
Perhaps by making it non-clickable, i.e. insensitive.

gtk_widget_set_sensitive(check_button, FALSE)

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.key
Geany, a lightweight IDE using GTK2 - http://geany.uvena.de
_______________________________________________
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