ViewStack.addTitledWithIcon

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.

class ViewStack
addTitledWithIcon
(,
string name
,
string title
,
string iconName
)

Parameters

child gtk.widget.Widget

the widget to add

name string

the name for child

title string

a human-readable title for child

iconName string

an icon name for child

Return Value

Type: adw.view_stack_page.ViewStackPage