def insert(self, widget, index, size=None):
self._attach_child(widget)<EOL>self._children.insert(index, widget)<EOL>self._sizes[widget] = size<EOL>self._repack_and_regroup_children()<EOL>
Insert the given widget at the given position in the layout.

See `add()` for details about the `size` argument.