2019-02-20 01:40 AM
When I want to execute a certain callback after a certain widget has been pressed, I use the function forEachChild to reach the wanted callback. But during the execution of this callback, I remove the container from the screen to change the visual environment. The function forEachChild however keeps on calling the callback, even after every drawable has been removed from the root container.
How do I stop this callback chain?