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_set_n_pages() in a callback of #GtkPrintOperation::begin-print.

class PrintOperation
void
setHasSelection

Parameters

hasSelection bool

%TRUE indicates that a selection exists

Meta

Since

2.18