Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Xfc::Gtk::PrintUnixDialog Class Reference

PrintUnixDialog implements a print dialog for platforms which don't provide a native print dialog, like Unix. More...

#include <printdialogs.hh>

Inheritance diagram for Xfc::Gtk::PrintUnixDialog:
Xfc::Gtk::Dialog Xfc::Gtk::Window Xfc::Gtk::Bin Xfc::Gtk::Container Xfc::Gtk::Widget Xfc::Gtk::Object Xfc::Atk::Implementor Xfc::G::Object Xfc::G::TypeInterface Xfc::G::TypeInstance Xfc::G::TypeInstance Xfc::Trackable Xfc::Trackable

List of all members.


Detailed Description

PrintUnixDialog 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 PrintUnixDialog, you need to use unix_dialog_get_selected_printer() to obtain a GtkPrinter object and use it to construct a PrintJob using 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


The documentation for this class was generated from the following file:
Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC