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 -- the number of pages to print

Details

Accessor of the n-pages-to-print slot of the gtk-print-operation class.

The slot access function gtk-print-operation-n-pages 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 function gtk-print-operation-n-pages-to-print when print status is :generating-data. This is typically used to track the progress of print operation.
 

See also

2020-4-8