GnuCash
5.6-150-g038405b370+
|
Macros | |
#define | GNC_GTK_PRINT_SETTINGS_EXPORT_DIR "gnc-pdf-export-directory" |
Key for saving the PDF-export directory in the print settings. | |
Functions | |
void | gnc_print_operation_save_print_settings (GtkPrintOperation *op) |
Retrieve the print settings from the GtkPrintOperation op and save them in a static variable. More... | |
void | gnc_print_operation_init (GtkPrintOperation *op, const gchar *jobname) |
If print settings have been saved by gnc_print_operation_save_print_settings(), then set them on the given GtkPrintOperation op. More... | |
void | gnc_ui_page_setup (GtkWindow *parent) |
Run a page setup dialog and save the resulting GtkPageSetup in a static variable. More... | |
GtkPrintSettings * | gnc_print_get_settings (void) |
Returns the pointer to our static GtkPrintSettings object. More... | |
GtkPrintSettings* gnc_print_get_settings | ( | void | ) |
Returns the pointer to our static GtkPrintSettings object.
Watch out: This might get modified by other threads.
Definition at line 108 of file print-session.c.
void gnc_print_operation_init | ( | GtkPrintOperation * | op, |
const gchar * | jobname | ||
) |
If print settings have been saved by gnc_print_operation_save_print_settings(), then set them on the given GtkPrintOperation op.
Set the default page setup as well.
op | non-NULL print operation |
jobname | non-NULL print job name |
Definition at line 51 of file print-session.c.
void gnc_print_operation_save_print_settings | ( | GtkPrintOperation * | op | ) |
Retrieve the print settings from the GtkPrintOperation op and save them in a static variable.
op | non-NULL print operation |
Definition at line 39 of file print-session.c.
void gnc_ui_page_setup | ( | GtkWindow * | parent | ) |
Run a page setup dialog and save the resulting GtkPageSetup in a static variable.
parent | Transient parent, or NULL |
Definition at line 71 of file print-session.c.