set_markup_with_accel
Description:
Sets the layout text and attribute list from marked-up text.
See [Pango Markup](pango_markup.html)).
Replaces the current text and attribute list.
If accel_marker
is nonzero, the given character will mark the character following it as an accelerator. For example,
accel_marker
might be an ampersand or underscore. All characters marked as an accelerator will receive a
pango_underline_low attribute, and the first character so marked will be returned in accel_char
. Two accel_marker
characters following each other produce a single literal accel_marker
character.
Parameters:
this |
a `PangoLayout` |
markup |
marked-up text (see [Pango Markup](pango_markup.html)) |
length |
length of marked-up text in bytes, or -1 if |
accel_marker |
marker for accelerators in the text |
accel_char |
return location for first located accelerator |