to free it
PaperSize.newFromPpd
gtk.paper_size.PaperSize newFromPpd(string ppdName, string ppdDisplayName, 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.
Parameters
ppdName | a PPD paper name |
ppdDisplayName | the corresponding human-readable name |
width | the paper width, in points |
height | the paper height in points |
Returns
a new #GtkPaperSize, use [gtk.paper_size.PaperSize.free]