prepend_page


Description:

public int prepend_page (Widget child, Widget? tab_label = null)

Prepends a page to this.

Parameters:

this

a Notebook

child

the Widget to use as the contents of the page

tab_label

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

Returns:

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




2022 vala-language.org