StackSidebar.setStack

void setStack(gtk.stack.Stack stack)

Set the gtk.stack.Stack associated with this gtk.stack_sidebar.StackSidebar.

The sidebar widget will automatically update according to the order and items within the given gtk.stack.Stack.

Parameters

stacka gtk.stack.Stack