pangoParseMarkup(markup.text, accel.marker, .errwarn = TRUE)
markup.text
accel.marker
FALSE
if error
is set, otherwise TRUE
attr.list
PangoAttrList
] return location for a PangoAttrList
, or NULL
text
NULL
accel.char
NULL
error
GError
] return location for errors, or NULL
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.
If any error happens, none of the output arguments are touched except
for error
.