pangoLayoutSetText {RGtk2} | R Documentation |
Sets the text of the layout.
pangoLayoutSetText(object, text, length = -1)
|
[PangoLayout ] a PangoLayout |
|
[char] a valid UTF-8 string |
|
[integer] maximum length of text , in bytes. -1 indicates that
the string is and the length should be
calculated. The text will also be truncated on
encountering a nul-termination even when length is
positive. |
Note that if you have used
pangoLayoutSetMarkup
or pangoLayoutSetMarkupWithAccel
on
layout
before, you may want to call pangoLayoutSetAttributes
to clear
the attributes set on the layout from the markup as this function does not
clear attributes.
Derived by RGtkGen from GTK+ documentation