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 gtk:print-operation-has-selection function returns whether there is a selection. The (setf gtk:print-operation-has-selection) function 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 gtk:print-operation-n-pages function in a callback of the "begin-print" signal.
 

See also

2023-8-28