PrintOperation.setUnit

void setUnit(gtk.types.Unit unit)

Sets up the transformation for the cairo context obtained from #GtkPrintContext in such a way that distances are measured in units of unit.

Parameters

unitthe unit to use