Canvas Toolkit
← Class index

CStyleOptionTabWidget

GUI and styling · extends CStyleOption

Contains style information used to render a tab widget.

Module gui/CStyleOptionTabWidget.js. This class is available through the browser modules in the download.

Declared members

tabHeight: number;

Returns or updates the tab height value.

tabs: CStyleOptionTab[];

Returns or updates the tabs value.

constructor(other?: CStyleOptionTabWidget | null);

Creates a new CStyleOptionTabWidget instance. @param other Other.

initFromTabWidget(tabWidget: CTabWidget): void;

Initializes this style option from the specified tab widget. @param tabWidget Tab widget.