prependPage

open fun prependPage(child: Widget, tabLabel: Widget? = null): Int

Prepends a page to @notebook.

Return

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

Parameters

child

the GtkWidget to use as the contents of the page

tabLabel

the GtkWidget to be used as the label for the page, or null to use the default label, “page N”