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)
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 |
title |
a human-readable title for |
icon_name |
an icon name for |
Returns:
the `AdwViewStackPage` for |