Entry.attributes

Set attributes property.

  1. pango.attr_list.AttrList attributes [@property getter]
  2. pango.attr_list.AttrList attributes [@property setter]
    class Entry
    @property
    void
    attributes

Parameters

propval pango.attr_list.AttrList

A list of Pango attributes to apply to the text of the entry.

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.