Gtk.PageSetupUnixDialog¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Dialog (11), Gtk.Window (62), Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1), Gtk.Native (6), Gtk.Root (3)
- Structs:
class |
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Gtk.Dialog (1), Gtk.Window (25), Gtk.Widget (34), Gtk.Accessible (1)
Signals¶
- Inherited:
Gtk.Dialog (2), Gtk.Window (5), Gtk.Widget (13), GObject.Object (1)
Fields¶
- Inherited:
Gtk.Dialog (2), Gtk.Window (5), Gtk.Widget (13), GObject.Object (1)
Class Details¶
- class Gtk.PageSetupUnixDialog(*args, **kwargs)¶
- Bases:
- Abstract:
No
GtkPageSetupUnixDialog
implements a page setup dialog for platforms which don’t provide a native page setup dialog, like Unix.An example
Gtk.PageSetupUnixDialog
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 [class`Gtk`.PrintOperation].
- CSS nodes
GtkPageSetupUnixDialog
has a single CSS node with the namewindow
and style class.pagesetup
.- classmethod new(title, parent)[source]¶
- Parameters:
parent (
Gtk.Window
orNone
) – transient parent of the dialog
- Returns:
the new
GtkPageSetupUnixDialog
- Return type:
Creates a new page setup dialog.
- get_page_setup()[source]¶
- Returns:
the current page setup
- Return type:
Gets the currently selected page setup from the dialog.
- get_print_settings()[source]¶
- Returns:
the current print settings
- Return type:
Gets the current print settings from the dialog.
- set_page_setup(page_setup)[source]¶
- Parameters:
page_setup (
Gtk.PageSetup
) – aGtkPageSetup
Sets the
GtkPageSetup
from which the page setup dialog takes its values.
- set_print_settings(print_settings)[source]¶
- Parameters:
print_settings (
Gtk.PrintSettings
orNone
) – aGtkPrintSettings
Sets the
GtkPrintSettings
from which the page setup dialog takes its values.