pango-sharp2.8.0.0Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.Represents a list of attributes that apply to a section of text.The attributes are, in general, allowed to overlap in an arbitrary fashion, however, if the attributes are manipulated only through , the overlap between properties will meet stricter criteria.
Since the is stored as a linear list, it is not suitable for storing attributes for large amounts of text. In general, you should not use a single for more than one paragraph of text.
GLib.OpaqueMethodPango.AttrListCopy list and return an identical, new list.a new MethodSystem.VoidInsert the given attribute into the list.
a It will replace any attributes of the same type on that segment and be merged with any adjoining attributes that are identical.
This function is slower than for creating a attribute list in order (potentially much slower for large lists). However, is not suitable for continually changing a set of attributes since it never removes or combines existing attributes.
MethodSystem.VoidInsert the given attribute into the list.
the attribute to insert.
It will be inserted before all other attributes with a matching start_index.MethodSystem.VoidDecrease the reference count of the given attribute list by one.If the result is zero, free the attribute list and the attributes it contains.MethodSystem.VoidThis function splices attribute list into list.
another
the position at which to insert
the length of the spliced segment.
This operation is equivalent to stretching every attribute applies at position in list by an amount , and then calling with a copy of each attributes in other in sequence (offset in position by ).
This operation proves useful for, for instance, inserting a pre-edit string in the middle of an edit buffer.MethodSystem.VoidInsert the given attribute to the list
the attribute to insert.
It will be inserted after all other attributes with a matching start_index.ConstructorInternal constructor
Pointer to the C object.
This is an internal constructor, and should not be used by user code.ConstructorDefault constructorPropertyPango.AttrIteratorCreate a iterator initialized to the beginning of the list.a new MethodPango.AttrListGiven a callback function, removes any elements of list for which returns and inserts them into a new list.
a a PropertyGLib.GTypeGType Property.a Returns the native value for .MethodPango.AttrListIncreases the reference count of the list.The list.