ViewStack.addTitledWithIcon

adw.view_stack_page.ViewStackPage addTitledWithIcon(gtk.widget.Widget child, string name, string title, string iconName)

Adds a child to self.

The child is identified by the name. The title and icon_name will be used by classViewSwitcher to represent child.

Parameters

childthe widget to add
namethe name for child
titlea human-readable title for child
iconNamean icon name for child

Returns

the [adw.view_stack_page.ViewStackPage] for child