...
Enables you to dock a panel (docking window) to the side of the main Shogun main Shogun Post window, or to the side of another window. Usually, you do this by clicking and dragging the mouse.
Both Shogun Both Shogun Post's panel docking windows and user windows can be controlled using this command.
...
Scroll tablelayout | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Name | Type | Required | Comments |
---|---|---|---|
windowName | string | yes | Name of the window to dock. Can be an existing Shogun 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. |
...
Scroll tablelayout | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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
Code Block | ||
---|---|---|
| ||
// Create a User Window |
...
createWindow "DockTest"; |
...
...
// Dock it to the left of the Attributes window |
...
dockWindow "DockTest" "left" -to "Attributes"; |
Additional information
Related commands
...