Stack.getPages

Returns a GListModel that contains the pages of the stack.

This can be used to keep an up-to-date view. The model also implements [iface@Gtk.SelectionModel] and can be used to track and modify the visible page.

class Stack
getPages
()

Return Value

a GtkSelectionModel for the stack's children

Meta