"registerClosable"

Allows to define if a tab can be closed or not.

Synopsis

setValue(string shape, "registerClosable", int index, bool closable);

getValue(string shape, "registerClosable", int index, bool &closable);

shape.registerClosable( int index, bool closable);

Parameter

Parameter Description
shape Name of the shape.
index Index of the tab.
closable Boolean value that states if the tab can be closed.

Description

Allows to define if a tab can be closed under the usage of the tab index.

Assignment

Tab