Table Of Contents
New in version 1.8.0.
This is experimental and subject to change as long as this warning notice is present.
This is a widget that runs itself and all of its children in a Sandbox. That means if a child raises an Exception, it will be caught. The Sandbox itself runs its own Clock, Cache, etc.
The SandBox widget is still experimental and required for the Kivy designer.
When the user designs their own widget, if they do something wrong (wrong size
value, invalid python code), it will be caught correctly without breaking
the whole application. Because it has been designed that way, we are still
enhancing this widget and the
Don’t use it unless you know what you are doing.
Sandbox widget, used to trap all the exceptions raised by child widgets.
Override this method in order to load your kv file or do anything else with the newly created context.
Override this method in order to catch all the exceptions from children.
If you return True, it will not reraise the exception. If you return False, the exception will be raised to the parent.
Receive a touch down event.
bool If True, the dispatching of the touch event will stop. If False, the event will continue to be dispatched to the rest of the widget tree.
Receive a touch move event. The touch is in parent coordinates.
on_touch_down()for more information.