Notebook.appendPage

int appendPage(gtk.widget.Widget child, gtk.widget.Widget tabLabel = null)

Appends a page to notebook.

Parameters

childthe [gtk.widget.Widget] to use as the contents of the page
tabLabelthe [gtk.widget.Widget] to be used as the label for the page, or null to use the default label, “page N”

Returns

the index (starting from 0) of the appended

page in the notebook, or -1 if function fails