page in the notebook, or -1 if function fails
Notebook.insertPage
int insertPage(gtk.widget.Widget child, gtk.widget.Widget tabLabel, int position)Insert a page into notebook at the given position.
Parameters
child | the [gtk.widget.Widget] to use as the contents of the page |
tabLabel | the [gtk.widget.Widget] to be used as the label for the page, or null to use the default label, “page N” |
position | the index (starting at 0) at which to insert the page, or -1 to append the page after all other pages |
Returns
the index (starting from 0) of the inserted