| Top |
GObject
╰── GInitiallyUnowned
╰── CtkWidget
╰── CtkContainer
╰── CtkBin
╰── CtkWindow
╰── CtkDialog
╰── CtkPageSetupUnixDialog
CtkPageSetupUnixDialog 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 CTK+ dialog, at the cost of the portability offered by the high-level printing API
Printing support was added in CTK+ 2.10.
CtkWidget * ctk_page_setup_unix_dialog_new (const gchar *title,CtkWindow *parent);
Creates a new page setup dialog.
title |
the title of the dialog, or |
[allow-none] |
parent |
transient parent of the dialog, or |
[allow-none] |
Since: 2.10
void ctk_page_setup_unix_dialog_set_page_setup (CtkPageSetupUnixDialog *dialog,CtkPageSetup *page_setup);
Sets the CtkPageSetup from which the page setup dialog takes its values.
Since: 2.10
CtkPageSetup *
ctk_page_setup_unix_dialog_get_page_setup
(CtkPageSetupUnixDialog *dialog);
Gets the currently selected page setup from the dialog.
Since: 2.10
void ctk_page_setup_unix_dialog_set_print_settings (CtkPageSetupUnixDialog *dialog,CtkPrintSettings *print_settings);
Sets the CtkPrintSettings from which the page setup dialog takes its values.
Since: 2.10
CtkPrintSettings *
ctk_page_setup_unix_dialog_get_print_settings
(CtkPageSetupUnixDialog *dialog);
Gets the current print settings from the dialog.
Since: 2.10