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) => n-pages

Arguments

object -- a gtk:print-operation object
n-pages -- 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 function returns the number of pages that will be printed.

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

See also

2023-2-10