~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: 2010-01-07 11:08:47 UTC
  • mfrom: (1.2.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100107110847-f5av7e1ttudh7ra6
Tags: 2.17.0-0ubuntu1
New upstream 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>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="id2815288"></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="id2782496"></a><h2>Description</h2><p>An interface whereby an object allows its backing content to be
 
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.75.1"><link rel="home" 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" title="atk.StreamableContent"><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" title="Synopsis"><a name="id3097211"></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" title="Description"><a name="id3133285"></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="id2835276"></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
 
          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
 
15
    access to the underlying model data.</p></div><div class="refsect1" title="Methods"><a name="id3117187"></a><h2>Methods</h2><div class="refsect2" title="atk.StreamableContent.get_n_mime_types"><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
          supported by the object.</td></tr></tbody></table><p>Gets the number of mime types supported by this object.</p></div><div class="refsect2" title="atk.StreamableContent.get_mime_type"><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
19
19
      mime type is at position 0, the second at position 1, and so