NoteBook.addTab

Add a tab to the notebook. 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.

class NoteBook
addTab
(
this T
)
(
string text
,)

Parameters

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