Component::setFocusContainer explanation


Hi community,

Could anybody give me a further explanation, and maybe some examples, of [color=#004000]Component::setFocusContainer[/color] is? I have read doxygen documentation several times but I do not get the global idea.

Thank you!



The documentation states it quite clearly… Suppose you have a parent component which has other child components… Now you want to traverse only through all the children when that parent component has been selected… Then you keep the parent->setFocusContainer(true); so that whenever that parent is selected you will keep traversing through it’s children and nowhere beyond that… I hope you got it now… If yes you’re welcome :)…


Hi acn,

I got it! thank you for your explanation!