GimpUi.PageSelector.prototype.set_n_pages

function set_n_pages(n_pages: Number(gint)): void {
    // Gjs wrapper for gimp_page_selector_set_n_pages()
}
  

Sets the number of pages in the document to open.

Since 2.4

n_pages

The number of pages.