NoteBook.insertTab

Insert a tab into the notebook at a specified zero based index. When adding a tab to the notebook the tab gains an id that is equal to the passed widget's id and can be used later to refer to the new tab. If the id of the widget passed is already used as a tab id then that existing one will be moved to the new position.

class NoteBook
insertTab
(
this T
I
)
if (
is(I == int) ||
is(I == string)
)

Parameters

tabIdentifier I

The zero based index or string id of the tab.

text string

The text of the tab.

widget Widget

The widget to add as the tab pane.

Return Value

Type: auto

This widget to aid method chaining.

Meta