new

fun new(name: String? = null): PaperSize

Creates a new GtkPaperSize object by parsing a PWG 5101.1-2002 paper name.

If @name is null, the default paper size is returned, see func@Gtk.PaperSize.get_default.

Return

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

Parameters

name

a paper size name