Constructor
GtkPrinternew
Declaration [src]
GtkPrinter*
gtk_printer_new (
const char* name,
GtkPrintBackend* backend,
gboolean virtual_
)
Parameters
name |
const char* |
The name of the printer. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
backend |
GtkPrintBackend |
A |
|
The data is owned by the caller of the function. | |
virtual_ |
gboolean |
Whether the printer is virtual. |
Return value
Returns: | GtkPrinter |
A new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |