Re: 2 callbacks to same event



If you return False from both callbacks, doesn't it destroy the
callback when it's done, so a second event won't be handled at all?

On Wed, Apr 27, 2011 at 1:09 PM, Ingo Randolf <ingo quitch net> wrote:
> Hi Tadej.
>
> Thank you very much.
> That was the problem.
> now it works. Great!
>
> cheers
> ingo
>
>
> Am 27.04.2011 um 19:02 schrieb Tadej Borovšak:
>
>> Hello.
>>
>> What do you return from your callbacks? If you return TRUE, event is
>> considered "handled" and no other callback is called from there on. Try
>> returning FALSE from your callbacks and I'm almost sure things will
>> work.
>>
>> Cheers,
>> Tadej
>>
>> --
>> Tadej Borovšak
>> tadeboro.blogspot.com
>> tadeboro gmail com
>> tadej borovsak gmail com
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>



-- 
Thanks
Kevin Anthony
www.NoSideRacing.com


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