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 handler for the signalGtk.PrintOperation::begin-print signal.
Parameters
hasSelection | true indicates that a selection exists |