Notebook.appendPage

Appends a page to notebook.

class Notebook
int
appendPage

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 appended page in the notebook, or -1 if function fails