ViewStack.addNamed

adw.view_stack_page.ViewStackPage addNamed(gtk.widget.Widget child, string name = null)

Adds a child to self.

The child is identified by the name.

Parameters

childthe widget to add
namethe name for child

Returns

the [adw.view_stack_page.ViewStackPage] for child