Retriving z-order value of a given Component


#1

Is it possible to explicitly know the z value of a given Component?

I mean something like this:

Component *c = otherComponent->getChildComponent(0);
int zval = c->getZValue();

I read that child Component are ordered on the base of their z-value, but I would like to know this value explicitly because I have to disambiguate some overlapping children situation. Still not found any method.

Thanks in advance


#2

getIndexOfChildComponent()