pangoParseMarkup {RGtk2} | R Documentation |
Parses marked-up text (see markup format) to create a plain-text string and an attribute list.
pangoParseMarkup(markup.text, accel.marker, .errwarn = TRUE)
|
[char] markup to parse (see markup format) |
|
[numeric] character that precedes an accelerator, or 0 for none |
.errwarn |
Whether to issue a warning on error or fail silently |
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.
A list containing the following elements:
retval |
[logical] FALSE if error is set, otherwise TRUE |
|
[PangoAttrList ] return location for a PangoAttrList , or NULL |
|
[char] return location for text with tags stripped, or NULL |
|
[numeric] return location for accelerator char, or NULL |
|
[GError ] return location for errors, or NULL |
Derived by RGtkGen from GTK+ documentation