The
pango-underline enumeration is used to specify whether text
should be underlined, and if so, the type of underlining.
(define-g-enum "PangoUnderline" pango-underline
(:export t
:type-initializer "pango_underline_get_type")
(:none 0)
(:single 1)
(:double 2)
(:low 3)
(:error 4)
(:single-line 5)
(:double-line 6)
(:error-line 7))
- :none
- No underline should be drawn.
- :single
- A single underline should be drawn.
- :double
- A double underline should be drawn.
- :low
- A single underline should be drawn at a position beneath the
ink extents of the text being underlined. This should be used only for
underlining single characters, such as for keyboard accelerators. The :single value should be used for extended portions of text.
- :error
- A wavy underline should be drawn below. This underline is
typically used to indicate an error such as a possible mispelling. In some cases a contrasting color may automatically be used.
- :single-line
- Like the :single value, but drawn continuously across multiple runs. Since 1.46
- :double-line
- Like the :double value, but drawn continuously across multiple runs. Since 1.46
- :error-line
- Like the :error value, but drawn continuously across multiple runs. Since 1.46