Re: Enable/Disable a button and mouse clicks



Gabriele Greco wrote:
I've found that if I disable a button after a click on it (gtk_widget_set_sensitive(button, FALSE)), and then enable it back after a timed event or something else occurs (...set_sensitive(button, TRUE) ), I'm unable to click on the button with the mouse pointer unless I exit with the pointer from the button rectangle and enter back in it.

You've discovered bug 56070[1]. There are some workarounds at the bug, but we're fairly close to getting it fixed in GTK+. Ed
1. http://bugzilla.gnome.org/show_bug.cgi?id=56070



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]