GtkPaperSize
Support for named paper sizes
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.
Printing support has been added in GTK+ 2.10.
#GtkPageSetup
@GTK_UNIT_PIXEL:
@GTK_UNIT_POINTS:
@GTK_UNIT_INCH:
@GTK_UNIT_MM:
Name for the A4 paper size.
Name for the A4 paper size.
Name for the A5 paper size.
Name for the B5 paper size.
Name for the Letter paper size.
Name for the Executive paper size.
Name for the Legal paper size.
@name:
@Returns:
@ppd_name:
@ppd_display_name:
@width:
@height:
@Returns:
@name:
@display_name:
@width:
@height:
@unit:
@Returns:
@other:
@Returns:
@size:
@size1:
@size2:
@Returns:
@include_custom:
@Returns:
@size:
@Returns:
@size:
@Returns:
@size:
@Returns:
@size:
@unit:
@Returns:
@size:
@unit:
@Returns:
@size:
@Returns:
@size:
@width:
@height:
@unit:
@size:
@unit:
@Returns:
@size:
@unit:
@Returns:
@size:
@unit:
@Returns:
@size:
@unit:
@Returns:
@Returns:
@key_file:
@group_name:
@error:
@Returns:
@size:
@key_file:
@group_name: