---
title: "setPinned"
canonical: "https://help.vicon.com/space/ShogunPost121/1253736932/setPinned"
format: markdown
---
# Description

Pins the specified window (panel) as a tab along an edge of the main Shogun Post window.

A pinned panel is displayed as a tab along an edge of the main window. The edge that the panel is pinned to depends upon the docked location of the specified panel, and can be top, bottom, left or right.

## Functional area

Interface

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `setPinned "windowName" boolean` |

### Arguments

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `windowName` |  | yes | Identifier of panel to pin. |

### Flags

None

## Return value

void