Intercept mouse clicks from children components?

setInterceptsMouseClick allow you to define if your component intercepts, and if chlidren do.

But what should be the best way for specifying a component to intercept children mouse clicks too ?

i made it by following steps below in the parent component,

  • create a callback checking which component is under mouse for instance,
  • put inside a child component function
  • put this callback into a timerCallback