/usr/share/gtk-doc/html/pygtk/class-gtkmountoperation.html is in python-gtk2-doc 2.24.0-4.
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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.MountOperation</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="gtk-class-reference.html" title="The gtk Class Reference"><link rel="prev" href="class-gtkmisc.html" title="gtk.Misc"><link rel="next" href="class-gtknotebook.html" title="gtk.Notebook"></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">gtk.MountOperation</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkmisc.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtknotebook.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.MountOperation"><a name="class-gtkmountoperation"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.MountOperation</h2><p>gtk.MountOperation — Functions for working with GIO (new in PyGTK 2.14)</p></div><div class="refsect1" title="Synopsis"><a name="id3802248"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.MountOperation</span></span>(<span class="ooclass"><span class="classname"><PYGTKDOCLINK HREF="class-giomountoperation">gio.MountOperation</PYGTKDOCLINK></span></span>):
<code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkmountoperation.html#method-gtkmountoperation--get-parent" title="gtk.MountOperation.get_parent">get_parent</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkmountoperation.html#method-gtkmountoperation--get-screen" title="gtk.MountOperation.get_screen">get_screen</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkmountoperation.html#method-gtkmountoperation--is-showing" title="gtk.MountOperation.is_showing">is_showing</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkmountoperation.html#method-gtkmountoperation--set-parent" title="gtk.MountOperation.set_parent">set_parent</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>parent</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkmountoperation.html#method-gtkmountoperation--set-screen" title="gtk.MountOperation.set_screen">set_screen</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>screen</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id3802394"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
+-- <PYGTKDOCLINK HREF="class-giomountoperation">gio.MountOperation</PYGTKDOCLINK>
+-- <a class="link" href="class-gtkmountoperation.html" title="gtk.MountOperation">gtk.MountOperation</a>
</pre></div><div class="refsect1" title="gtk.MountOperation Properties"><a name="properties-gtkmountoperation"></a><h2>gtk.MountOperation Properties</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="3.5in"></colgroup><tbody><tr valign="top"><td valign="top">"is-showing"</td><td valign="top">Read</td><td valign="top">Are we showing a dialog. Default value: <code class="literal">False</code>.</td></tr><tr valign="top"><td valign="top">"parent"</td><td valign="top">Read/Write</td><td valign="top">The parent window.</td></tr><tr valign="top"><td valign="top">"screen"</td><td valign="top">Read/Write</td><td valign="top">The screen where this window will be displayed.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="Description"><a name="id3802542"></a><h2>Description</h2><p>
The functions and objects described here make working with GTK+ and GIO more convenient.
<a class="link" href="class-gtkmountoperation.html" title="gtk.MountOperation"><code class="classname">gtk.MountOperation</code></a>
is needed when mounting volumes and
<code class="methodname"><a class="link" href="gtk-functions.html#function-gtk--show-uri" title="gtk.show_uri">gtk.show_uri</a></code>()
is a convenient way to launch applications for URIs. Another object that is worth
mentioning in this context is
<a class="link" href="class-gdkapplaunchcontext.html" title="gtk.gdk.AppLaunchContext"><code class="classname">gtk.gdk.AppLaunchContext</code></a>,
which provides visual feedback when lauching applications.
</p></div><div class="refsect1" title="Constructor"><a name="constructor-gtkmountoperation"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">gtk.MountOperation</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>parent</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"><strong class="parameter"><code>parent</code></strong> :</span></p></td><td>transient parent of the window, or
<code class="literal">None</code>.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new
<a class="link" href="class-gtkmountoperation.html" title="gtk.MountOperation"><code class="classname">gtk.MountOperation</code></a>.
</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.14 and above.</p></div><p>
Creates a new <a class="link" href="class-gtkmountoperation.html" title="gtk.MountOperation"><code class="classname">gtk.MountOperation</code></a>.
</p></div><div class="refsect1" title="Methods"><a name="id3802696"></a><h2>Methods</h2><div class="refsect2" title="gtk.MountOperation.get_parent"><a name="method-gtkmountoperation--get-parent"></a><h3>gtk.MountOperation.get_parent</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_parent</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 new
<a class="link" href="class-gtkmountoperation.html" title="gtk.MountOperation"><code class="classname">gtk.MountOperation</code></a>.
</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.14 and above.</p></div><p>
The <code class="methodname">get_parent</code>() method gets the transient
parent used by the
<a class="link" href="class-gtkmountoperation.html" title="gtk.MountOperation"><code class="classname">gtk.MountOperation</code></a>.
</p></div><div class="refsect2" title="gtk.MountOperation.get_screen"><a name="method-gtkmountoperation--get-screen"></a><h3>gtk.MountOperation.get_screen</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_screen</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 screen on which windows of op are shown.
</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.14 and above.</p></div><p>
The <code class="methodname">get_screen</code>() method gets the screen
on which windows of the
<a class="link" href="class-gtkmountoperation.html" title="gtk.MountOperation"><code class="classname">gtk.MountOperation</code></a>
will be shown.
</p></div><div class="refsect2" title="gtk.MountOperation.is_showing"><a name="method-gtkmountoperation--is-showing"></a><h3>gtk.MountOperation.is_showing</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">is_showing</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><code class="literal">True</code> if op is currently displaying a window.
</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.14 and above.</p></div><p>
The <code class="methodname">is_showing</code>() method returns whetherthe
<a class="link" href="class-gtkmountoperation.html" title="gtk.MountOperation"><code class="classname">gtk.MountOperation</code></a>
is currently displaying a window.
</p></div><div class="refsect2" title="gtk.MountOperation.set_parent"><a name="method-gtkmountoperation--set-parent"></a><h3>gtk.MountOperation.set_parent</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">set_parent</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>parent</code></em></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>parent</code></strong> :</span></p></td><td>transient parent of the window,
or <code class="literal">None</code>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.14 and above.</p></div><p>
The <code class="methodname">set_parent</code>() method sets the
transient parent for windows shown by the
<a class="link" href="class-gtkmountoperation.html" title="gtk.MountOperation"><code class="classname">gtk.MountOperation</code></a>.
</p></div><div class="refsect2" title="gtk.MountOperation.set_screen"><a name="method-gtkmountoperation--set-screen"></a><h3>gtk.MountOperation.set_screen</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">set_screen</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>screen</code></em></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>screen</code></strong> :</span></p></td><td>a
<a class="link" href="class-gdkscreen.html" title="gtk.gdk.Screen"><code class="classname">gtk.gdk.Screen</code></a>.
</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.14 and above.</p></div><p>
The <code class="methodname">set_screen</code>() method gets the screen
on which windows of the
<a class="link" href="class-gtkmountoperation.html" title="gtk.MountOperation"><code class="classname">gtk.MountOperation</code></a>
will be shown.
</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-gtkmisc.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="gtk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gtknotebook.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.Misc </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.Notebook</td></tr></table></div></body></html>
|