Re: fast clicking causes problem



 Peter Cheng wrote:


> Hi There,
>
> I encounter a fast clicking problem on button.
>
> It seems to me that if I click too fast on a given button, gtk event
handler
> should just skip certain clicking events without interfering the
> callback function.
>
> When I click very fast on a given button, the callback function gets
called
> from bottom part of the callback function.
>
> It should start the callback function from the very begining but not
> from the bottom part of it.
>
> Any idea?

Use a "connect_before()" in state of "connect()" and you will be the first
one to handle
the event!

friendly regards,
Sjoerd Linders


>
> Any help will be greatly appreciated.
>
> Regards,
> Peter Cheng
>
>
>
>
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list




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