PaperSize.newCustom

Creates a new gtk.paper_size.PaperSize object with the given parameters.

class PaperSize
static
newCustom
(
string name
,,
double width
,
double height
,)

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 gtk.types.Unit

the unit for width and height. not gtk.types.Unit.None.

Return Value

Type: gtk.paper_size.PaperSize