Method

GtkPrintOperationset_current_page

Declaration [src]

void
gtk_print_operation_set_current_page (
  GtkPrintOperation* op,
  gint current_page
)

Description [src]

Sets the current page.

If this is called before gtk_print_operation_run(), the user will be able to select to print only the current page.

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

Available since:2.10

Parameters

current_page

Type: gint

The current page, 0-based.