Learn R Programming

RGtk2 (version 2.20.31)

pangoAttrListChange: pangoAttrListChange

Description

Insert the given attribute into the PangoAttrList. It will replace any attributes of the same type on that segment and be merged with any adjoining attributes that are identical.

Usage

pangoAttrListChange(object, attr)

Arguments

attr
[PangoAttribute] the attribute to insert. Ownership of this value is assumed by the list.

Details

This function is slower than pangoAttrListInsert for creating a attribute list in order (potentially much slower for large lists). However, pangoAttrListInsert is not suitable for continually changing a set of attributes since it never removes or combines existing attributes.