Creates a new #GtkPaperSize object by parsing a PWG 5101.1-2002
paper name.
Copies an existing #GtkPaperSize.
Gets the default bottom margin for the #GtkPaperSize.
Gets the default left margin for the #GtkPaperSize.
Gets the default right margin for the #GtkPaperSize.
Gets the default top margin for the #GtkPaperSize.
Gets the human-readable name of the #GtkPaperSize.
Gets the paper height of the #GtkPaperSize, in units of unit.
Gets the name of the #GtkPaperSize.
Gets the PPD name of the #GtkPaperSize, which may be null.
Gets the paper width of the #GtkPaperSize, in units of unit.
Returns true if size is not a standard paper size.
Compares two #GtkPaperSize objects.
Returns true if size is an IPP standard paper size.
Returns this, for use in with statements.
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 #GtkPaperSize object with the given parameters.
Deserialize a paper size from an a{sv} variant in the format produced by gtk.paper_size.PaperSize.toGvariant.
Creates a new #GtkPaperSize object by using IPP information.
Reads a paper size from the group group_name in the key file key_file.
Creates a new #GtkPaperSize 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.
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][print-margins].
Printing support has been added in GTK+ 2.10.