PrintOperation.setHasSelection

void setHasSelection(bool hasSelection)

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 callback of #GtkPrintOperation::begin-print.

Parameters

hasSelectiontrue indicates that a selection exists