:right-sidebar: True PageSetupUnixDialog =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: PageSetupUnixDialog(*args, **kwargs) :no-contents-entry: Superclasses: :class:`~gi.repository.Gtk.Dialog`, :class:`~gi.repository.Gtk.Window`, :class:`~gi.repository.Gtk.Widget`, :class:`~gi.repository.GObject.InitiallyUnowned`, :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.Gtk.Accessible`, :class:`~gi.repository.Gtk.Buildable`, :class:`~gi.repository.Gtk.ConstraintTarget`, :class:`~gi.repository.Gtk.Native`, :class:`~gi.repository.Gtk.Root`, :class:`~gi.repository.Gtk.ShortcutManager` :Constructors: :: PageSetupUnixDialog(**properties) new(title:str=None, parent:Gtk.Window=None) -> Gtk.Widget Constructors ------------ .. rst-class:: interim-class .. class:: PageSetupUnixDialog :no-index: .. classmethod:: new(title: str | None = None, parent: ~gi.repository.Gtk.Window | None = None) -> ~gi.repository.Gtk.Widget Creates a new page setup dialog. :param title: the title of the dialog :param parent: transient parent of the dialog Methods ------- .. rst-class:: interim-class .. class:: PageSetupUnixDialog :no-index: .. method:: get_page_setup() -> ~gi.repository.Gtk.PageSetup Gets the currently selected page setup from the dialog. .. method:: get_print_settings() -> ~gi.repository.Gtk.PrintSettings | None Gets the current print settings from the dialog. .. method:: set_page_setup(page_setup: ~gi.repository.Gtk.PageSetup) -> None Sets the ``GtkPageSetup`` from which the page setup dialog takes its values. :param page_setup: a ``GtkPageSetup`` .. method:: set_print_settings(print_settings: ~gi.repository.Gtk.PrintSettings | None = None) -> None Sets the ``GtkPrintSettings`` from which the page setup dialog takes its values. :param print_settings: a ``GtkPrintSettings``