get_pages


Description:

public SelectionModel get_pages ()

Returns a [iface@Gio.

Note:

See [the migration guide](migrating-to-breakpoints.html#replace-adwleaflet)

ListModel] that contains the pages of the leaflet.

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 change the visible page.

Parameters:

this

a leaflet

Returns:

a `GtkSelectionModel` for the leaflet's children