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" />
2003-02-12 01:58:46 +00:00
<AssemblyInfo >
<AssemblyName > pango-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2006-08-03 16:41:27 +00:00
<AssemblyVersion > 2.10.0.0</AssemblyVersion>
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
<Docs >
2004-07-17 17:24:02 +00:00
<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>
2003-02-12 01:58:46 +00:00
</Docs>
<Base >
<BaseTypeName > GLib.Opaque</BaseTypeName>
</Base>
2006-08-03 16:41:27 +00:00
<Interfaces > </Interfaces>
2003-02-12 01:58:46 +00:00
<Members >
<Member MemberName= "Destroy" >
<MemberSignature Language= "C#" Value= "public void Destroy ();" />
<MemberType > Method</MemberType>
<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>
<Member MemberName= "Next" >
<MemberSignature Language= "C#" Value= "public bool Next ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-07-17 17:24:02 +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 />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "Copy" >
<MemberSignature Language= "C#" Value= "public Pango.AttrIterator Copy ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.AttrIterator</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-07-17 17:24:02 +00:00
<summary > Make a copy of the iterator.</summary>
<returns > a <see cref= "T:Pango.AttrIterator" /> </returns>
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "Get" >
<MemberSignature Language= "C#" Value= "public Pango.Attribute Get (Pango.AttrType type);" />
<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
<summary > Find the current attribute of a particular type at the iterator location.</summary>
<param name= "type" > the type of attribute to find.</param>
<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>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public AttrIterator (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>
<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>
2003-10-28 00:48:23 +00:00
<Member MemberName= "Range" >
<MemberSignature Language= "C#" Value= "public void Range (out int start, out int end);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "start" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "end" Type= "System.Int32&" RefType= "out" />
</Parameters>
<Docs >
2004-07-17 17:24:02 +00:00
<summary > Get the range of the current segment.</summary>
<param name= "start" > location to store the start of the range</param>
<param name= "end" > location to store the end of the range</param>
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
2004-02-26 18:46:28 +00:00
<Member MemberName= "Attrs" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Pango.Attribute[] Attrs { get; };" />
2004-02-26 18:46:28 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Pango.Attribute[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-07-17 17:24:02 +00:00
<summary > Gets a list all attributes a the current position of the iterator.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Pango.Attribute[]" /> </value>
2004-07-17 17:24:02 +00:00
<remarks > a list of all attributes for the current range.</remarks>
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
<Member MemberName= "GetFont" >
<MemberSignature Language= "C#" Value= "public void GetFont (out Pango.FontDescription desc, out Pango.Language language, out Pango.Attribute[] extra_attrs);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<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" />
</Parameters>
<Docs >
2004-07-17 17:24:02 +00:00
<summary > Get the font and other attributes at the current iterator position.</summary>
<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>
<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>