add_page


Description:

public unowned TabPage add_page (Widget child, TabPage? parent)

Adds child to this with parent as the parent.

This function can be used to automatically position new pages, and to select the correct page when this page is closed while being selected (see [[email protected]_page]).

If parent is `NULL`, this function is equivalent to [[email protected]].

Parameters:

this

a tab view

child

a widget to add

parent

a parent page for child

Returns:

the page object representing child




2022 vala-language.org