The pango.attribute.Attribute's start_index and end_index must refer to the gtk.entry_buffer.EntryBuffer text, i.e. without the preedit string.
EntryRow.attributes
pango.attr_list.AttrList attributes() @propertyGet attributes property.
Returns
A list of Pango attributes to apply to the text of the embedded entry.
void attributes(pango.attr_list.AttrList propval) @propertySet attributes property.
Parameters
propval | A list of Pango attributes to apply to the text of the embedded entry. The pango.attribute.Attribute's start_index and end_index must refer to the gtk.entry_buffer.EntryBuffer text, i.e. without the preedit string. |