|
class gtkunixprint.PageSetupUnixDialog(gtk.Dialog): |
+--gobject.GObject +-- gtk.Object +-- gtk.Widget +-- gtk.Container +-- gtk.Bin +-- gtk.Window +-- gtk.Dialog +-- gtkunixprint.PageSetupUnixDialog
This class is available for Unix systems in PyGTK 2.10 and above.
The gtkunixprint.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.
gtkunixprint.PageSetupUnixDialog(title
=None, parent
=None)
| the title of the dialog, or
None |
| the transient parent of the dialog, or
None |
Returns : | the new gtkunixprint.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
.
def set_page_setup(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.
def get_page_setup()
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
.
def set_print_settings(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.
© manpagez.com 2000-2024 Individual documents may contain additional copyright information.