set_child
Description:
Set a new child for the DockItem.
This child is different from the children using the Container interface. It is a private child reserved for the widget implementation.
If a child is already present, it will be replaced. If widget is null the child will be removed.
Parameters:
| this |
a DockItem |
| child |
a Widget |