getWidth

fun getWidth(unit: Unit): Double

Gets the paper width of the GtkPaperSize, in units of @unit.

Return

the paper width

Parameters

unit

the unit for the return value, not %GTK_UNIT_NONE