PaperSize.custom


Description:

[ CCode ( has_construct_function = false ) ]
public PaperSize.custom (string name, string display_name, double width, double height, Unit unit)

Creates a new `GtkPaperSize` object with the given parameters.

Parameters:

name

the paper name

display_name

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.

Returns:

a new `GtkPaperSize` object, use [[email protected]] to free it




2022 vala-language.org