Description Usage Arguments Details Author(s)
Sets the number of pages in the document.
1 | gtkPrintOperationSetNPages(object, n.pages)
|
|
a |
|
the number of pages |
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
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.