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
PageSetupUnixDialog self()Returns `this`, for use in `with` statements.PageSetupUnixDialogGidBuilder builder()Get builder for [gtk.pagesetupunix_dialog.PageSetupUnixDialog] Returns: New builder objectgtk.page_setup.PageSetup getPageSetup()Gets the currently selected page setup from the dialog. Returns: the current page setupgtk.print_settings.PrintSettings getPrintSettings()Gets the current print settings from the dialog. Returns: the current print settingsvoid 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(string title = null, gtk.window.Window parent = null)Creates a new page setup dialog.classPageSetupUnixDialogGidBuilder : PageSetupUnixDialogGidBuilderImpl!PageSetupUnixDialogGidBuilder
Fluent builder for [gtk.page_setup_unix_dialog.PageSetupUnixDialog]
Methods