add_item


Description:

public void add_item (DockItem item, DockPlacement placement)

Dock in this, the widget item at the position defined by placement.

The function takes care of finding the right parent widget eventually creating it if needed.

Parameters:

this

A Dock widget

item

A DockItem widget

placement

A position for the widget