/
dockWindow
dockWindow
Description
Enables you to dock a panel (docking window) to the side of the main Shogun Post window, or to the side of another window. Usually, you do this by clicking and dragging the mouse.
Both Shogun Post's panel docking windows and user windows can be controlled using this command.
Functional area
Interface
Command syntax
Syntax
dockWindow "windowName" "side"[-to string] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
windowName | string | yes | Name of the window to dock. Can be an existingShogun Post docking windows or a user window. |
side | string | yes | The side of the main application window to dock to. Valid values are l, left, r, right, t, top, b, or bottom. If the -to flag is specified, it docks to the side of the other window. |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
to | 1 | string | — | Lets you dock the window to the side of another docking window. Using this flag lets you create complex window layouts. |
Return value
void
Examples
// Create a User Window createWindow "DockTest"; // Dock it to the left of the Attributes window dockWindow "DockTest" "left" -to "Attributes";
Additional information
Related commands
, multiple selections available,