This file is indexed.

/usr/share/doc/libghc-gio-doc/html/System-GIO-File-MountOperation.html is in libghc-gio-doc 0.12.4-3.

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
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>System.GIO.File.MountOperation</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_System-GIO-File-MountOperation.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/System-GIO-File-MountOperation.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">gio-0.12.4: Binding to the GIO.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable (depends on GHC)</td></tr><tr><th>Stability</th><td>alpha</td></tr><tr><th>Maintainer</th><td>gtk2hs-devel@lists.sourceforge.net</td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">System.GIO.File.MountOperation</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Details
</a></li><li><a href="#g:2">Types
</a></li><li><a href="#g:3">Enums
</a></li><li><a href="#g:4">Methods
</a></li><li><a href="#g:5">Attributes
</a></li><li><a href="#g:6">Signals
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc empty">&nbsp;</div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">newtype</span>  <a href="#t:MountOperation">MountOperation</a>  = <a href="#v:MountOperation">MountOperation</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="System-GIO-File-MountOperation.html#t:MountOperation">MountOperation</a>)</li><li class="src short"><span class="keyword">class</span> <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o =&gt; <a href="#t:MountOperationClass">MountOperationClass</a> o </li><li class="src short"><span class="keyword">data</span>  <a href="#t:MountOperationResult">MountOperationResult</a> <ul class="subs"><li>= <a href="#v:MountOperationHandled">MountOperationHandled</a>  </li><li>| <a href="#v:MountOperationAborted">MountOperationAborted</a>  </li><li>| <a href="#v:MountOperationUnhandled">MountOperationUnhandled</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:AskPasswordFlags">AskPasswordFlags</a> <ul class="subs"><li>= <a href="#v:AskPasswordNeedPassword">AskPasswordNeedPassword</a>  </li><li>| <a href="#v:AskPasswordNeedUsername">AskPasswordNeedUsername</a>  </li><li>| <a href="#v:AskPasswordNeedDomain">AskPasswordNeedDomain</a>  </li><li>| <a href="#v:AskPasswordSavingSupported">AskPasswordSavingSupported</a>  </li><li>| <a href="#v:AskPasswordAnonymousSupported">AskPasswordAnonymousSupported</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:PasswordSave">PasswordSave</a> <ul class="subs"><li>= <a href="#v:PasswordSaveNever">PasswordSaveNever</a>  </li><li>| <a href="#v:PasswordSaveForSession">PasswordSaveForSession</a>  </li><li>| <a href="#v:PasswordSavePermanently">PasswordSavePermanently</a>  </li></ul></li><li class="src short"><a href="#v:mountOperationNew">mountOperationNew</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="System-GIO-File-MountOperation.html#t:MountOperation">MountOperation</a></li><li class="src short"><a href="#v:mountOperationReply">mountOperationReply</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; op -&gt; <a href="System-GIO-File-MountOperation.html#t:MountOperationResult">MountOperationResult</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:mountOperationAnonymous">mountOperationAnonymous</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> op <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:mountOperationChoice">mountOperationChoice</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> op <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:mountOperationDomain">mountOperationDomain</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> op <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:mountOperationPassword">mountOperationPassword</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> op <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:mountOperationPasswordSave">mountOperationPasswordSave</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> op <a href="System-GIO-File-MountOperation.html#t:PasswordSave">PasswordSave</a></li><li class="src short"><a href="#v:mountOperationUsername">mountOperationUsername</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> op <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:mountOperationAborted">mountOperationAborted</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> op (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ())</li><li class="src short"><a href="#v:mountOperationAskPassword">mountOperationAskPassword</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> op (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="System-GIO-File-MountOperation.html#t:AskPasswordFlags">AskPasswordFlags</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ())</li><li class="src short"><a href="#v:mountOperationReplySignal">mountOperationReplySignal</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> op (<a href="System-GIO-File-MountOperation.html#t:MountOperationResult">MountOperationResult</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ())</li></ul></div><div id="interface"><h1 id="g:1">Details
</h1><div class="doc"><p><code><a href="System-GIO-File-MountOperation.html#t:MountOperation">MountOperation</a></code> provides a mechanism for interacting with the user. It can be used for
 authenticating mountable operations, such as loop mounting files, hard drive partitions or server
 locations. It can also be used to ask the user questions or show a list of applications preventing
 unmount or eject operations from completing.
