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

« back to all changes in this revision

Viewing changes to docs/html/class-atkstreamablecontent.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
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>atk.StreamableContent</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="atk-class-reference.html" title="The atk Class Reference"><link rel="prev" href="class-atkstateset.html" title="atk.StateSet"><link rel="next" href="class-atktable.html" title="atk.Table"></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">atk.StreamableContent</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-atkstateset.html">Prev</a> </td><th width="60%" align="center">The atk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-atktable.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-atkstreamablecontent"></a><div class="titlepage"></div><div class="refnamediv"><h2>atk.StreamableContent</h2><p>atk.StreamableContent — the ATK interface which provides access to streamable
2
 
      content.  </p></div><div class="refsect1" lang="en"><a name="id2764782"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">atk.StreamableContent</span></span>(<span class="ooclass"><span class="classname">gobject.GInterface</span></span>):
3
 
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkstreamablecontent.html#method-atkstreamablecontent--get-n-mime-types" title="atk.StreamableContent.get_n_mime_types">get_n_mime_types</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkstreamablecontent.html#method-atkstreamablecontent--get-mime-type" title="atk.StreamableContent.get_mime_type">get_mime_type</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>i</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id2820007"></a><h2>Description</h2><p>An interface whereby an object allows its backing content to be
 
2
      content.  </p></div><div class="refsect1" lang="en"><a name="id2965486"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">atk.StreamableContent</span></span>(<span class="ooclass"><span class="classname">gobject.GInterface</span></span>):
 
3
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkstreamablecontent.html#method-atkstreamablecontent--get-n-mime-types" title="atk.StreamableContent.get_n_mime_types">get_n_mime_types</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkstreamablecontent.html#method-atkstreamablecontent--get-mime-type" title="atk.StreamableContent.get_mime_type">get_mime_type</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>i</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3020711"></a><h2>Description</h2><p>An interface whereby an object allows its backing content to be
4
4
    streamed to clients. Typical implementors would be images or icons, HTML
5
5
    content, or multimedia display/rendering widgets.</p><p>Negotiation of content type is allowed. Clients may examine the
6
6
    backing data and transform, convert, or parse the content in order to
12
12
    interface can help address performance issues. Unlike most ATK
13
13
    interfaces, this interface is not strongly tied to the current
14
14
    user-agent view of the a particular document, but may in some cases give
15
 
    access to the underlying model data.</p></div><div class="refsect1" lang="en"><a name="id2807547"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-atkstreamablecontent--get-n-mime-types"></a><h3>atk.StreamableContent.get_n_mime_types</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_n_mime_types</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>an integer which is the number of mime types
 
15
    access to the underlying model data.</p></div><div class="refsect1" lang="en"><a name="id3008251"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-atkstreamablecontent--get-n-mime-types"></a><h3>atk.StreamableContent.get_n_mime_types</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_n_mime_types</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>an integer which is the number of mime types
16
16
          supported by the object.</td></tr></tbody></table><p>Gets the number of mime types supported by this object.</p></div><div class="refsect2" lang="en"><a name="method-atkstreamablecontent--get-mime-type"></a><h3>atk.StreamableContent.get_mime_type</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_mime_type</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>i</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>i</code></strong> :</span></p></td><td>an index representing the position of the mime
17
17
          type starting from 0</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>: a string* representing the specified mime
18
18
          type.</td></tr></tbody></table><p>Gets the character string of the specified mime type. The first