Optional documentThe document to use with the dock panel.
The default is the global document instance.
Optional hiddenThe method for hiding widgets.
The default is Widget.HiddenMode.Display.
The renderer to use for the dock layout.
Optional spacingThe spacing between items in the layout.
The default is 4.
An options object for creating a dock layout.