Go to the documentation of this file.
25 #ifndef CGU_FILE_PRINTMANAGER_H
26 #define CGU_FILE_PRINTMANAGER_H
35 #if GTK_CHECK_VERSION(2,14,0)
36 #include <gtk/gtkunixprint.h>
38 #include <gtk/gtkprintunixdialog.h>
39 #include <gtk/gtkprintjob.h>
40 #include <gtk/gtkprinter.h>
54 #if defined(DOXYGEN_PARSING) || defined(CGU_USE_GTK)
76 #ifndef DOXYGEN_PARSING
138 FilePrintDialog(GtkWindow* parent, GtkPrintSettings* print_settings = 0,
139 const char* caption = 0, GdkPixbuf* window_icon = 0);
206 std::string filename;
223 #ifndef DOXYGEN_PARSING
259 const std::string& caption =
"",
277 bool set_filename(
const char* filename,
bool manage_file =
false);
311 #ifdef CGU_USE_GLIB_MEMORY_SLICES_NO_COMPAT
316 #endif // CGU_USE_GTK
320 #endif // CGU_FILE_PRINTMANAGER_H
Emitter accepted
Definition: file_print_manager.h:90
This is a class for managing the lifetime of top level widgets.
Definition: window.h:225
Definition: application.h:45
This is a smart pointer for managing objects allocated on freestore which maintain their own referenc...
Definition: intrusive_ptr.h:106
A class to print a file using the GTK+ print system.
Definition: file_print_manager.h:200
static Cgu::IntrusivePtr< Cgu::FilePrintManager > create_manager(GtkWindow *parent=0, const std::string &caption="", GobjHandle< GdkPixbuf > window_icon=GobjHandle< GdkPixbuf >(0))
Provides thread-safe signalling between a worker thread and the main program thread.
Definition: notifier.h:181
A print dialog class for FilePrintManager.
Definition: file_print_manager.h:65
GobjHandle< GtkPrintSettings > get_settings() const
This file provides a Notifier class to provide thread-safe signalling between a worker thread and the...
#define CGU_GLIB_MEMORY_SLICES_FUNCS
Definition: cgu_config.h:84
This is a counter class providing the ref() and unref() functions required by IntrusivePtr,...
Definition: intrusive_ptr.h:317
Emitter rejected
Definition: file_print_manager.h:99
bool set_filename(const char *filename, bool manage_file=false)
Provides wrapper classes for pthread mutexes and condition variables, and scoped locking classes for ...
FilePrintDialog(GtkWindow *parent, GtkPrintSettings *print_settings=0, const char *caption=0, GdkPixbuf *window_icon=0)
GtkPrinter * get_printer() const
GtkPageSetup * get_page_setup() const
This file provides a thread-safe signal/slot mechanism, with automatic disconnection.
A wrapper class for pthread mutexes.
Definition: mutex.h:109
virtual void on_delete_event()