ViewStack.pages

Get pages property.

Returns

A selection model with the stack's pages.

This can be used to keep an up-to-date view. The model also implements [gtk.selection_model.SelectionModel] and can be used to track and change the visible page.