def clear(self):
for child in self._children.values():<EOL><INDENT>self._detach_child(child)<EOL><DEDENT>self._children = {}<EOL>self._repack_and_regroup_children()<EOL>
Remove all widgets from the grid.

It's ok to call this method on a grid that's already empty.