TabView.addPage

Adds child to self 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 [adw.tab_view.TabView.closePage]).

If parent is NULL, this function is equivalent to [adw.tab_view.TabView.append].

Parameters

childa widget to add
parenta parent page for child

Returns

the page object representing child