2003-02-12 01:58:46 +00:00
<Type Name= "AttrList" FullName= "Pango.AttrList" >
2003-02-15 03:08:25 +00:00
<TypeSignature Language= "C#" Value= "public class AttrList : GLib.Opaque, IWrapper" Maintainer= "auto" />
2003-02-12 01:58:46 +00:00
<AssemblyInfo >
<AssemblyName > pango-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-02-12 01:58:46 +00:00
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
2003-10-28 00:48:23 +00:00
<AssemblyCulture > neutral</AssemblyCulture>
2003-02-12 01:58:46 +00:00
<Attributes />
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the <link location= "node:gtk-sharp/programming/threads" > Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
2003-02-12 01:58:46 +00:00
<Docs >
2004-07-17 17:24:02 +00:00
<summary > Represents a list of attributes that apply to a section of text.</summary>
<remarks > The attributes are, in general, allowed to overlap in an arbitrary fashion, however, if the attributes are manipulated only through <see cref= "M:Pango.AttrList.Change()" /> , the overlap between properties will meet stricter criteria.
<para > Since the <see cref= "T:Pango.AttrList" /> 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 <see cref= "T:Pango.AttrList" /> for more than one paragraph of text.
</para> </remarks>
2003-02-12 01:58:46 +00:00
</Docs>
<Base >
<BaseTypeName > GLib.Opaque</BaseTypeName>
</Base>
<Interfaces >
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
</Interfaces>
<Attributes />
<Members >
<Member MemberName= "Copy" >
<MemberSignature Language= "C#" Value= "public Pango.AttrList Copy ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.AttrList</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-07-17 17:24:02 +00:00
<summary > Copy list and return an identical, new list.</summary>
<returns > a new <see cref= "T:Pango.AttrList" /> </returns>
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "Change" >
<MemberSignature Language= "C#" Value= "public void Change (Pango.Attribute attr);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "attr" Type= "Pango.Attribute" />
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2004-07-17 17:24:02 +00:00
<summary > Insert the given attribute into the list.</summary>
<param name= "attr" > a <see cref= "T:Pango.Attribute" /> </param>
<remarks > It will replace any attributes of the same type on that segment and be merged with any adjoining attributes that are identical.
<block subset= "none" type= "note" >
<para > This function is slower than <see cref= "M:Pango.AttrList.Insert()" /> for creating a attribute list in order (potentially much slower for large lists). However, <see cref= "M:Pango.AttrList.Insert()" /> is not suitable for continually changing a set of attributes since it never removes or combines existing attributes.
</para>
</block> </remarks>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "InsertBefore" >
<MemberSignature Language= "C#" Value= "public void InsertBefore (Pango.Attribute attr);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "attr" Type= "Pango.Attribute" />
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2004-07-17 17:24:02 +00:00
<summary > Insert the given attribute into the list.</summary>
<param name= "attr" > the attribute to insert.</param>
<remarks > It will be inserted before all other attributes with a matching start_index.</remarks>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "Unref" >
<MemberSignature Language= "C#" Value= "public void Unref ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-07-17 17:24:02 +00:00
<summary > Decrease the reference count of the given attribute list by one.</summary>
<remarks > If the result is zero, free the attribute list and the attributes it contains.</remarks>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "Splice" >
<MemberSignature Language= "C#" Value= "public void Splice (Pango.AttrList other, int pos, int len);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "other" Type= "Pango.AttrList" />
<Parameter Name= "pos" Type= "System.Int32" />
<Parameter Name= "len" Type= "System.Int32" />
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2004-07-17 17:24:02 +00:00
<summary > This function splices attribute list <paramref name= "other" /> into list.</summary>
<param name= "other" > another <see cref= "T:Pango.AttrList" /> </param>
<param name= "pos" > the position at which to insert <paramref name= "other" /> </param>
<param name= "len" > the length of the spliced segment.</param>
<remarks > This operation is equivalent to stretching every attribute applies at position <paramref name= "pos" /> in list by an amount <paramref name= "len" /> , and then calling <see cref= "M:Pango.AttrList.Change()" /> with a copy of each attributes in other in sequence (offset in position by <paramref name= "pos" /> ).
This operation proves useful for, for instance, inserting a pre-edit string in the middle of an edit buffer.</remarks>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "Ref" >
<MemberSignature Language= "C#" Value= "public void Ref ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-07-17 17:24:02 +00:00
<summary > Increase the reference count of the given attribute list by one.</summary>
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "Insert" >
<MemberSignature Language= "C#" Value= "public void Insert (Pango.Attribute attr);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "attr" Type= "Pango.Attribute" />
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2004-07-17 17:24:02 +00:00
<summary > Insert the given attribute to the list</summary>
<param name= "attr" > the attribute to insert.</param>
<remarks > It will be inserted after all other attributes with a matching start_index.</remarks>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public AttrList (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Internal constructor</summary>
<param name= "raw" > Pointer to the C object.</param>
<returns > An instance of AttrList, wrapping the C object.</returns>
<remarks >
<para > This is an internal constructor, and should not be used by user code.</para>
</remarks>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public AttrList ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-07-17 17:24:02 +00:00
<summary > Default constructor</summary>
<returns > a new <see cref= "T:Pango.AttrList" /> </returns>
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "Iterator" >
<MemberSignature Language= "C#" Value= "public Pango.AttrIterator Iterator { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Pango.AttrIterator</ReturnType>
</ReturnValue>
<Docs >
2004-07-17 17:24:02 +00:00
<summary > Create a iterator initialized to the beginning of the list.</summary>
<returns > a new <see cref= "T:Pango.AttrIterator" /> </returns>
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
2003-07-17 06:38:40 +00:00
<Member MemberName= "Filter" >
<MemberSignature Language= "C#" Value= "public Pango.AttrList Filter (Pango.AttrFilterFunc func);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.AttrList</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "func" Type= "Pango.AttrFilterFunc" />
</Parameters>
2003-07-17 06:38:40 +00:00
<Docs >
2004-07-17 17:24:02 +00:00
<summary > Given a callback function, removes any elements of list for which <paramref name= "func" /> returns <see langword= "true" /> and inserts them into a new list.</summary>
2003-07-17 06:38:40 +00:00
<param name= "func" > a <see cref= "T:Pango.AttrFilterFunc" /> </param>
<returns > a <see cref= "T:Pango.AttrList" /> </returns>
2004-07-17 17:24:02 +00:00
<remarks />
2003-07-17 06:38:40 +00:00
</Docs>
</Member>
2003-12-24 01:35:30 +00:00
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-21 20:14:42 +00:00
<summary > GType Property.</summary>
2003-12-24 01:35:30 +00:00
<returns > a <see cref= "T:GLib.GType" /> </returns>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Pango.AttrList" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2003-02-12 01:58:46 +00:00
</Members>
2003-09-17 21:56:59 +00:00
</Type>