gtk.unixprint.PageSetupUnixDialog — a dialog for setting up a printer page on Unix (new in PyGTK 2.10)
class gtk.unixprint.PageSetupUnixDialog(gtk.Dialog): |
+-- gobject.GObject +-- gtk.Object +-- gtk.Widget +-- gtk.Container +-- gtk.Bin +-- gtk.Window +-- gtk.Dialog +-- gtk.unixprint.PageSetupUnixDialog |
gobject.GObject Signal Prototypes
This class is available for Unix systems in PyGTK 2.10 and above.
The gtk.PageSetupUnixDialog object implements a page setup dialog for platforms, like Unix, that don't provide a native page setup dialog. It can be used very much like any other PyGTK dialog, at the cost of the portability offered by the high-level printing API.
|
title : | the title of the dialog, or None |
parent : | the transient parent of the dialog, or None |
Returns : | the new gtk.unixprint.PageSetupUnixDialog |
This constructor is available in PyGTK 2.10 and above.
Creates a new page setup dialog with the optional title specified by title and optionally using the gtk.Window specified by parent.
|
page_setup : | a gtk.PageSetup |
This method is available in PyGTK 2.10 and above.
The set_page_setup() method uses the gtk.PageSetup specified by page_setup to set the page setup values for the dialog.
|
Returns : | the current page setup |
This method is available in PyGTK 2.10 and above.
The get_page_setup() method returns the current page setup values from the dialog as a gtk.PageSetup.
|
print_settings : | a gtk.PrintSettings |
This method is available in PyGTK 2.10 and above.
The set_print_settings() method installs the gtk.PrintSettings specified by print_settings as the print settings for the dialog.