PageSetupUnixDialog#
- class PageSetupUnixDialog(*args, **kwargs)#
Superclasses: Dialog
, Window
, Widget
, InitiallyUnowned
, Object
Implemented Interfaces: Accessible
, Buildable
, ConstraintTarget
, Native
, Root
, ShortcutManager
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 in PrintOperation
.
CSS nodes#
GtkPageSetupUnixDialog
has a single CSS node with the name window
and
style class .pagesetup
.
Constructors#
Methods#
- class PageSetupUnixDialog
-
- get_print_settings() PrintSettings | None #
Gets the current print settings from the dialog.
- set_page_setup(page_setup: PageSetup) None #
Sets the
GtkPageSetup
from which the page setup dialog takes its values.- Parameters:
page_setup – a
GtkPageSetup
- set_print_settings(print_settings: PrintSettings | None = None) None #
Sets the
GtkPrintSettings
from which the page setup dialog takes its values.- Parameters:
print_settings – a
GtkPrintSettings