[Gtk-sharp-list] Changing the state of a CheckButton
Mike Kestner
mkestner@ximian.com
Mon, 01 Mar 2004 08:47:57 -0600
On Mon, 2004-03-01 at 05:22, Antonio Martínez Álvarez wrote:
> >>How do I make a CheckButton not to change when the user clicks on it?
> >>I suppose I have to do something like disconnect an event. I have been
> >>looking for something like that without good results.
> >
> > Are you looking for the Widget.Sensitive property?
>
> Ok but it could be a solution, but I don't want the grayish aspect of
> the widget.
> Any other way to do what I want?
Why don't you want the "grayish aspect"? If you have a sensitive
checkbutton that doesn't change when it's clicked, and it doesn't look
like you aren't allowed to click it, your users are just going to get
frustrated that your program isn't doing what they tell it to do.
--
Mike Kestner <mkestner@ximian.com>