GtkPrintUnixDialog {RGtk2} | R Documentation |
A print dialog
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----GtkPrintUnixDialog
GtkPrintUnixDialog implements AtkImplementorIface.
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_OK
GTK_RESPONSE_APPLY
GTK_RESPONSE_CANCEL
Printing support was added in GTK+ 2.10.
current-page
[integer : Read / Write]The current page in the document. Allowed values: >= -1 Default value: -1
page-setup
[GtkPageSetup
: Read / Write]The GtkPageSetup to use.
print-settings
[GtkPrintSettings
: Read / Write]The GtkPrintSettings used for initializing the dialog.
selected-printer
[GtkPrinter
: Read]The GtkPrinter which is selected.
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/GtkPrintUnixDialog.html
GtkPageSetupUnixDialog
GtkPrinter
GtkPrintJob