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