[Gtk-sharp-list] Changing the state of a CheckButton
Antonio Martínez Álvarez
amartinez@atc.ugr.es
Wed, 25 Feb 2004 23:27:05 +0100
Hello.
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.
What I have done is this (bad idea I know):
(capture Clicked or Pressed event):
if (myCB.Active == true) myCB.Active = false;
else myCB.Active = false;
but, ops!!! it seems that when I try to change the state, the widget
generates againg the same event and the application crash... so it is
not the way :)
Any ideas?
Thank you!!
--
Antonio MartÃnez