</p><p>Note that <code><a href="System-GIO-Volumes-Mount.html#t:Mount">Mount</a></code>Operation is used for more than just <code><a href="System-GIO-Volumes-Mount.html#t:Mount">Mount</a></code> objects &#8211; for example it is also used in
 <code>driveStart</code>.
</p><p>Users should instantiate a subclass of this that implements all the various callbacks to show the
 required dialogs, such as <code><a href="System-GIO-File-MountOperation.html#t:MountOperation">MountOperation</a></code>. If no user interaction is desired (for example when
 automounting filesystems at login time), usually <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#v:Nothing">Nothing</a></code> can be passed, see each method taking a
 <code><a href="System-GIO-File-MountOperation.html#t:MountOperation">MountOperation</a></code> for details.
</p></div><h1 id="g:2">Types
</h1><div class="top"><p class="src"><span class="keyword">newtype</span>  <a name="t:MountOperation" class="def">MountOperation</a>  <a href="src/System-GIO-Types.html#MountOperation" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:MountOperation" class="def">MountOperation</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="System-GIO-File-MountOperation.html#t:MountOperation">MountOperation</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:MountOperation" class="caption collapser" onclick="toggleSection('i:MountOperation')">Instances</p><div id="section.i:MountOperation" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="System-GIO-File-MountOperation.html#t:MountOperation">MountOperation</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> <a href="System-GIO-File-MountOperation.html#t:MountOperation">MountOperation</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="System-GIO-File-MountOperation.html#t:MountOperation">MountOperation</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> <a href="System-GIO-File-MountOperation.html#t:MountOperation">MountOperation</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o =&gt; <a name="t:MountOperationClass" class="def">MountOperationClass</a> o <a href="src/System-GIO-Types.html#MountOperationClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:MountOperationClass" class="caption collapser" onclick="toggleSection('i:MountOperationClass')">Instances</p><div id="section.i:MountOperationClass" class="show"><table><tr><td class="src"><a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> <a href="System-GIO-File-MountOperation.html#t:MountOperation">MountOperation</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:3">Enums
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:MountOperationResult" class="def">MountOperationResult</a>  <a href="src/System-GIO-Enums.html#MountOperationResult" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:MountOperationHandled" class="def">MountOperationHandled</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:MountOperationAborted" class="def">MountOperationAborted</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:MountOperationUnhandled" class="def">MountOperationUnhandled</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:MountOperationResult" class="caption collapser" onclick="toggleSection('i:MountOperationResult')">Instances</p><div id="section.i:MountOperationResult" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Bounded">Bounded</a> <a href="System-GIO-File-MountOperation.html#t:MountOperationResult">MountOperationResult</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Enum">Enum</a> <a href="System-GIO-File-MountOperation.html#t:MountOperationResult">MountOperationResult</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="System-GIO-File-MountOperation.html#t:MountOperationResult">MountOperationResult</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> <a href="System-GIO-File-MountOperation.html#t:MountOperationResult">MountOperationResult</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="System-GIO-File-MountOperation.html#t:MountOperationResult">MountOperationResult</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Typeable-Internal.html#t:Typeable">Typeable</a> <a href="System-GIO-File-MountOperation.html#t:MountOperationResult">MountOperationResult</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:AskPasswordFlags" class="def">AskPasswordFlags</a>  <a href="src/System-GIO-Enums.html#AskPasswordFlags" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:AskPasswordNeedPassword" class="def">AskPasswordNeedPassword</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:AskPasswordNeedUsername" class="def">AskPasswordNeedUsername</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:AskPasswordNeedDomain" class="def">AskPasswordNeedDomain</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:AskPasswordSavingSupported" class="def">AskPasswordSavingSupported</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:AskPasswordAnonymousSupported" class="def">AskPasswordAnonymousSupported</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:AskPasswordFlags" class="caption collapser" onclick="toggleSection('i:AskPasswordFlags')">Instances</p><div id="section.i:AskPasswordFlags" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Bounded">Bounded</a> <a href="System-GIO-File-MountOperation.html#t:AskPasswordFlags">AskPasswordFlags</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Enum">Enum</a> <a href="System-GIO-File-MountOperation.html#t:AskPasswordFlags">AskPasswordFlags</a></td><td class="doc"><p><code><a href="System-GIO-File-MountOperation.html#t:MountOperationResult">MountOperationResult</a></code> is returned as a result when a request for information is send by the mounting
 operation.
