newCustom

fun newCustom(name: String, displayName: String, width: <Error class: unknown class>, height: <Error class: unknown class>, unit: Unit): PaperSize

Creates a new GtkPaperSize object with the given parameters.

Return

a new GtkPaperSize object, use method@Gtk.PaperSize.free to free it

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_UNIT_NONE.