This file is indexed.

/usr/share/gtk-doc/html/pygnomevfs/class-gnomevfs-drive.html is in python-gnome2-doc 2.28.1+dfsg-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
21
22
23
24
25
26
27
28
29
30
31
32
33
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>gnomevfs.Drive</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.1"><link rel="home" href="index.html" title="Python gnomevfs Reference Manual"><link rel="up" href="gnomevfs-class-reference.html" title="The gnomevfs class reference"><link rel="prev" href="class-gnomevfs-directoryhandle.html" title="gnomevfs.DirectoryHandle"><link rel="next" href="class-gnomevfs-fileinfo.html" title="gnomevfs.FileInfo"></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">gnomevfs.Drive</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gnomevfs-directoryhandle.html">Prev</a> </td><th width="60%" align="center">The gnomevfs class reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gnomevfs-fileinfo.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gnomevfs.Drive"><a name="class-gnomevfs-drive"></a><div class="titlepage"></div><div class="refnamediv"><h2>gnomevfs.Drive</h2><p>gnomevfs.Drive — Object representing a device which can mount a volume</p></div><div class="refsect1" title="Synopsis"><a name="id443717"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gnomevfs.Drive</span></span>(<span class="ooclass"><span class="classname">gobject.GObject</span></span>):
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gnomevfs-drive.html#method-gnomevfs-drive--get_id" title="gnomevfs.Drive.get_id">get_id</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gnomevfs-drive.html#method-gnomevfs-drive--get_device_type" title="gnomevfs.Drive.get_device_type">get_device_type</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gnomevfs-drive.html#method-gnomevfs-drive--get_mounted_volumes" title="gnomevfs.Drive.get_mounted_volumes">get_mounted_volumes</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gnomevfs-drive.html#method-gnomevfs-drive--get_device_path" title="gnomevfs.Drive.get_device_path">get_device_path</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gnomevfs-drive.html#method-gnomevfs-drive--get_activation_uri" title="gnomevfs.Drive.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-gnomevfs-drive.html#method-gnomevfs-drive--get_display_name" title="gnomevfs.Drive.get_display_name">get_display_name</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gnomevfs-drive.html#method-gnomevfs-drive--get_icon" title="gnomevfs.Drive.get_icon">get_icon</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gnomevfs-drive.html#method-gnomevfs-drive--get_hal_udi" title="gnomevfs.Drive.get_hal_udi">get_hal_udi</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gnomevfs-drive.html#method-gnomevfs-drive--is_user_visible" title="gnomevfs.Drive.is_user_visible">is_user_visible</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gnomevfs-drive.html#method-gnomevfs-drive--is_connected" title="gnomevfs.Drive.is_connected">is_connected</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gnomevfs-drive.html#method-gnomevfs-drive--is_mounted" title="gnomevfs.Drive.is_mounted">is_mounted</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gnomevfs-drive.html#method-gnomevfs-drive--mount" title="gnomevfs.Drive.mount">mount</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>callback</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>user_data</code></strong></span><span class="initializer">=None</span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gnomevfs-drive.html#method-gnomevfs-drive--unmount" title="gnomevfs.Drive.unmount">unmount</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>callback</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>user_data</code></strong></span><span class="initializer">=None</span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gnomevfs-drive.html#method-gnomevfs-drive--eject" title="gnomevfs.Drive.eject">eject</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>callback</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>user_data</code></strong></span><span class="initializer">=None</span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id404734"></a><h2>Ancestry</h2><pre class="synopsis">
+-- gobject.GObject
  +-- <a class="link" href="class-gnomevfs-drive.html" title="gnomevfs.Drive">gnomevfs.Drive</a>
    </pre></div><div class="refsect1" title="Signal Prototypes"><a name="id475436"></a><h2>Signal Prototypes</h2><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term">"volume-mounted"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>drive</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>volume</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"volume-pre-umount"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>drive</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>volume</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"volume-unmounted"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>drive</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>volume</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr></tbody></table></div><div class="refsect1" title="Methods"><a name="id475667"></a><h2>Methods</h2><div class="refsect2" title="gnomevfs.Drive.get_id"><a name="method-gnomevfs-drive--get_id"></a><h3>gnomevfs.Drive.get_id</h3><pre class="programlisting">
        <code class="methodsynopsis">    def <span class="methodname">get_id</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 identifier for this drive.</td></tr></tbody></table></div><div class="refsect2" title="gnomevfs.Drive.get_device_type"><a name="method-gnomevfs-drive--get_device_type"></a><h3>gnomevfs.Drive.get_device_type</h3><pre class="programlisting">
        <code class="methodsynopsis">    def <span class="methodname">get_device_type</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>The device type.</td></tr></tbody></table></div><div class="refsect2" title="gnomevfs.Drive.get_mounted_volumes"><a name="method-gnomevfs-drive--get_mounted_volumes"></a><h3>gnomevfs.Drive.get_mounted_volumes</h3><pre class="programlisting">
        <code class="methodsynopsis">    def <span class="methodname">get_mounted_volumes</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>A list of <a class="link" href="class-gnomevfs-volume.html" title="gnomevfs.Volume">gnomevfs.Volume</a> objects.</td></tr></tbody></table></div><div class="refsect2" title="gnomevfs.Drive.get_device_path"><a name="method-gnomevfs-drive--get_device_path"></a><h3>gnomevfs.Drive.get_device_path</h3><pre class="programlisting">
        <code class="methodsynopsis">    def <span class="methodname">get_device_path</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>The path of this device.</td></tr></tbody></table></div><div class="refsect2" title="gnomevfs.Drive.get_activation_uri"><a name="method-gnomevfs-drive--get_activation_uri"></a><h3>gnomevfs.Drive.get_activation_uri</h3><pre class="programlisting">
        <code class="methodsynopsis">    def <span class="methodname">get_activation_uri</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></td></tr></tbody></table></div><div class="refsect2" title="gnomevfs.Drive.get_display_name"><a name="method-gnomevfs-drive--get_display_name"></a><h3>gnomevfs.Drive.get_display_name</h3><pre class="programlisting">
        <code class="methodsynopsis">    def <span class="methodname">get_display_name</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></td></tr></tbody></table></div><div class="refsect2" title="gnomevfs.Drive.get_icon"><a name="method-gnomevfs-drive--get_icon"></a><h3>gnomevfs.Drive.get_icon</h3><pre class="programlisting">
        <code class="methodsynopsis">    def <span class="methodname">get_icon</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></td></tr></tbody></table></div><div class="refsect2" title="gnomevfs.Drive.get_hal_udi"><a name="method-gnomevfs-drive--get_hal_udi"></a><h3>gnomevfs.Drive.get_hal_udi</h3><pre class="programlisting">
        <code class="methodsynopsis">    def <span class="methodname">get_hal_udi</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></td></tr></tbody></table></div><div class="refsect2" title="gnomevfs.Drive.is_user_visible"><a name="method-gnomevfs-drive--is_user_visible"></a><h3>gnomevfs.Drive.is_user_visible</h3><pre class="programlisting">
        <code class="methodsynopsis">    def <span class="methodname">is_user_visible</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></td></tr></tbody></table></div><div class="refsect2" title="gnomevfs.Drive.is_connected"><a name="method-gnomevfs-drive--is_connected"></a><h3>gnomevfs.Drive.is_connected</h3><pre class="programlisting">
        <code class="methodsynopsis">    def <span class="methodname">is_connected</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></td></tr></tbody></table></div><div class="refsect2" title="gnomevfs.Drive.is_mounted"><a name="method-gnomevfs-drive--is_mounted"></a><h3>gnomevfs.Drive.is_mounted</h3><pre class="programlisting">
        <code class="methodsynopsis">    def <span class="methodname">is_mounted</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></td></tr></tbody></table></div><div class="refsect2" title="gnomevfs.Drive.mount"><a name="method-gnomevfs-drive--mount"></a><h3>gnomevfs.Drive.mount</h3><pre class="programlisting">
        <code class="methodsynopsis">    def <span class="methodname">mount</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>callback</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>user_data</code></strong></span><span class="initializer">=None</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"><span class="emphasis"><em>Returns</em></span>:</span></p></td><td></td></tr></tbody></table></div><div class="refsect2" title="gnomevfs.Drive.unmount"><a name="method-gnomevfs-drive--unmount"></a><h3>gnomevfs.Drive.unmount</h3><pre class="programlisting">
        <code class="methodsynopsis">    def <span class="methodname">unmount</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>callback</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>user_data</code></strong></span><span class="initializer">=None</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"><span class="emphasis"><em>Returns</em></span>:</span></p></td><td></td></tr></tbody></table></div><div class="refsect2" title="gnomevfs.Drive.eject"><a name="method-gnomevfs-drive--eject"></a><h3>gnomevfs.Drive.eject</h3><pre class="programlisting">
        <code class="methodsynopsis">    def <span class="methodname">eject</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>callback</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>user_data</code></strong></span><span class="initializer">=None</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"><span class="emphasis"><em>Returns</em></span>:</span></p></td><td></td></tr></tbody></table></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gnomevfs-directoryhandle.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="gnomevfs-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gnomevfs-fileinfo.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gnomevfs.DirectoryHandle </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gnomevfs.FileInfo</td></tr></table></div></body></html>