:right-sidebar: True PrintSetup =================================================================== .. currentmodule:: gi.repository.Gtk .. versionadded:: 4.14 .. class:: PrintSetup(*args, **kwargs) :no-contents-entry: A ``GtkPrintSetup`` is an auxiliary object for printing that allows decoupling the setup from the printing. A print setup is obtained by calling :obj:`~gi.repository.Gtk.PrintDialog.setup`, and can later be passed to print functions such as :obj:`~gi.repository.Gtk.PrintDialog.print`. Print setups can be reused for multiple print calls. Applications may wish to store the page_setup and print_settings from the print setup and copy them to the PrintDialog if they want to keep using them. Methods ------- .. rst-class:: interim-class .. class:: PrintSetup :no-index: .. method:: get_page_setup() -> ~gi.repository.Gtk.PageSetup | None Returns the page setup of ``setup``. It may be different from the ``GtkPrintDialog``'s page setup if the user changed it during the setup process. .. versionadded:: 4.14 .. method:: get_print_settings() -> ~gi.repository.Gtk.PrintSettings | None Returns the print settings of ``setup``. They may be different from the ``GtkPrintDialog``'s settings if the user changed them during the setup process. .. versionadded:: 4.14