gtk.page_setup_unix_dialog

Module for [PageSetupUnixDialog] class

Types 3

[gtk.page_setup_unix_dialog.PageSetupUnixDialog] implements a page setup dialog for platforms which don’t provide a native page setup dialog, like Unix.

!An example GtkPageSetupUnixDialog

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 [gtk.print_operation.PrintOperation].

CSS nodes

[gtk.page_setup_unix_dialog.PageSetupUnixDialog] has a single CSS node with the name window and style class .pagesetup.

Methods
GType _gType() @property
PageSetupUnixDialog self()Returns `this`, for use in `with` statements.
PageSetupUnixDialogGidBuilder builder()Get builder for [gtk.pagesetupunix_dialog.PageSetupUnixDialog] Returns: New builder object
gtk.page_setup.PageSetup getPageSetup()Gets the currently selected page setup from the dialog. Returns: the current page setup
gtk.print_settings.PrintSettings getPrintSettings()Gets the current print settings from the dialog. Returns: the current print settings
void setPageSetup(gtk.page_setup.PageSetup pageSetup)Sets the [gtk.page_setup.PageSetup] from which the page setup dialog takes its values.
void setPrintSettings(gtk.print_settings.PrintSettings printSettings = null)Sets the [gtk.print_settings.PrintSettings] from which the page setup dialog takes its values.
Constructors
this(void * ptr, Flag!"Take" take)
this(string title = null, gtk.window.Window parent = null)Creates a new page setup dialog.

Fluent builder for [gtk.page_setup_unix_dialog.PageSetupUnixDialog]