![]() |
![]() |
Public Types | |
typedef sigc::slot< void, const Glib::RefPtr<PrintJob >&> | SlotPrintJobComplete |
For example, void on_print_job_complete(const Glib::RefPtr<PrintJob>& job);. | |
Public Member Functions | |
Glib::RefPtr<const Printer> | get_printer () const |
Glib::RefPtr<Printer> | get_printer () |
Glib::RefPtr<const PrintSettings> | get_settings () const |
Glib::RefPtr<PrintSettings> | get_settings () |
PrintStatus | get_status () const |
Cairo::RefPtr<Cairo::Surface> | get_surface () |
Glib::ustring | get_title () const |
bool | get_track_print_status () const |
const GtkPrintJob* | gobj () const |
Provides access to the underlying C GObject. | |
GtkPrintJob* | gobj () |
Provides access to the underlying C GObject. | |
GtkPrintJob* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<PageSetup >> | property_page_setup () const |
Page Setup. | |
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Printer >> | property_printer () const |
Printer to print the job to. | |
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<PrintSettings >> | property_settings () const |
Printer settings. | |
Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_title () const |
Title of the print job. | |
void | send (const SlotPrintJobComplete& slot) |
TODO: document this. | |
void | set_source_file (const std::string& filename) |
void | set_track_print_status (bool track_status=true) |
Glib::SignalProxy0<void> | signal_status_changed () |
virtual | ~PrintJob () |
Static Public Member Functions | |
static Glib::RefPtr<PrintJob> | create (const Glib::ustring& title, const Glib::RefPtr<Printer>& printer, const Glib::RefPtr<PrintSettings>& settings, const Glib::RefPtr<PageSetup>& page_setup) |
Protected Member Functions | |
virtual void | on_status_changed () |
PrintJob (const Glib::ustring& title, const Glib::RefPtr<Printer>& printer, const Glib::RefPtr<PrintSettings>& settings, const Glib::RefPtr<PageSetup>& page_setup) | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr<Gtk::PrintJob> | wrap (GtkPrintJob* object, bool take_copy=false) |
|
For example, void on_print_job_complete(const Glib::RefPtr<PrintJob>& job);.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Provides access to the underlying C GObject.
Reimplemented from Glib::ObjectBase. |
|
Provides access to the underlying C GObject.
Reimplemented from Glib::ObjectBase. |
|
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
|
|
Page Setup. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
Printer to print the job to. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
Printer settings. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
Title of the print job. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
TODO: document this.
|
|
|
|
|
|
|
|
|