add_titled


Description:

public unowned ViewStackPage add_titled (Widget child, string? name, string title)

Adds a child to this.

The child is identified by the name. The title will be used by [class@ViewSwitcher] to represent child , so it should be short.

Parameters:

this

a view stack

child

the widget to add

name

the name for child

title

a human-readable title for child

Returns:

the `AdwViewStackPage` for child




2022 vala-language.org