Package: gtk

Accessor gtk-print-operation-has-selection

Lambda List

gtk-print-operation-has-selection (object)

Syntax

(gtk-print-operation-has-selection object object) => has-selection
(setf (gtk-print-operation-has-selection object) has-selection)

Arguments

object -- a gtk-print-operation object
has-selection -- true indicates that a selection exists

Details

Accessor of the has-selection slot of the gtk-print-operation class.

The slot access function gtk-print-operation-has-selection returns whether there is a selection. The slot access function (setf gtk-print-operation-has-selection) sets whether there is a selection to print.

The application has to set the number of pages to which the selection will draw by the function gtk-print-operation-n-pages in a callback of the "begin-print" signal.
 

See also

2020-4-8