Method

GtkPrintOperationset_has_selection

Declaration [src]

void
gtk_print_operation_set_has_selection (
  GtkPrintOperation* op,
  gboolean has_selection
)

Description [src]

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.

Available since:2.18

Parameters

has_selection

Type: gboolean

TRUE indicates that a selection exists.