Package: gtk
Accessor gtk:print-operation-n-pages
Lambda Listgtk:print-operation-n-pages (object) SyntaxArgumentsDetails Accessor of the n-pages slot of the gtk:print-operation class. The gtk:print-operation-n-pages function gets the number of pages in the document. The (setf gtk:print-operation-n-pages) function sets 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 handler. Note that the page numbers passed to the "request-page-setup" and "draw-page" signal handlers are 0-based, that is, if the user chooses to print all pages, the last "draw-page" signal will be for page npages - 1. | See also |
2024-2-16