[ CCode ( has_construct_function = false ) ]
public PaperSize.from_ppd (string ppd_name, string ppd_display_name, double width, double height)
Creates a new `GtkPaperSize` object by using PPD information.
If ppd_name
is not a recognized PPD paper name, ppd_display_name
, width
and height
are used to construct a custom `GtkPaperSize` object.
ppd_name |
a PPD paper name |
ppd_display_name |
the corresponding human-readable name |
width |
the paper width, in points |
height |
the paper height in points |
a new `GtkPaperSize`, use [[email protected]] to free it |