PaperSize.newFromIpp

gtk.paper_size.PaperSize newFromIpp(string ippName, double width, double height)

Creates a new #GtkPaperSize object by using IPP information.

If ipp_name is not a recognized paper name, width and height are used to construct a custom #GtkPaperSize object.

Parameters

ippNamean IPP paper name
widththe paper width, in points
heightthe paper height in points

Returns

a new #GtkPaperSize, use [gtk.paper_size.PaperSize.free]

to free it