Re: 2 callbacks to same event

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

 



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@xxxxxxxxxx> 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@xxxxxxxxx
>> tadej.borovsak@xxxxxxxxx
>
> _______________________________________________
> gtk-list mailing list
> gtk-list@xxxxxxxxx
> http://mail.gnome.org/mailman/listinfo/gtk-list
>



-- 
Thanks
Kevin Anthony
www.NoSideRacing.com
_______________________________________________
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