set_has_selection


Description:

public void set_has_selection (bool has_selection)

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:GtkPrintOperation:begin-print] signal.

Parameters:

this

a `GtkPrintOperation`

has_selection

true indicates that a selection exists