WM_Undock

Undocks the specified content widget from the window it is in. Optionally the widget can be docked to another specified window.

WM_Undock [/dock <window name>] <window-name> <widget-name>

Parameters

/dock

Optional flag, provide the name of the window to dock the widget to. If not given, the widget is docked within a new window.

window-name

The name of the window the widget is currently in.

widget-name

The name of the widget to undock.