| Top |
GtkPageSetupUnixDialog implements a page setup dialog for platforms which don’t provide a native page setup 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
Printing support was added in GTK+ 2.10.
GtkWidget * gtk_page_setup_unix_dialog_new (const gchar *title,GtkWindow *parent);
Creates a new page setup dialog.
Since: 2.10
void gtk_page_setup_unix_dialog_set_page_setup (GtkPageSetupUnixDialog *dialog,GtkPageSetup *page_setup);
Sets the GtkPageSetup from which the page setup dialog takes its values.
Since: 2.10
GtkPageSetup *
gtk_page_setup_unix_dialog_get_page_setup
(GtkPageSetupUnixDialog *dialog);
Gets the currently selected page setup from the dialog.
Since: 2.10
void gtk_page_setup_unix_dialog_set_print_settings (GtkPageSetupUnixDialog *dialog,GtkPrintSettings *print_settings);
Sets the GtkPrintSettings from which the page setup dialog takes its values.
Since: 2.10
GtkPrintSettings *
gtk_page_setup_unix_dialog_get_print_settings
(GtkPageSetupUnixDialog *dialog);
Gets the current print settings from the dialog.
Since: 2.10