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
child | the widget to add |
name | the name for child |
title | a human-readable title for child |
iconName | an icon name for child |
Returns
the adw.view_stack_page.ViewStackPage for child