Constructor

GtkPrintJobnew

Declaration [src]

GtkPrintJob*
gtk_print_job_new (
  const char* title,
  GtkPrinter* printer,
  GtkPrintSettings* settings,
  GtkPageSetup* page_setup
)

Description [src]

Creates a new GtkPrintJob.

Parameters

title

Type: const char*

The job title.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
printer

Type: GtkPrinter

A GtkPrinter

The data is owned by the caller of the function.
settings

Type: GtkPrintSettings

A GtkPrintSettings

The data is owned by the caller of the function.
page_setup

Type: GtkPageSetup

A GtkPageSetup

The data is owned by the caller of the function.

Return value

Type: GtkPrintJob

A new GtkPrintJob

The caller of the function takes ownership of the data, and is responsible for freeing it.