setHasSelection

open fun setHasSelection(hasSelection: Boolean)

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.

Parameters

hasSelection

true indicates that a selection exists