changing sensitivity of a button

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

 



Hi,

I'm using a button to start an action on a mechanical component.
This action needs several seconds to finish.
During this time I'm switching off sensitivity of the button by use of
gtk_widget_set_sensitive(widget,0) to prevent the user from clicking it.
After completion of the action the button is made sensitive by use of
gtk_button_set_sensitive(widget,1)
If the user holds position of mouse pointer and tries to repeat the action
by pressing the button, he doesn't succed.
Futher activation of the button is only possible after the mouse cursor
has left the button's area an then reentered.

Has anybody an workaround.

achim



_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux