~ubuntu-branches/ubuntu/natty/pygtk/natty-proposed

« back to all changes in this revision

Viewing changes to docs/html/class-pangoattriterator.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-06-22 16:49:42 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090622164942-19zeltp4z0u5iw72
Tags: 2.15.2-0ubuntu1
* New upstream version:
  - Rename gtk.Statusbar.remove() to gtk.Statusbar.remove_message
  - Allow pango.Context creation 
  - Make gtk.gdk.Pixbuf.add_alpha accept integers, retaining backward
    compatibility accepting also chars 
  - Protect window obj from GC in gtk.window_get_toplevels 
  - Plug huge number of memory leaks in Pango wrappers 
  - Add gtk.gdk.WINDOWING constant 
  - Wrap gdk_pixbuf_apply_embedded_orientation 
  - Modernize constructors of seven more types 
  - Don't free a string we don't own 
  - Some docs tweaking 
* debian/control.in:
  - set vcs location
* debian/patches/02_fix_get_application_info_crash.patch:
  - the change is in the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>pango.AttrIterator</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="pango-class-reference.html" title="The pango Class Reference"><link rel="prev" href="class-pangoattribute.html" title="pango.Attribute"><link rel="next" href="class-pangoattrlist.html" title="pango.AttrList"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">pango.AttrIterator</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-pangoattribute.html">Prev</a> </td><th width="60%" align="center">The pango Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-pangoattrlist.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-pangoattriterator"></a><div class="titlepage"></div><div class="refnamediv"><h2>pango.AttrIterator</h2><p>pango.AttrIterator — an object pointing to a location in a <a class="link" href="class-pangoattrlist.html" title="pango.AttrList"><code class="classname">pango.AttrList</code></a>.</p></div><div class="refsect1" lang="en"><a name="id3290623"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">pango.AttrIterator</span></span>:
2
 
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangoattriterator.html#method-pangoattriterator--copy" title="pango.AttrIterator.copy">copy</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangoattriterator.html#method-pangoattriterator--range" title="pango.AttrIterator.range">range</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangoattriterator.html#method-pangoattriterator--next" title="pango.AttrIterator.next">next</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangoattriterator.html#method-pangoattriterator--get" title="pango.AttrIterator.get">get</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>type</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangoattriterator.html#method-pangoattriterator--get-font" title="pango.AttrIterator.get_font">get_font</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangoattriterator.html#method-pangoattriterator--get-attrs" title="pango.AttrIterator.get_attrs">get_attrs</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id2977562"></a><h2>Description</h2><p>The <a class="link" href="class-pangoattriterator.html" title="pango.AttrIterator"><code class="classname">pango.AttrIterator</code></a> 
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>pango.AttrIterator</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="pango-class-reference.html" title="The pango Class Reference"><link rel="prev" href="class-pangoattribute.html" title="pango.Attribute"><link rel="next" href="class-pangoattrlist.html" title="pango.AttrList"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">pango.AttrIterator</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-pangoattribute.html">Prev</a> </td><th width="60%" align="center">The pango Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-pangoattrlist.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-pangoattriterator"></a><div class="titlepage"></div><div class="refnamediv"><h2>pango.AttrIterator</h2><p>pango.AttrIterator — an object pointing to a location in a <a class="link" href="class-pangoattrlist.html" title="pango.AttrList"><code class="classname">pango.AttrList</code></a>.</p></div><div class="refsect1" lang="en"><a name="id3259684"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">pango.AttrIterator</span></span>:
 
2
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangoattriterator.html#method-pangoattriterator--copy" title="pango.AttrIterator.copy">copy</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangoattriterator.html#method-pangoattriterator--range" title="pango.AttrIterator.range">range</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangoattriterator.html#method-pangoattriterator--next" title="pango.AttrIterator.next">next</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangoattriterator.html#method-pangoattriterator--get" title="pango.AttrIterator.get">get</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>type</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangoattriterator.html#method-pangoattriterator--get-font" title="pango.AttrIterator.get_font">get_font</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangoattriterator.html#method-pangoattriterator--get-attrs" title="pango.AttrIterator.get_attrs">get_attrs</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3110783"></a><h2>Description</h2><p>The <a class="link" href="class-pangoattriterator.html" title="pango.AttrIterator"><code class="classname">pango.AttrIterator</code></a> 
3
3
object contains a pointer into a <a class="link" href="class-pangoattrlist.html" title="pango.AttrList"><code class="classname">pango.AttrList</code></a>.
4
4
A <a class="link" href="class-pangoattriterator.html" title="pango.AttrIterator"><code class="classname">pango.AttrIterator</code></a> 
5
5
object is created using the <a class="link" href="class-pangoattrlist.html#method-pangoattrlist--get-iterator" title="pango.AttrList.get_iterator"><code class="methodname">pango.AttrList.get_iterator</code>()</a> 
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