Thanks Pierre-Luc.

That sure helped :-)

Also there was another problem. The clutter_event_put function in the
timeout function was not working. This was because, the pointer was grabbed
in the previous press.
On ungrabbing the pointer, things are working as expected.

Cheers,
Rajith

But what about the Button_press_event. That event is lost.


2009/3/3 Pierre-Luc Beaudoin <[email protected]>

> If I understand well you don't want the events to be propagated when
> the finger-scroll was moved?  I had a similar need in libchamplain (a
> map actor): if the user started to drag the map with the mouse over a
> marker, I didn't want the marker to get button-press/release events.
>
> I needed to change tidy for that: you'll see my change at the bottom
> of this page:
>
> http://gitorious.org/projects/libchamplain/repos/mainline/commits/2c83d4734a6221e654601110ed09660bdd7ba029
> Basically, I am detecting if the finger-scroll was dragged, if so, I
> am not propagating the event further.
>
> It works fine :-)
>
> Pierre-Luc
>



-- 

Rajith
---------------------------------
www.pixelfactory.co.in

Reply via email to