PaperSize.this

Creates a new GtkPaperSize object with the given parameters.

Parameters

name string

the paper name

displayName string

the human-readable name

width double

the paper width, in units of @unit

height double

the paper height, in units of @unit

unit GtkUnit

the unit for @width and @height. not %GTK_UNIT_NONE.

Return Value

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

Throws

ConstructionException GTK+ fails to create the object.

Meta