GtkPrintUnixDialog {RGtk2}R Documentation

GtkPrintUnixDialog

Description

A print dialog

Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkWindow
                                       +----GtkDialog
                                             +----GtkPrintUnixDialog

Interfaces

GtkPrintUnixDialog implements AtkImplementorIface.

Detailed Description

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
for the "Print" button
GTK_RESPONSE_APPLY
for the "Preview" button
GTK_RESPONSE_CANCEL
for the "Cancel" button

Printing support was added in GTK+ 2.10.

Properties

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.

Author(s)

Derived by RGtkGen from GTK+ documentation

References

http://developer.gnome.org/doc/API/2.0/gtk/GtkPrintUnixDialog.html

See Also

GtkPageSetupUnixDialog GtkPrinter GtkPrintJob


[Package RGtk2 version 2.12.5-3 Index]