Adw.Leaflet.get_pages

### Method

# Adw Leafletget_pages

since: 1.0

#### Declaration [src]

    GtkSelectionModel*
    adw_leaflet_get_pages (
      AdwLeaflet* self
    )

#### Description [src]

Returns a `GListModel` that contains the pages of the leaflet.

This can be used to keep an up-to-date view. The model also implements `GtkSelectionModel` and can be used to track and change the visible page.

Available since: 1.0

Gets property | `Adw.Leaflet:pages`

#### Return value

Type: `GtkSelectionModel`

A `GtkSelectionModel` for the leaflet’s children.

The caller of the method takes ownership of the data, and is responsible for freeing it.