touchgfx::Container::forEachChild() method
@fn virtual void Container::forEachChild(GenericCallback* function); Calls the specified function for each child in the container. Calls the specified function for each child in the container. Function to call must have the following prototype: void T::func(Drawable&) @see ListLayout::insert for a usage example.
virtual void forEachChild(GenericCallback<Drawable&>* function); Arguments