Function

Adw-1Adwlength_unit_from_pxSince 1.4

  • Converts value from pixels to unit.

    Parameters

    • unit: Adw.LengthUnit

      a length unit

    • value: number

      a value in pixels

    • Optionalsettings: Gtk.Settings

      settings to use, or NULL for default settings

    Returns number

    the length in unit

    1.4