Sets our main struct and passes it to the parent class.
Creates a new gtk.PaperSize object by parsing a PWG 5101.1-2002
paper name.
Creates a new gtk.PaperSize object with the given parameters.
Deserialize a paper size from an a{sv} variant in the format produced by PaperSize.toGvariant.
Creates a new gtk.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.PaperSize object by using PPD information.
A destructor is present on this object, but not explicitly documented in the source.
Copies an existing gtk.PaperSize
Free the given gtk.PaperSize object.
Gets the default bottom margin for the gtk.PaperSize
Gets the default left margin for the gtk.PaperSize
Gets the default right margin for the gtk.PaperSize
Gets the default top margin for the gtk.PaperSize
Gets the human-readable name of the gtk.PaperSize
Gets the paper height of the gtk.PaperSize, in units of unit.
Gets the name of the gtk.PaperSize
Get the main Gtk struct
Gets the PPD name of the gtk.PaperSize, which may be NULL.
the main Gtk struct as a void*
Gets the paper width of the gtk.PaperSize, in units of unit.
Returns TRUE if size is not a standard paper size.
Compares two gtk.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.
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 gtk.PaperSize 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.