Am Fr, den 11.02.2005 schrieb Felix Kater um 22:09:
> Iago Rubio:
> 
> > Set the window insensitive - or the buttons - and use a wait cursor to
> > tell the user the program is working and should not be disturbed :)
> 
> Thanks, this is, however, no solution. The problem is harder than it
> seems in the beginning: Whatever you do/block/change inside the button's
> events (press/click/release), it will be undone too early. In other
> words: It's not gtk but the surronding plattform which keeps the
> unwanted button clicks as long as the first pressed button has
> *completely* returned... And *then* (like real mouse clicks) the next
> click is launched...

That is a windows problem, not a GTK+ one. On FreeBSD the superfluous
click are disposed (don't know about Linux).

A solution might be to empty the message queue of your programm, the win
api has functions for such tasks. But that would be clearly platform
dependant. 

HTH,
Marc


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

Reply via email to