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 gtk.paper_size.PaperSize 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. |