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 adw.view_switcher.ViewSwitcher to represent child.

Parameters

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

Returns