Method

AdapClampScrollableset_unit

since: 1.4

Declaration [src]

void
adap_clamp_scrollable_set_unit (
  AdapClampScrollable* self,
  AdapLengthUnit unit
)

Description [src]

Sets the length unit for maximum size and tightening threshold.

Allows the sizes to vary depending on the text scale factor.

Available since: 1.4

Parameters

unit

Type: AdapLengthUnit

The length unit.