Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkPrintOperationSetNPages

gtkPrintOperationSetNPages


Description

Sets the number of pages in the document.

Usage

gtkPrintOperationSetNPages(object, n.pages)

Arguments

object

a GtkPrintOperation

n.pages

the number of pages

Details

This must be set to a positive number before the rendering starts. It may be set in a "begin-print" signal hander.

Note that the page numbers passed to the "request-page-setup" and "draw-page" signals are 0-based, i.e. if the user chooses to print all pages, the last ::draw-page signal will be for page n.pages - 1. Since 2.10

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.