Package: gtk

Accessor gtk:print-operation-n-pages-to-print

Lambda List

gtk:print-operation-n-pages-to-print (object)

Syntax

(gtk:print-operation-n-pages-to-print object) => npages

Arguments

object -- a gtk:print-operation object
npages -- an integer with the number of pages to print

Details

Accessor of the n-pages-to-print slot of the gtk:print-operation class. The gtk:print-operation-n-pages-to-print function returns the number of pages that will be printed.

Note that this value is set during the print preparation :preparing phase, so this function should never be called before the data generation :generating-data phase. You can connect to the "status-changed" signal and call the gtk:print-operation-n-pages-to-print function when the print status is in the :generating-data phase. This is typically used to track the progress of print operation.
 

See also

2024-2-16