|
Public Member Functions |
void | cancel () |
Glib::RefPtr<PageSetup> | get_default_page_setup () const |
Glib::RefPtr<PrintSettings> | get_print_settings () const |
PrintStatus | get_status () const |
Glib::ustring | get_status_string () const |
const GtkPrintOperation* | gobj () const |
| Provides access to the underlying C GObject.
|
GtkPrintOperation* | gobj () |
| Provides access to the underlying C GObject.
|
GtkPrintOperation* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
bool | is_finished () const |
Glib::PropertyProxy_ReadOnly<
int > | property_current_page () const |
| The current page in the document.
|
Glib::PropertyProxy<int> | property_current_page () |
| The current page in the document.
|
Glib::PropertyProxy_ReadOnly<
Glib::RefPtr<PageSetup >> | property_default_page_setup () const |
| The GtkPageSetup used by default.
|
Glib::PropertyProxy< Glib::RefPtr<
PageSetup > > | property_default_page_setup () |
| The GtkPageSetup used by default.
|
Glib::PropertyProxy_ReadOnly<
Glib::ustring > | property_job_name () const |
| A string used for identifying the print job.
|
Glib::PropertyProxy<Glib::ustring> | property_job_name () |
| A string used for identifying the print job.
|
Glib::PropertyProxy_ReadOnly<
int > | property_number_of_pages () const |
| The number of pages in the document.
|
Glib::PropertyProxy<int> | property_number_of_pages () |
| The number of pages in the document.
|
Glib::PropertyProxy_ReadOnly<
Glib::ustring > | property_pdf_target () const |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<Glib::ustring> | property_pdf_target () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy_ReadOnly<
Glib::RefPtr<PrintSettings >> | property_print_settings () const |
| The GtkPrintSettings used for initializing the dialog.
|
Glib::PropertyProxy< Glib::RefPtr<
PrintSettings > > | property_print_settings () |
| The GtkPrintSettings used for initializing the dialog.
|
Glib::PropertyProxy_ReadOnly<
bool > | property_show_dialog () const |
| true if run should show the print dialog.
|
Glib::PropertyProxy<bool> | property_show_dialog () |
| true if run should show the print dialog.
|
Glib::PropertyProxy_ReadOnly<
PrintStatus > | property_status () const |
| The status of the print operation.
|
Glib::PropertyProxy_ReadOnly<
Glib::ustring > | property_status_string () const |
| A human-readable description of the status.
|
Glib::PropertyProxy_ReadOnly<
Unit > | property_unit () const |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<Unit> | property_unit () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy_ReadOnly<
bool > | property_use_full_page () const |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<bool> | property_use_full_page () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
PrintOperationResult | run (Window& parent) |
void | run_async (Window& parent) |
void | set_current_page (int current_page) |
void | set_default_page_setup (const Glib::RefPtr<PageSetup>& default_page_setup) |
void | set_job_name (const Glib::ustring& job_name) |
void | set_n_pages (int n_pages) |
void | set_pdf_target (const std::string& file_name) |
void | set_print_settings (const Glib::RefPtr<PrintSettings>& print_settings) |
void | set_show_dialog (bool show_dialog=true) |
void | set_track_print_status (bool track_status=true) |
void | set_unit (Unit unit) |
void | set_use_full_page (bool use_full_page=true) |
Glib::SignalProxy1< void,
const Glib::RefPtr<PrintContext >&> | signal_begin_print () |
Glib::SignalProxy2< void,
const Glib::RefPtr<PrintContext>&,
int > | signal_draw_page () |
Glib::SignalProxy1< void,
const Glib::RefPtr<PrintContext >&> | signal_end_print () |
Glib::SignalProxy1< bool,
const Glib::RefPtr<PrintContext >&> | signal_paginate () |
Glib::SignalProxy3< void,
const Glib::RefPtr<PrintContext>&,
int, const Glib::RefPtr<
PageSetup >& > | signal_request_page_setup () |
Glib::SignalProxy0<void> | signal_status_changed () |
virtual | ~PrintOperation () |
Static Public Member Functions |
static Glib::RefPtr<PrintOperation> | create () |
Protected Member Functions |
virtual void | on_begin_print (const Glib::RefPtr<PrintContext>& context) |
virtual void | on_draw_page (const Glib::RefPtr<PrintContext>& context, int page_nr) |
virtual void | on_end_print (const Glib::RefPtr<PrintContext>& context) |
virtual bool | on_paginate (const Glib::RefPtr<PrintContext>& context) |
virtual void | on_request_page_setup (const Glib::RefPtr<PrintContext>& context, int page_no, const Glib::RefPtr<PageSetup>& setup) |
virtual void | on_status_changed () |
| PrintOperation () |
Related Functions |
(Note that these are not member functions.)
|
Glib::RefPtr<Gtk::PrintOperation> | wrap (GtkPrintOperation* object, bool take_copy=false) |