PageSetupUnixDialog

class PageSetupUnixDialog(*args, **kwargs)

Superclasses: Dialog, Window, Widget, InitiallyUnowned, Object

Implemented Interfaces: Accessible, Buildable, ConstraintTarget, Native, Root, ShortcutManager

Constructors:

PageSetupUnixDialog(**properties)
new(title:str=None, parent:Gtk.Window=None) -> Gtk.Widget

Constructors

class PageSetupUnixDialog
classmethod new(title: str | None = None, parent: Window | None = None) Widget

Creates a new page setup dialog.

Parameters:
  • title – the title of the dialog

  • parent – transient parent of the dialog

Methods

class PageSetupUnixDialog
get_page_setup() PageSetup

Gets the currently selected page setup from the dialog.

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