PrintOperation.setHasSelection

Sets whether there is a selection to print.

Application has to set number of pages to which the selection will draw by [method@Gtk.PrintOperation.set_n_pages] in a handler for the [signal@Gtk.PrintOperation::begin-print] signal.

class PrintOperation
void
setHasSelection

Parameters

hasSelection bool

%TRUE indicates that a selection exists

Meta