/usr/share/gtk-doc/html/caja-python/class-caja-python-file-info.html is in python-caja-common 1.20.0-1.
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 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Caja.FileInfo</title><link rel="stylesheet" type="text/css" href="style.css"><meta name="generator" content="DocBook XSL Stylesheets V1.79.1"><link rel="home" href="index.html" title="caja-python Reference Manual"><link rel="up" href="caja-python-class-reference.html" title="Available Classes"><link rel="prev" href="class-caja-python-column.html" title="Caja.Column"><link rel="next" href="class-caja-python-menu.html" title="Caja.Menu"></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">Caja.FileInfo</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-caja-python-column.html">Prev</a> </td><th width="60%" align="center">Available Classes</th><td width="20%" align="right"> <a accesskey="n" href="class-caja-python-menu.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="class-caja-python-file-info"></a><div class="titlepage"></div><div class="refnamediv"><h2>Caja.FileInfo</h2><p>Caja.FileInfo — Caja.FileInfo Reference</p></div><div class="refsect1"><a name="idm157"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">Caja.FileInfo</span></span>(<span class="ooclass"><span class="classname">gobject.GInterface</span></span>):
<code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--is-gone" title="Caja.FileInfo.is_gone">is_gone</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--get-file-type" title="Caja.FileInfo.get_file_type">get_file_type</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--get-location" title="Caja.FileInfo.get_location">get_location</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--get-name" title="Caja.FileInfo.get_name">get_name</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--get-uri" title="Caja.FileInfo.get_uri">get_uri</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--get-activation-uri" title="Caja.FileInfo.get_activation_uri">get_activation_uri</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--get-parent-info" title="Caja.FileInfo.get_parent_info">get_parent_info</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--get-parent-location" title="Caja.FileInfo.get_parent_location">get_parent_location</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--get-parent-uri" title="Caja.FileInfo.get_parent_uri">get_parent_uri</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--get-mount" title="Caja.FileInfo.get_mount">get_mount</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--get-uri-scheme" title="Caja.FileInfo.get_uri_scheme">get_uri_scheme</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--get-mime-type" title="Caja.FileInfo.get_mime_type">get_mime_type</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--is-mime-type" title="Caja.FileInfo.is_mime_type">is_mime_type</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>mime_type</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--is-directory" title="Caja.FileInfo.is_directory">is_directory</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--can-write" title="Caja.FileInfo.can_write">can_write</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--add-emblem" title="Caja.FileInfo.add_emblem">add_emblem</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>emblem_name</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--get-string-attribute" title="Caja.FileInfo.get_string_attribute">get_string_attribute</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>attribute_name</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--add-string-attribute" title="Caja.FileInfo.add_string_attribute">add_string_attribute</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>attribute_name</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>value</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-caja-python-file-info.html#method-caja-python-file-info--invalidate-extension-info" title="Caja.FileInfo.invalidate_extension_info">invalidate_extension_info</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1"><a name="idm247"></a><h2>Ancestry</h2><pre class="synopsis">+-- gobject.GInterface
+-- <a class="link" href="class-caja-python-file-info.html" title="Caja.FileInfo">Caja.FileInfo</a>
</pre></div><div class="refsect1"><a name="description-file-info"></a><h2>Description</h2><p>
<a class="link" href="class-caja-python-file-info.html" title="Caja.FileInfo"><code class="classname">Caja.FileInfo</code></a> objects are passed
to extensions by the <a class="link" href="class-caja-python-info-provider.html" title="Caja.InfoProvider"><code class="classname">Caja.InfoProvider</code></a>.
</p></div><div class="refsect1"><a name="idm259"></a><h2>Public Methods</h2><div class="refsect2"><a name="method-caja-python-file-info--is-gone"></a><h3>Caja.FileInfo.is_gone</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">is_gone</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>whether the file still exists</td></tr></tbody></table></div><div class="refsect2"><a name="method-caja-python-file-info--get-file-type"></a><h3>Caja.FileInfo.get_file_type</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_file_type</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>the <code class="classname">gio.FileType</code> associated with the file</td></tr></tbody></table></div><div class="refsect2"><a name="method-caja-python-file-info--get-location"></a><h3>Caja.FileInfo.get_location</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_location</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>the <code class="classname">gio.File</code> associated with the file</td></tr></tbody></table></div><div class="refsect2"><a name="method-caja-python-file-info--get-name"></a><h3>Caja.FileInfo.get_name</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_name</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>the basename of the file</td></tr></tbody></table></div><div class="refsect2"><a name="method-caja-python-file-info--get-uri"></a><h3>Caja.FileInfo.get_uri</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_uri</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>the uri of the file</td></tr></tbody></table></div><div class="refsect2"><a name="method-caja-python-file-info--get-activation-uri"></a><h3>Caja.FileInfo.get_activation_uri</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_activation_uri</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>the activation uri of the file</td></tr></tbody></table></div><div class="refsect2"><a name="method-caja-python-file-info--get-parent-info"></a><h3>Caja.FileInfo.get_parent_info</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_parent_info</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>the <a class="link" href="class-caja-python-file-info.html" title="Caja.FileInfo"><code class="classname">Caja.FileInfo</code></a> object associated with the file's parent</td></tr></tbody></table></div><div class="refsect2"><a name="method-caja-python-file-info--get-parent-location"></a><h3>Caja.FileInfo.get_parent_location</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_parent_location</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>the <code class="classname">gio.File</code> associated with the file's parent location</td></tr></tbody></table></div><div class="refsect2"><a name="method-caja-python-file-info--get-parent-uri"></a><h3>Caja.FileInfo.get_parent_uri</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_parent_uri</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>the uri of the file's parent</td></tr></tbody></table></div><div class="refsect2"><a name="method-caja-python-file-info--get-mount"></a><h3>Caja.FileInfo.get_mount</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_mount</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>the <code class="classname">gio.GMount</code> associated with the file, if it exists</td></tr></tbody></table></div><div class="refsect2"><a name="method-caja-python-file-info--get-uri-scheme"></a><h3>Caja.FileInfo.get_uri_scheme</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_uri_scheme</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>the uri scheme of the file</td></tr></tbody></table></div><div class="refsect2"><a name="method-caja-python-file-info--get-mime-type"></a><h3>Caja.FileInfo.get_mime_type</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_mime_type</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>the mimetype of the file</td></tr></tbody></table></div><div class="refsect2"><a name="method-caja-python-file-info--is-mime-type"></a><h3>Caja.FileInfo.is_mime_type</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">is_mime_type</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>mimetype</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>mimetype</code></strong> :</span></p></td><td>a mimetype string (i.e. "text/plain")</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>whether the file's mimetype string matches the provided mimetype string</td></tr></tbody></table></div><div class="refsect2"><a name="method-caja-python-file-info--is-directory"></a><h3>Caja.FileInfo.is_directory</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">is_directory</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>whether the item is a directory</td></tr></tbody></table></div><div class="refsect2"><a name="method-caja-python-file-info--can-write"></a><h3>Caja.FileInfo.can_write</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">can_write</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>whether the file is writeable</td></tr></tbody></table></div><div class="refsect2"><a name="method-caja-python-file-info--add-emblem"></a><h3>Caja.FileInfo.add_emblem</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">add_emblem</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>emblem_name</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>emblem_name</code></strong> :</span></p></td><td>the name of an emblem to add</td></tr></tbody></table></div><div class="refsect2"><a name="method-caja-python-file-info--get-string-attribute"></a><h3>Caja.FileInfo.get_string_attribute</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_string_attribute</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>attribute_name</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>attribute_name</code></strong> :</span></p></td><td>a string attribute name</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the value associated with the file attribute</td></tr></tbody></table></div><div class="refsect2"><a name="method-caja-python-file-info--add-string-attribute"></a><h3>Caja.FileInfo.add_string_attribute</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">add_string_attribute</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>attribute_name</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>value</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>attribute_name</code></strong> :</span></p></td><td>a string attribute name</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>value</code></strong> :</span></p></td><td>an attribute value</td></tr></tbody></table></div><div class="refsect2"><a name="method-caja-python-file-info--invalidate-extension-info"></a><h3>Caja.FileInfo.invalidate_extension_info</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">invalidate_extension_info</span>()</code></pre><p>Invalidates the information Caja has about this file, which causes it to request new information
from its <a class="link" href="class-caja-python-info-provider.html" title="Caja.InfoProvider"><code class="classname">Caja.InfoProvider</code></a> providers.</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-caja-python-column.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="caja-python-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-caja-python-menu.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Caja.Column </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Caja.Menu</td></tr></table></div></body></html>
|