PaperSize.this

Creates a new gtk.PaperSize 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 gtk.PaperSize object, use PaperSize.free to free it

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.10