Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 9 Current »

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

NameTypeRequiredComments
windowNamestringyesName of the window to dock. Can be an existing Shogun 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.

Flags

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

// Create a User Window 
createWindow "DockTest";

// Dock it to the left of the Attributes window
dockWindow "DockTest" "left" -to "Attributes";

Additional information

Related commands

  • No labels