Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
style
sortDirectionASC
repeatTableHeadersdefault
widths16%, 10%, 13%, 61%
style
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

NameTypeRequiredComments
windowNamestringyesName of the window to dock. Can be an existing Shogun existingShogun Post docking windows or a user window.
sidestringyesThe 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
sortDirectionASC
repeatTableHeadersdefaultstyle
widths10%, 15%, 14%, 13%, 48%
style
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

NameFlag argumentsArgument typeExclusive toComments
to1stringLets 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
languagetext
// Create a User Window 

...


createWindow "DockTest";

...


 

...

// Dock it to the left  of the Attributes window

...


dockWindow "DockTest" "left" -to "Attributes";

Additional information

Related commands

...