klyn.gui.windows.DockCenterArea.closeOtherTabs
method
public closeOtherTabs(index as Int) as Int:
Description

Closes every closeable tab except the tab at index.

Non-closeable tabs are always preserved.

Parameters
ParameterDescription
indexTab to preserve.
Returns

Number of tabs that were closed.

Example
closed = workspace.center.closeOtherTabs(workspace.center.activeIndex)