Notebook.appendPage

Appends a page to notebook.

  1. int appendPage(Widget child, string tabLabel)
  2. int appendPage(Widget child, Widget tabLabel)
    class Notebook
    int
    appendPage

Parameters

child Widget

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

tabLabel Widget

the gtk.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