PrintOperation.setHasSelection

Sets whether there is a selection to print.

Application has to set number of pages to which the selection will draw by gtk.print_operation.PrintOperation.setNPages in a handler for the signalGtk.PrintOperation::begin-print signal.

class PrintOperation
void
setHasSelection

Parameters

hasSelection bool

true indicates that a selection exists