</p></td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="System-GIO-File-MountOperation.html#t:AskPasswordFlags">AskPasswordFlags</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> <a href="System-GIO-File-MountOperation.html#t:AskPasswordFlags">AskPasswordFlags</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="System-GIO-File-MountOperation.html#t:AskPasswordFlags">AskPasswordFlags</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Typeable-Internal.html#t:Typeable">Typeable</a> <a href="System-GIO-File-MountOperation.html#t:AskPasswordFlags">AskPasswordFlags</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Flags.html#t:Flags">Flags</a> <a href="System-GIO-File-MountOperation.html#t:AskPasswordFlags">AskPasswordFlags</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:PasswordSave" class="def">PasswordSave</a>  <a href="src/System-GIO-Enums.html#PasswordSave" class="link">Source</a></p><div class="doc"><p><code><a href="System-GIO-File-MountOperation.html#t:PasswordSave">PasswordSave</a></code> is used to indicate the lifespan of a saved password.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:PasswordSaveNever" class="def">PasswordSaveNever</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:PasswordSaveForSession" class="def">PasswordSaveForSession</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:PasswordSavePermanently" class="def">PasswordSavePermanently</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:PasswordSave" class="caption collapser" onclick="toggleSection('i:PasswordSave')">Instances</p><div id="section.i:PasswordSave" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Bounded">Bounded</a> <a href="System-GIO-File-MountOperation.html#t:PasswordSave">PasswordSave</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Enum">Enum</a> <a href="System-GIO-File-MountOperation.html#t:PasswordSave">PasswordSave</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="System-GIO-File-MountOperation.html#t:PasswordSave">PasswordSave</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> <a href="System-GIO-File-MountOperation.html#t:PasswordSave">PasswordSave</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="System-GIO-File-MountOperation.html#t:PasswordSave">PasswordSave</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Typeable-Internal.html#t:Typeable">Typeable</a> <a href="System-GIO-File-MountOperation.html#t:PasswordSave">PasswordSave</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:4">Methods
</h1><div class="top"><p class="src"><a name="v:mountOperationNew" class="def">mountOperationNew</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="System-GIO-File-MountOperation.html#t:MountOperation">MountOperation</a><a href="src/System-GIO-File-MountOperation.html#mountOperationNew" class="link">Source</a></p><div class="doc"><p>Creates a new mount operation.
</p></div></div><div class="top"><p class="src"><a name="v:mountOperationReply" class="def">mountOperationReply</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; op -&gt; <a href="System-GIO-File-MountOperation.html#t:MountOperationResult">MountOperationResult</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/System-GIO-File-MountOperation.html#mountOperationReply" class="link">Source</a></p><div class="doc"><p>Emits the <a href="reply.html">reply</a> signal.
</p></div></div><h1 id="g:5">Attributes
</h1><div class="top"><p class="src"><a name="v:mountOperationAnonymous" class="def">mountOperationAnonymous</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> op <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a><a href="src/System-GIO-File-MountOperation.html#mountOperationAnonymous" class="link">Source</a></p><div class="doc"><p>Whether to use an anonymous user when authenticating.
</p><p>Default value: <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:False">False</a></code>
</p></div></div><div class="top"><p class="src"><a name="v:mountOperationChoice" class="def">mountOperationChoice</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> op <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a><a href="src/System-GIO-File-MountOperation.html#mountOperationChoice" class="link">Source</a></p><div class="doc"><p>The index of the user's choice when a question is asked during the mount operation. See the
 <code>askQuestion</code> signal.
