Notebook.prependPage

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

Prepends 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 prepended

page in the notebook, or -1 if function fails