def _plug_border_ex(area, frame, dock_bar_pos):
    containers = []
    if isinstance(frame, QDockWindow):
        temp_area = frame.dockArea()
        frame.setDockArea(None)
        _merge_dock_bars(area, temp_area)
        containers.extend(iter_containers(temp_area))
    else:
        containers.append(frame)
    for container in containers:
        if container.isWindow():
            container.unfloat()
        container.showTitleBar()
        area.addToDockBar(container, dock_bar_pos)
    return True
Plug the frame into the specified dock bar.
dataset/ETHPy150Open nucleic/enaml/enaml/qt/docking/layout_handling.py/_plug_border_ex