2003-02-12 01:58:46 +00:00
<Type Name= "AttrIterator" FullName= "Pango.AttrIterator" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public class AttrIterator : GLib.Opaque" />
2011-11-09 16:01:51 +00:00
<TypeSignature Language= "ILAsm" Value= ".class public auto ansi beforefieldinit AttrIterator extends GLib.Opaque" />
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
</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
<Base >
<BaseTypeName > GLib.Opaque</BaseTypeName>
</Base>
2007-01-15 21:05:55 +00:00
<Interfaces >
</Interfaces>
2011-11-09 16:01:51 +00:00
<Docs >
<summary > Used to represent an iterator through a <see cref= "T:Pango.List" /> .</summary>
<remarks > A new iterator is created with <see cref= "P:Pango.AttrList.Iterator" /> . Once the iterator is created, it can be advanced through the style changes in the text using <see cref= "M:Pango.AttrIterator.Next()" /> . At each style change, the range of the current style segment and the attributes currently in effect can be queried.</remarks>
</Docs>
2003-02-12 01:58:46 +00:00
<Members >
2011-11-09 16:01:51 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public AttrIterator (IntPtr raw);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig specialname rtspecialname instance void .ctor(native int raw) cil managed" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
<Docs >
<param name= "raw" > Pointer to the C object.</param>
<summary > Internal constructor</summary>
<remarks >
<para > This is an internal constructor, and should not be used by user code.</para>
</remarks>
</Docs>
</Member>
<Member MemberName= "Attrs" >
<MemberSignature Language= "C#" Value= "public Pango.Attribute[] Attrs { get; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance class Pango.Attribute[] Attrs" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Pango.Attribute[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Gets a list all attributes a the current position of the iterator.</summary>
<value > a <see cref= "T:Pango.Attribute[]" /> </value>
<remarks > a list of all attributes for the current range.</remarks>
</Docs>
</Member>
<Member MemberName= "Copy" >
<MemberSignature Language= "C#" Value= "public Pango.AttrIterator Copy ();" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance class Pango.AttrIterator Copy() cil managed" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.AttrIterator</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Make a copy of the iterator.</summary>
<returns > a <see cref= "T:Pango.AttrIterator" /> </returns>
<remarks />
</Docs>
</Member>
2003-02-12 01:58:46 +00:00
<Member MemberName= "Destroy" >
<MemberSignature Language= "C#" Value= "public void Destroy ();" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void Destroy() cil managed" />
2003-02-12 01:58:46 +00:00
<MemberType > Method</MemberType>
2011-11-09 16:01:51 +00:00
<Attributes >
<Attribute >
<AttributeName > System.Obsolete("Pango.AttrIterator is now freed automatically")</AttributeName>
</Attribute>
</Attributes>
2003-02-12 01:58:46 +00:00
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-07-17 17:24:02 +00:00
<summary > Destroy a <see cref= "T:Pango.AttrIterator" /> and free all associated memory.</summary>
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Finalize" >
<MemberSignature Language= "C#" Value= "~AttrIterator ();" />
<MemberSignature Language= "ILAsm" Value= ".method familyhidebysig virtual instance void Finalize() cil managed" />
2003-02-12 01:58:46 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Void</ReturnType>
2003-02-12 01:58:46 +00:00
</ReturnValue>
<Parameters />
<Docs >
2011-11-09 16:01:51 +00:00
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 3.0" />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Free" >
<MemberSignature Language= "C#" Value= "protected override void Free (IntPtr raw);" />
<MemberSignature Language= "ILAsm" Value= ".method familyhidebysig virtual instance void Free(native int raw) cil managed" />
2003-02-12 01:58:46 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Void</ReturnType>
2003-02-12 01:58:46 +00:00
</ReturnValue>
2011-11-09 16:01:51 +00:00
<Parameters >
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "raw" > To be added.</param>
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 3.0" />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "Get" >
<MemberSignature Language= "C#" Value= "public Pango.Attribute Get (Pango.AttrType type);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance class Pango.Attribute Get(valuetype Pango.AttrType type) cil managed" />
2003-02-12 01:58:46 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Attribute</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "type" Type= "Pango.AttrType" />
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2004-07-17 17:24:02 +00:00
<param name= "type" > the type of attribute to find.</param>
2011-11-09 16:01:51 +00:00
<summary > Find the current attribute of a particular type at the iterator location.</summary>
2004-07-17 17:24:02 +00:00
<returns > the current attribute of the given type, or <see langword= "null" /> if no attribute of that type applies to the current location.</returns>
<remarks > When multiple attributes of the same type overlap, the attribute whose range starts closest to the current location is used.</remarks>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "GetFont" >
<MemberSignature Language= "C#" Value= "public void GetFont (out Pango.FontDescription desc, out Pango.Language language, out Pango.Attribute[] extra_attrs);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void GetFont(class Pango.FontDescription desc, class Pango.Language language, class Pango.Attribute[] extra_attrs) cil managed" />
2003-10-28 00:48:23 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2011-11-09 16:01:51 +00:00
<Parameter Name= "desc" Type= "Pango.FontDescription&" RefType= "out" />
<Parameter Name= "language" Type= "Pango.Language&" RefType= "out" />
<Parameter Name= "extra_attrs" Type= "Pango.Attribute[]&" RefType= "out" />
2003-10-28 00:48:23 +00:00
</Parameters>
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "desc" > a <see cref= "T:Pango.FontDescription" /> to fill in with the current values. The family name in this structure will be set using <see cref= "M:Pango.FontDescription.SetFamilyStatic()" /> using values from an attribute in the <see cref= "T:Pango.AttrList" /> associated with the iterator, so if you plan to keep it around, you must call: <see cref= "T:Pango.FontDescription.SetFamily (desc, pango_font_description_get_family (desc))" /> .</param>
<param name= "language" > if non-<see langword= "null" /> , location to store language tag for item, or <see langword= "null" /> if non is found.</param>
<param name= "extra_attrs" > if non-<see langword= "null" /> , location in which to store a list of non-font attributes at the the current position; only the highest priority value of each attribute will be added to this list.</param>
<summary > Get the font and other attributes at the current iterator position.</summary>
2004-07-17 17:24:02 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Next" >
<MemberSignature Language= "C#" Value= "public bool Next ();" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance bool Next() cil managed" />
<MemberType > Method</MemberType>
2004-02-26 18:46:28 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Boolean</ReturnType>
2004-02-26 18:46:28 +00:00
</ReturnValue>
<Parameters />
<Docs >
2011-11-09 16:01:51 +00:00
<summary > Advance the iterator until the next change of style.</summary>
<returns >
<see langword= "false" /> if the iterator is at the end of the list, otherwise <see langword= "true" /> </returns>
<remarks />
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Range" >
<MemberSignature Language= "C#" Value= "public void Range (out int start, out int end);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void Range(int32 start, int32 end) cil managed" />
2004-02-26 18:46:28 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2011-11-09 16:01:51 +00:00
<Parameter Name= "start" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "end" Type= "System.Int32&" RefType= "out" />
2004-02-26 18:46:28 +00:00
</Parameters>
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "start" > location to store the start of the range</param>
<param name= "end" > location to store the end of the range</param>
<summary > Get the range of the current segment.</summary>
2004-07-17 17:24:02 +00:00
<remarks />
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
2003-02-12 01:58:46 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>