Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Struct Gtk.PaperSize

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-3.0.gir
C documentation: GtkPaperSize
Struct : PaperSize
GtkPaperSize handles paper sizes. It uses the standard called
"PWG 5101.1-2002 PWG: Standard for Media Standardized Names"
to name the paper sizes (and to get the data for the page sizes).
In addition to standard paper sizes, GtkPaperSize allows to
construct custom paper sizes with arbitrary dimensions.
The GtkPaperSize object stores not only the dimensions (width
and height) of a paper size and its name, it also provides
default print margins.
Printing support has been added in GTK+ 2.10.
Properties
None
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gtk.PageSetup
Method
get_paper_size () : Gtk.PaperSize
Gets the paper size of the GtkPageSetup.
Gtk.PageSetup
Method
set_paper_size (PaperSize size) : none
Sets the paper size of the GtkPageSetup without
changing the margins.
Gtk.PageSetup
Method
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.
Gtk.PrintSettings
Method
get_paper_size () : Gtk.PaperSize
Gets the value of GTK_PRINT_SETTINGS_PAPER_FORMAT,
converted to a GtkPaperSize.
Gtk.PrintSettings
Method
set_paper_size (PaperSize paper_size) : none
Sets the value of GTK_PRINT_SETTINGS_PAPER_FORMAT,
GTK_PRINT_SETTINGS_PAPER_WIDTH and
GTK_PRINT_SETTINGS_PAPER_HEIGHT.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:15:14 GMT+0800 (HKT)