GNOME Bugzilla – Bug 92135
insensitive buttons still receives events -- UPDATE!!!
Last modified: 2011-02-04 16:09:02 UTC
when I do: mybutton.set_sensitive(FALSE); heavy_calculations(); mybutton.set_sensitive(TRUE); the button gets greyed out but it obviously still receives (clicked) events while doing the calculations. When calculations are finished and button is 'activated' again, the button's callback routine gets called if it was clicked (during the greyed out phase). Problem exists in pure GTK+ too. Examples available on gtkmm mailing list or by request. Please inform me if bug gets solved. Cheers, Jeffrey Rush rushjeffrey@hotmail.com
Please attach the GTK+ test code and reassign this to GTK+.
Created attachment 10856 [details] example to show possible bug with gtk_widget_set_sensitive
Oh, someone just told me that I was somehow WRONG! It's not a GTK+ bug. You can trash my bug-report. I'm sorry.