/usr/share/gtk-doc/html/pygtk/class-atkstreamablecontent.html is in python-gtk2-doc 2.24.0-5.1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <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.2"><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
content. </p></div><div class="refsect1" title="Synopsis"><a name="id2961512"></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>):
<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="id2967195"></a><h2>Description</h2><p>An interface whereby an object allows its backing content to be
streamed to clients. Typical implementors would be images or icons, HTML
content, or multimedia display/rendering widgets.</p><p>Negotiation of content type is allowed. Clients may examine the
backing data and transform, convert, or parse the content in order to
present it in an alternate form to end-users.</p><p>The <a class="link" href="class-atkstreamablecontent.html" title="atk.StreamableContent"><code class="classname">atk.StreamableContent</code></a>
interface is particularly useful for saving, printing, or
post-processing entire documents, or for persisting alternate views of a
document. If document content itself is being serialized, stored, or
converted, then use of the <a class="link" href="class-atkstreamablecontent.html" title="atk.StreamableContent"><code class="classname">atk.StreamableContent</code></a>
interface can help address performance issues. Unlike most ATK
interfaces, this interface is not strongly tied to the current
user-agent view of the a particular document, but may in some cases give
access to the underlying model data.</p></div><div class="refsect1" title="Methods"><a name="id2982941"></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
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
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
type.</td></tr></tbody></table><p>Gets the character string of the specified mime type. The first
mime type is at position 0, the second at position 1, and so
on.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-atkstateset.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="atk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-atktable.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">atk.StateSet </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> atk.Table</td></tr></table></div></body></html>
|