12
12
(using the <a class="link" href="class-pangoattriterator.html#method-pangoattriterator--range" title="pango.AttrIterator.range"><code class="methodname">range</code>()</a>
13
13
method).</p><p>The <a class="link" href="class-pangoattriterator.html" title="pango.AttrIterator"><code class="classname">pango.AttrIterator</code></a>
14
14
object is only valid as long as the associated <a class="link" href="class-pangoattrlist.html" title="pango.AttrList"><code class="classname">pango.AttrList</code></a>
15
is not changed.</p></div><div class="refsect1" lang="en"><a name="id3141868"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-pangoattriterator--copy"></a><h3>pango.AttrIterator.copy</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">copy</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-pangoattriterator.html" title="pango.AttrIterator"><code class="classname">pango.AttrIterator</code></a>
15
is not changed.</p></div><div class="refsect1" lang="en"><a name="id3461589"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-pangoattriterator--copy"></a><h3>pango.AttrIterator.copy</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">copy</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-pangoattriterator.html" title="pango.AttrIterator"><code class="classname">pango.AttrIterator</code></a>
16
16
object</td></tr></tbody></table><p>The <code class="methodname">copy</code>() method returns a new <a class="link" href="class-pangoattriterator.html" title="pango.AttrIterator"><code class="classname">pango.AttrIterator</code></a>
17
17
object that is a copy of this attribute iterator.</p></div><div class="refsect2" lang="en"><a name="method-pangoattriterator--range"></a><h3>pango.AttrIterator.range</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">range</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a 2-tuple containing the start and end index of
18
18
the current attribute in the text.</td></tr></tbody></table><p>The <code class="methodname">range</code>() method returns a 2-tuple