Notebook.prependPage

Prepends a page to notebook.

class Notebook
int
prependPage

Parameters

child gtk.widget.Widget

the gtk.widget.Widget to use as the contents of the page

tabLabel gtk.widget.Widget

the gtk.widget.Widget to be used as the label for the page, or null to use the default label, “page N”

Return Value

Type: int

the index (starting from 0) of the prepended page in the notebook, or -1 if function fails