PrintOperation.unit

Get unit property.

  1. gtk.types.Unit unit [@property getter]
    class PrintOperation
    @property
    unit
    ()
  2. gtk.types.Unit unit [@property setter]

Return Value

Type: gtk.types.Unit

The transformation for the cairo context obtained from gtk.print_context.PrintContext is set up in such a way that distances are measured in units of @unit.