Skip to content

DockPolicy

Docking integration policy for windows: FULL (bidirectional docking and hosting), GUEST_ONLY (can dock into hosts but accepts no drops), or DISABLED.

Overview

DockPolicy defines docking capabilities for window hosts.

Policy Dock Into Other Windows Accept Foreign Panes
FULL Yes Yes
GUEST_ONLY Yes No
DISABLED No No
  • DockingRoot: Root visual widget for the IDE docking system hosting dock tree nodes, tab strips, split handles, drop previews, and tear-off floating window integrations.

API

DockPolicy::acceptsDrops()

Returns true if the window can accept dropped panels or foreign windows.

Returns boolean: True if this window accepts panes being dropped into it..

DockPolicy::canBeDocked()

Returns true if the window can be dragged and docked into a host.

Returns boolean: True if this window can be docked into a host..