to free it
PaperSize.newCustom
gtk.paper_size.PaperSize newCustom(string name, string displayName, double width, double height, gtk.types.Unit unit)Creates a new #GtkPaperSize object with the given parameters.
Parameters
name | the paper name |
displayName | the human-readable name |
width | the paper width, in units of unit |
height | the paper height, in units of unit |
unit | the unit for width and height. not [gtk.types.Unit.None]. |
Returns
a new #GtkPaperSize object, use [gtk.paper_size.PaperSize.free]