Free the given Gtk.PaperSize object.
Gets the default bottom margin for the Gtk.PaperSize.
the unit for the return value, not Gtk.Unit.NONE
the default bottom margin
Gets the default left margin for the Gtk.PaperSize.
the unit for the return value, not Gtk.Unit.NONE
the default left margin
Gets the default right margin for the Gtk.PaperSize.
the unit for the return value, not Gtk.Unit.NONE
the default right margin
Gets the default top margin for the Gtk.PaperSize.
the unit for the return value, not Gtk.Unit.NONE
the default top margin
Gets the paper height of the Gtk.PaperSize, in
units of unit.
the unit for the return value, not Gtk.Unit.NONE
the paper height
Gets the paper width of the Gtk.PaperSize, in
units of unit.
the unit for the return value, not Gtk.Unit.NONE
the paper width
Returns true if size is not a standard paper size.
whether size is a custom paper size.
Compares two Gtk.PaperSize objects.
another Gtk.PaperSize object
true, if size1 and size2 represent the same paper size
Returns true if size is an IPP standard paper size.
whether size is not an IPP custom paper size.
This function adds the paper size from size to key_file.
the GLib.KeyFile to save the paper size to
the group to add the settings to in key_file
Staticget_Returns the name of the default paper size, which depends on the current locale.
Staticget_StaticnewStaticnew_Staticnew_Staticnew_Staticnew_Staticnew_
Gtk.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.PaperSize 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.