[NUI] Add InterceptWheelEvent
The Wheel event calls the WheelEvent callback by going back from the last child actor to the parent via hitTest.
InterceptWheelEvent checks the wheel event in the parent first.
Returning false from interceptWheelEvent allows child actors to receive WheelEvents.
If it returns true, the actor will receive a WheelEvent.
for example
View parent = new View();
View child = new View();
parent.Add(child);
child.WheelEvent += childFunctor;
parent.WheelEvent += parentFunctor;
The callbacks are called in the order childFunctor -> parentFunctor.
If you connect InterceptWheelEvent to parentActor.
parent.InterceptWheelEvent += interceptFunctor;
When interceptFunctor returns false, it is called in the same order childFunctor -> parentFunctor.
If intereptFunctor returns true, it means that the WheelEvent was intercepted.
So the child actor will not be able to receive wheel events.
Only the parentFunctor is called.
refer :
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-core/+/295232/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/295233/