</p><p>Allowed values: &gt;= 0
</p><p>Default value: 0
</p></div></div><div class="top"><p class="src"><a name="v:mountOperationDomain" class="def">mountOperationDomain</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> op <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/System-GIO-File-MountOperation.html#mountOperationDomain" class="link">Source</a></p><div class="doc"><p>The domain to use for the mount operation.
</p><p>Default value: &quot;&quot;
</p></div></div><div class="top"><p class="src"><a name="v:mountOperationPassword" class="def">mountOperationPassword</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> op <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/System-GIO-File-MountOperation.html#mountOperationPassword" class="link">Source</a></p><div class="doc"><p>The password that is used for authentication when carrying out the mount operation.
</p><p>Default value: &quot;&quot;
</p></div></div><div class="top"><p class="src"><a name="v:mountOperationPasswordSave" class="def">mountOperationPasswordSave</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> op <a href="System-GIO-File-MountOperation.html#t:PasswordSave">PasswordSave</a><a href="src/System-GIO-File-MountOperation.html#mountOperationPasswordSave" class="link">Source</a></p><div class="doc"><p>Determines if and how the password information should be saved.
</p><p>Default value: <code><a href="System-GIO-File-MountOperation.html#v:PasswordSaveNever">PasswordSaveNever</a></code>
</p></div></div><div class="top"><p class="src"><a name="v:mountOperationUsername" class="def">mountOperationUsername</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> op <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/System-GIO-File-MountOperation.html#mountOperationUsername" class="link">Source</a></p><div class="doc"><p>The user name that is used for authentication when carrying out the mount operation.
</p><p>Default value: &quot;&quot;
</p></div></div><h1 id="g:6">Signals
</h1><div class="top"><p class="src"><a name="v:mountOperationAborted" class="def">mountOperationAborted</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> op (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ())<a href="src/System-GIO-File-MountOperation.html#mountOperationAborted" class="link">Source</a></p><div class="doc"><p>Emitted by the backend when e.g. a device becomes unavailable while a mount operation is in
 progress.
</p><p>Implementations of <code><a href="System-GIO-File-MountOperation.html#t:MountOperation">MountOperation</a></code> should handle this signal by dismissing open password dialogs.
</p><p>Since 2.20
</p></div></div><div class="top"><p class="src"><a name="v:mountOperationAskPassword" class="def">mountOperationAskPassword</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> op (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="System-GIO-File-MountOperation.html#t:AskPasswordFlags">AskPasswordFlags</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ())<a href="src/System-GIO-File-MountOperation.html#mountOperationAskPassword" class="link">Source</a></p><div class="doc"><p>Emitted when a mount operation asks the user for a password.
</p><p>If the message contains a line break, the first line should be presented as a heading. For example,
 it may be used as the primary text in a <code>MessageDialog</code>.
</p></div></div><div class="top"><p class="src"><a name="v:mountOperationReplySignal" class="def">mountOperationReplySignal</a> :: <a href="System-GIO-File-MountOperation.html#t:MountOperationClass">MountOperationClass</a> op =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> op (<a href="System-GIO-File-MountOperation.html#t:MountOperationResult">MountOperationResult</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ())<a href="src/System-GIO-File-MountOperation.html#mountOperationReplySignal" class="link">Source</a></p><div class="doc"><p>Emitted when asking the user a question and gives a list of choices for the user to choose from.
</p><p>If the message contains a line break, the first line should be presented as a heading. For example,
 it may be used as the primary text in a <code>MessageDialog</code>.
 askQuestion :: MountOperationClass op =&gt; Signal op (String -&gt; [String] -&gt; IO ())
 askQuestion Signal (after obj user -&gt; connect_STRING_BOXED__NONE <a href="ask-question.html">ask-question</a> after obj
 (message choicesPtr -&gt; do
 choices &lt;- peekUTFString choicesPtr
 user str choices))
</p><p>Emitted when the user has replied to the mount operation.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>