add_titled


Description:

public unowned StackPage 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 `GtkStackSwitcher` to represent child in a tab bar, so it should be short.

Parameters:

this

a `GtkStack`

child

the widget to add

name

the name for child

title

a human-readable title for child

Returns:

the `GtkStackPage` for child




2022 vala-language.org