Package: pango

Function pango:layout-set-markup-with-accel

Lambda List

pango:layout-set-markup-with-accel (layout markup marker)

Arguments

layout -- a pango:layout object
markup -- a string for the marked-up text
marker -- a character or an integer with the char code for the marker for accelerators in the text

Return Value

The character with the first located accelerator.

Details

Sets the layout text and attribute list from marked-up text (see markup format). Replaces the current text and attribute list.

If marker is nonzero, the given character will mark the character following it as an accelerator. For example, marker might be an ampersand or underscore. All characters marked as an accelerator will receive a :low attribute of the pango:underline enumeration, and the first character so marked will be returned. Two marker characters following each other produce a single literal marker character.
 

See also

2025-2-15