Creates a new gtk.paper_size.PaperSize object by parsing a PWG 5101.1-2002
paper name.
Copies an existing gtk.paper_size.PaperSize.
Gets the default bottom margin for the gtk.paper_size.PaperSize.
Gets the default left margin for the gtk.paper_size.PaperSize.
Gets the default right margin for the gtk.paper_size.PaperSize.
Gets the default top margin for the gtk.paper_size.PaperSize.
Gets the human-readable name of the gtk.paper_size.PaperSize.
Gets the paper height of the gtk.paper_size.PaperSize, in units of unit.
Gets the name of the gtk.paper_size.PaperSize.
Gets the PPD name of the gtk.paper_size.PaperSize, which may be null.
Gets the paper width of the gtk.paper_size.PaperSize, in units of unit.
Returns true if size is not a standard paper size.
Compares two gtk.paper_size.PaperSize objects.
Returns true if size is an IPP standard paper size.
Changes the dimensions of a size to width x height.
Serialize a paper size to an a{sv} variant.
This function adds the paper size from size to key_file.
Returns the name of the default paper size, which depends on the current locale.
Creates a list of known paper sizes.
Creates a new gtk.paper_size.PaperSize object with the given parameters.
Deserialize a paper size from a glib.variant.VariantG.
Creates a new gtk.paper_size.PaperSize object by using IPP information.
Reads a paper size from the group group_name in the key file key_file.
Creates a new gtk.paper_size.PaperSize object by using PPD information.
Pointer to the C boxed value
Get the GType of this boxed type.
Boxed GType property.
Convenience method to return this cast to a type. For use in D with statements.
Make a copy of the wrapped C boxed data.
Copy a C boxed value using g_boxed_copy.
Free a C boxed value using g_boxed_free.
gtk.paper_size.PaperSize 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, gtk.paper_size.PaperSize allows to construct custom paper sizes with arbitrary dimensions.
The gtk.paper_size.PaperSize object stores not only the dimensions (width and height) of a paper size and its name, it also provides default print margins.