PrintOperation.setCurrentPage

void setCurrentPage(int currentPage)

Sets the current page.

If this is called before [gtk.print_operation.PrintOperation.run], the user will be able to select to print only the current page.

Note that this only makes sense for pre-paginated documents.

Parameters

currentPagethe current page, 0-based