add_titled_with_icon


Description:

[ Version ( since = "1.2" ) ]
public unowned ViewStackPage add_titled_with_icon (Widget child, string? name, string title, string icon_name)

Adds a child to this.

The child is identified by the name. The title and icon_name will be used by [class@ViewSwitcher] to represent child.

Parameters:

this

a view stack

child

the widget to add

name

the name for child

title

a human-readable title for child

icon_name

an icon name for child

Returns:

the `AdwViewStackPage` for child