GtkPrintUnixDialog
A print dialog
GtkPrintUnixDialog implements a print dialog for platforms
which don't provide a native print dialog, like Unix. It can
be used very much like any other GTK+ dialog, at the cost of
the portability offered by the high-level printing API
In order to print something with #GtkPrintUnixDialog, you need
to use gtk_print_unix_dialog_get_selected_printer() to obtain
a #GtkPrinter object and use it to construct a #GtkPrintJob using
gtk_print_job_new().
#GtkPrintUnixDialog uses the following response values:
%GTK_RESPONSE_OKfor the "Print" button%GTK_RESPONSE_APPLYfor the "Preview" button%GTK_RESPONSE_CANCELfor the "Cancel" button
Printing support was added in GTK+ 2.10.
GtkPrintUnixDialog as GtkBuildable
The GtkPrintUnixDialog implementation of the GtkBuildable interface exposes its
@notebook internal children with the name "notebook".
A GtkPrintUnixDialog UI definition fragment.
]]>
#GtkPageSetupUnixDialog, #GtkPrinter, #GtkPrintJob
@title:
@parent:
@Returns:
@dialog:
@page_setup:
@dialog:
@Returns:
@dialog:
@current_page:
@dialog:
@Returns:
@dialog:
@settings:
@dialog:
@Returns:
@dialog:
@Returns:
@dialog:
@child:
@tab_label:
An enum for specifying which features the print dialog should offer.
If neither %GTK_PRINT_CAPABILITY_GENERATE_PDF nor
%GTK_PRINT_CAPABILITY_GENERATE_PS is specified, GTK+ assumes that all
formats are supported.
@GTK_PRINT_CAPABILITY_PAGE_SET: Print dialog will offer printing even/odd pages.
@GTK_PRINT_CAPABILITY_COPIES: Print dialog will allow to print multiple copies.
@GTK_PRINT_CAPABILITY_COLLATE: Print dialog will allow to collate multiple copies.
@GTK_PRINT_CAPABILITY_REVERSE: Print dialog will allow to print pages in reverse order.
@GTK_PRINT_CAPABILITY_SCALE: Print dialog will allow to scale the output.
@GTK_PRINT_CAPABILITY_GENERATE_PDF: The program will send the document to
the printer in PDF format
@GTK_PRINT_CAPABILITY_GENERATE_PS: The program will send the document to
the printer in Postscript format
@GTK_PRINT_CAPABILITY_PREVIEW: Print dialog will offer a previe
@GTK_PRINT_CAPABILITY_NUMBER_UP: Print dialog will offer printing multiple
pages per sheet. Since 2.12
@GTK_PRINT_CAPABILITY_NUMBER_UP_LAYOUT: Print dialog will allow to rearrange
pages when printing multiple pages per sheet. Since 2.14
@dialog:
@capabilities: