Text.attributes

pango.attr_list.AttrList attributes() @property

Get attributes property.

Returns

A list of Pango attributes to apply to the text of the [gtk.text.Text].

This is mainly useful to change the size or weight of the text.

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.

void attributes(pango.attr_list.AttrList propval) @property

Set attributes property.

Parameters

propvalA list of Pango attributes to apply to the text of the [gtk.text.Text]. This is mainly useful to change the size or weight of the text. 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.