Sets our main struct and passes it to the parent class.
Creates a new #GtkPaperSize object by parsing a PWG 5101.1-2002
paper name.
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_to_gvariant().
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.
Copies an existing #GtkPaperSize.
Free the given #GtkPaperSize object.
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.
Get the main Gtk struct
Gets the PPD name of the #GtkPaperSize, which may be %NULL.
the main Gtk struct as a void*
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.
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.
the main Gtk struct
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.