GObject.Object
Gtk.PageSetup
Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-3.0.gir |
C documentation: | GtkPageSetup |
Class : | PageSetup |
Extends: | GObject.Object |
None |
Method / Constructor | Defined By | |
---|---|---|
new Gtk.PageSetup
()
Create a new Gtk.PageSetup
Create a new Gtk.PageSetup
|
||
Create a new Gtk.PageSetup
Create a new Gtk.PageSetup
|
||
Create a new Gtk.PageSetup
Create a new Gtk.PageSetup
|
||
copy
()
:
Gtk.PageSetup
Copies a GtkPageSetup.
Copies a GtkPageSetup.
|
Gtk.PageSetup | |
Gtk.PageSetup | ||
Gtk.PageSetup | ||
get_orientation
()
:
Gtk.PageOrientation
Gets the page orientation of the GtkPageSetup.
Gets the page orientation of the GtkPageSetup.
|
Gtk.PageSetup | |
Returns the page height in units of unit.
|
Gtk.PageSetup | |
Returns the page width in units of unit.
|
Gtk.PageSetup | |
Returns the paper height in units of unit.
|
Gtk.PageSetup | |
get_paper_size
()
:
Gtk.PaperSize
Gets the paper size of the GtkPageSetup.
Gets the paper size of the GtkPageSetup.
|
Gtk.PageSetup | |
Returns the paper width in units of unit.
|
Gtk.PageSetup | |
Gtk.PageSetup | ||
Gtk.PageSetup | ||
Gtk.PageSetup | ||
Reads the page setup from the group group_name in the key file
Reads the page setup from the group group_name in the key file
|
Gtk.PageSetup | |
Gtk.PageSetup | ||
Gtk.PageSetup | ||
set_orientation
(PageOrientation orientation)
:
none
Sets the page orientation of the GtkPageSetup.
Sets the page orientation of the GtkPageSetup.
|
Gtk.PageSetup | |
set_paper_size
(PaperSize size)
:
none
Sets the paper size of the GtkPageSetup without
changing the margins.
Sets the paper size of the GtkPageSetup without
changing the margins. See gtk_page_setup_set_paper_size_and_default_margins().
|
Gtk.PageSetup | |
set_paper_size_and_default_margins
(PaperSize size)
:
none
Sets the paper size of the GtkPageSetup and modifies
the margins according to the new paper size.
Sets the paper size of the GtkPageSetup and modifies
the margins according to the new paper size.
|
Gtk.PageSetup | |
Gtk.PageSetup | ||
Gtk.PageSetup | ||
Gtk.PageSetup | ||
This function adds the page setup from setup to key_file.
This function adds the page setup from setup to key_file.
|
Gtk.PageSetup |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
EvinceView.PrintOperation
Method |
set_default_page_setup
(PageSetup page_setup)
:
none
|
Gtk
Method |
Gtk.print_run_page_setup_dialog
(Window parent, PageSetup page_setup, PrintSettings settings)
:
Gtk.PageSetup
Runs a page setup dialog, letting the user modify the values from
is identical to the passed in page_setup, otherwise it contains the modifications done in the dialog. |
Gtk
Method |
Gtk.print_run_page_setup_dialog_async
(Window parent, PageSetup page_setup, PrintSettings settings, Function done_cb, void* data)
:
none
Runs a page setup dialog, letting the user modify the values from page_setup.
|
Gtk.PrintContext
Method |
get_page_setup
()
:
Gtk.PageSetup
Obtains the GtkPageSetup that determines the page
dimensions of the GtkPrintContext. |
Gtk.PrintOperation
Property |
default_page_setup : Gtk.PageSetup
The GtkPageSetup used by default.
|
Gtk.PrintOperation
Signal |
request_page_setup
(PrintOperation self, PrintContext context, gint32 page_nr, PageSetup setup)
:
none
Emitted once for every page that is printed, to give
the application a chance to modify the page setup. |
Gtk.PrintOperation
Signal |
update_custom_widget
(PrintOperation self, Widget widget, PageSetup setup, PrintSettings settings)
:
none
Emitted after change of selected printer.
|
Gtk.PrintOperation
Method |
get_default_page_setup
()
:
Gtk.PageSetup
Returns the default page setup, see
gtk_print_operation_set_default_page_setup(). |
Gtk.PrintOperation
Method |
set_default_page_setup
(PageSetup default_page_setup)
:
none
Makes default_page_setup the default page setup for op.
|
Gtk.PrintOperationPreview
Signal |
The ::got-page-size signal is emitted once for each page
that gets rendered to the preview. |