Notebook.appendPage

Appends a page to notebook.

class Notebook
int
appendPage

Parameters

child gtk.widget.Widget

the #GtkWidget to use as the contents of the page

tabLabel gtk.widget.Widget

the #GtkWidget 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