API Version: 1
Library Version: 1.5.1
Generated by gi-docgen 2024.2
since: 1.4
enum Adw.LengthUnit
Describes length units.
New values may be added to this enumeration over time.
Available since: 1.4
ADW_LENGTH_UNIT_PX
Pixels.
0
ADW_LENGTH_UNIT_PT
Points, changes with text scale factor.
1
ADW_LENGTH_UNIT_SP
Scale independent pixels, changes with text scale factor.
2
Converts value from pixels to unit.
value
unit
Converts value from unit to pixels.
Content