pangoLayoutSetMarkupWithAccel {RGtk2} | R Documentation |
Sets the layout text and attribute list from marked-up text (see markup format). Replaces the current text and attribute list.
pangoLayoutSetMarkupWithAccel(object, markup, accel.marker)
|
[PangoLayout ] a PangoLayout |
|
[char] some marked-up text (see markup format) |
|
[numeric] marker for accelerators in the text |
If accel.marker
is nonzero, the given character will mark the
character following it as an accelerator. For example, the 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:
|
[numeric] return location for any located accelerators |
Derived by RGtkGen from GTK+ documentation