This file is indexed.

/usr/share/doc/libghc-gconf-doc/html/System-Gnome-GConf-GConfClient.html is in libghc-gconf-doc 0.12.1-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
 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!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.Gnome.GConf.GConfClient</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-Gnome-GConf-GConfClient.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/System-Gnome-GConf-GConfClient.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">gconf-0.12.1: Binding to the GNOME configuration database system.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe-Infered</td></tr></table><p class="caption">System.Gnome.GConf.GConfClient</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Data types
</a></li><li><a href="#g:2">Creation operation
</a></li><li><a href="#g:3">Registering for change notifications
</a></li><li><a href="#g:4">Getting and setting configuration values
</a></li><li><a href="#g:5">Caching control
</a></li><li><a href="#g:6">Navigation
</a></li><li><a href="#g:7">GConfValue
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>GConf is a system for maintaining program configuration information.
</p><p>The main difference between GConf and traditional configuration file
 API's is that GConf is 'live'. Applications can be notified of changes
 in their configuration, it allows desktop wide setting
 to be propogated without restarting all applications, or multiple instances
 of a single application to synchronise their configuration. It is similar
 in many ways to the Win32 Registry with its directory-like structure.
</p><p>This module only binds the client library which is the only interface that
 normal applications should need. Only special GConf apps need lower level
 access.
</p><ul><li> Some low level functions have not been bound
 eg <code>gconf_client_get_for_engine</code>
</li></ul></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">data</span>  <a href="#t:GConf">GConf</a> </li><li class="src short"><span class="keyword">data</span>  <a href="#t:GConfPreloadType">GConfPreloadType</a> </li><li class="src short"><span class="keyword">data</span>  <a href="#t:GConfError">GConfError</a> </li><li class="src short"><a href="#v:gconfGetDefault">gconfGetDefault</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a></li><li class="src short"><a href="#v:gconfAddDir">gconfAddDir</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:gconfRemoveDir">gconfRemoveDir</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:gconfNotifyAdd">gconfNotifyAdd</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> value =&gt; <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; value -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a>) -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> GConfConnectId</li><li class="src short"><a href="#v:gconfNotifyRemove">gconfNotifyRemove</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; GConfConnectId -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:onValueChanged">onValueChanged</a>, <a href="#v:afterValueChanged">afterValueChanged</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueDyn">GConfValueDyn</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a>) -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:ConnectId">ConnectId</a> <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a>)</li><li class="src short"><a href="#v:gconfGet">gconfGet</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> value =&gt; <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> value</li><li class="src short"><a href="#v:gconfSet">gconfSet</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> value =&gt; <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; value -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:gconfGetWithoutDefault">gconfGetWithoutDefault</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> value =&gt; <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> value</li><li class="src short"><a href="#v:gconfGetDefaultFromSchema">gconfGetDefaultFromSchema</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> value =&gt; <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> value</li><li class="src short"><a href="#v:gconfUnset">gconfUnset</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:gconfClearCache">gconfClearCache</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:gconfPreload">gconfPreload</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="System-Gnome-GConf-GConfClient.html#t:GConfPreloadType">GConfPreloadType</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:gconfSuggestSync">gconfSuggestSync</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:gconfAllEntries">gconfAllEntries</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a>, <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueDyn">GConfValueDyn</a>)]</li><li class="src short"><a href="#v:gconfAllDirs">gconfAllDirs</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a>]</li><li class="src short"><a href="#v:gconfDirExists">gconfDirExists</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><span class="keyword">class</span>  <a href="#t:GConfValueClass">GConfValueClass</a> value </li><li class="src short"><span class="keyword">class</span> <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> value =&gt; <a href="#t:GConfPrimitiveValueClass">GConfPrimitiveValueClass</a> value </li><li class="src short"><span class="keyword">data</span>  <a href="#t:GConfValue">GConfValue</a> </li><li class="src short"><span class="keyword">data</span>  <a href="#t:GConfValueDyn">GConfValueDyn</a> <ul class="subs"><li>= <a href="#v:GConfValueString">GConfValueString</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a>  </li><li>| <a href="#v:GConfValueInt">GConfValueInt</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a>  </li><li>| <a href="#v:GConfValueFloat">GConfValueFloat</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Double">Double</a>  </li><li>| <a href="#v:GConfValueBool">GConfValueBool</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a>  </li><li>| <a href="#v:GConfValueSchema">GConfValueSchema</a>  </li><li>| <a href="#v:GConfValueList">GConfValueList</a> [<a href="System-Gnome-GConf-GConfClient.html#t:GConfValueDyn">GConfValueDyn</a>]  </li><li>| <a href="#v:GConfValuePair">GConfValuePair</a> (<a href="System-Gnome-GConf-GConfClient.html#t:GConfValueDyn">GConfValueDyn</a>, <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueDyn">GConfValueDyn</a>)  </li></ul></li></ul></div><div id="interface"><h1 id="g:1">Data types
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:GConf" class="def">GConf</a>  <a href="src/System-Gnome-GConf-Types.html#GConf" class="link">Source</a></p><div class="subs instances"><p id="control.i:GConf" class="caption collapser" onclick="toggleSection('i:GConf')">Instances</p><div id="section.i:GConf" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Ord.html#t:Ord">Ord</a> <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</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-Gnome-GConf-GConfClient.html#t:GConf">GConf</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">GConfClass <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</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:GConfPreloadType" class="def">GConfPreloadType</a>  <a href="src/System-Gnome-GConf-GConfClient.html#GConfPreloadType" class="link">Source</a></p><div class="subs instances"><p id="control.i:GConfPreloadType" class="caption collapser" onclick="toggleSection('i:GConfPreloadType')">Instances</p><div id="section.i:GConfPreloadType" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Enum">Enum</a> <a href="System-Gnome-GConf-GConfClient.html#t:GConfPreloadType">GConfPreloadType</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:GConfError" class="def">GConfError</a>  <a href="src/System-Gnome-GConf-GConfClient.html#GConfError" class="link">Source</a></p><div class="doc"><p>The <a href="GError.html">GError</a> exceptions that can be thrown by functions in this module
</p></div><div class="subs instances"><p id="control.i:GConfError" class="caption collapser" onclick="toggleSection('i:GConfError')">Instances</p><div id="section.i:GConfError" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Enum">Enum</a> <a href="System-Gnome-GConf-GConfClient.html#t:GConfError">GConfError</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-GError.html#t:GErrorClass">GErrorClass</a> <a href="System-Gnome-GConf-GConfClient.html#t:GConfError">GConfError</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:2">Creation operation
</h1><div class="top"><p class="src"><a name="v:gconfGetDefault" class="def">gconfGetDefault</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a><a href="src/System-Gnome-GConf-GConfClient.html#gconfGetDefault" class="link">Source</a></p><div class="doc"><p>Create a new GConf object using the default configuration engine.
</p></div></div><h1 id="g:3">Registering for change notifications
</h1><div class="top"><p class="src"><a name="v:gconfAddDir" class="def">gconfAddDir</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/System-Gnome-GConf-GConfClient.html#gconfAddDir" class="link">Source</a></p><div class="doc"><p>Add a directory to the list of directories the
 GConf will watch. You should use gconfNotifyAdd to associate
 change handlers with specific keys.
</p><ul><li> Added directories may not overlap. That is, if you add &quot;/foo&quot;, you may
 not add &quot;/foo/bar&quot;. However you can add &quot;/foo&quot; and &quot;/bar&quot;. You can
 also add &quot;/foo&quot; multiple times; if you add a directory multiple times, it
 will not be removed until you call <code><a href="System-Gnome-GConf-GConfClient.html#v:gconfRemoveDir">gconfRemoveDir</a></code> an equal number of
 times.
</li><li> Note that the watch is recursive, all keys below the given directory will
 be watched. So it would be a bad idea to watch the root &quot;/&quot;.
</li></ul></div></div><div class="top"><p class="src"><a name="v:gconfRemoveDir" class="def">gconfRemoveDir</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/System-Gnome-GConf-GConfClient.html#gconfRemoveDir" class="link">Source</a></p><div class="doc"><p>Remove a directory from the list created with <code><a href="System-Gnome-GConf-GConfClient.html#v:gconfAddDir">gconfAddDir</a></code>. If any
 notifications have been added below this directory with <code><a href="System-Gnome-GConf-GConfClient.html#v:gconfNotifyAdd">gconfNotifyAdd</a></code>,
 those notifications will be disabled until you re-add the removed directory.
</p><ul><li> Note that if a directory has been added multiple times, you must remove it
 the same number of times before the remove takes effect.
</li></ul></div></div><div class="top"><p class="src"><a name="v:gconfNotifyAdd" class="def">gconfNotifyAdd</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> value =&gt; <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; value -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a>) -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> GConfConnectId<a href="src/System-Gnome-GConf-GConfClient.html#gconfNotifyAdd" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:gconfNotifyRemove" class="def">gconfNotifyRemove</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; GConfConnectId -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/System-Gnome-GConf-GConfClient.html#gconfNotifyRemove" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:onValueChanged" class="def">onValueChanged</a>, <a name="v:afterValueChanged" class="def">afterValueChanged</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueDyn">GConfValueDyn</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a>) -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:ConnectId">ConnectId</a> <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a>)<a href="src/System-Gnome-GConf-GConfClient.html#onValueChanged" class="link">Source</a></p></div><h1 id="g:4">Getting and setting configuration values
</h1><div class="top"><p class="src"><a name="v:gconfGet" class="def">gconfGet</a><a href="src/System-Gnome-GConf-GConfClient.html#gconfGet" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> value</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></td><td class="doc"><p>Name of the key
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> value</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Gets the value of a configuration key.
</p></div></div><div class="top"><p class="src"><a name="v:gconfSet" class="def">gconfSet</a><a href="src/System-Gnome-GConf-GConfClient.html#gconfSet" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> value</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></td><td class="doc"><p>Name of the key
</p></td></tr><tr><td class="src">-&gt; value</td><td class="doc"><p>New value
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets the value of a configuration key.
</p></div></div><div class="top"><p class="src"><a name="v:gconfGetWithoutDefault" class="def">gconfGetWithoutDefault</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> value =&gt; <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> value<a href="src/System-Gnome-GConf-GConfClient.html#gconfGetWithoutDefault" class="link">Source</a></p><div class="doc"><p>Gets the value of a configuration key.
</p><p>Same as <code><a href="System-Gnome-GConf-GConfClient.html#v:gconfGet">gconfGet</a></code>, but doesn't look for a default value if the key is
 unset.
</p></div></div><div class="top"><p class="src"><a name="v:gconfGetDefaultFromSchema" class="def">gconfGetDefaultFromSchema</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> value =&gt; <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> value<a href="src/System-Gnome-GConf-GConfClient.html#gconfGetDefaultFromSchema" class="link">Source</a></p><div class="doc"><p>Returns the default value stored in the key's schema, if the key has a
 schema associated and the schema exists and the schema contains a default
 value. Note that <code><a href="System-Gnome-GConf-GConfClient.html#v:gconfSet">gconfSet</a></code> already returns the default value if no other
 value is found, so normally you do not need this function.
</p></div></div><div class="top"><p class="src"><a name="v:gconfUnset" class="def">gconfUnset</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/System-Gnome-GConf-GConfClient.html#gconfUnset" class="link">Source</a></p><div class="doc"><p>Unsets the value of key; if key is already unset, has no effect. An error
 of note is <code>GconfErrorOverridden</code>, indicating that the system administrator
 has &quot;forced&quot; a value for this key.
</p></div></div><h1 id="g:5">Caching control
</h1><div class="top"><p class="src"><a name="v:gconfClearCache" class="def">gconfClearCache</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/System-Gnome-GConf-GConfClient.html#gconfClearCache" class="link">Source</a></p><div class="doc"><p>Dumps everything out of the GConf client-side cache. If you know you're
 done using the GConf for a while, you can call this function to save some
 memory.
</p></div></div><div class="top"><p class="src"><a name="v:gconfPreload" class="def">gconfPreload</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="System-Gnome-GConf-GConfClient.html#t:GConfPreloadType">GConfPreloadType</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/System-Gnome-GConf-GConfClient.html#gconfPreload" class="link">Source</a></p><div class="doc"><p>Preloads a directory. Normally you do this when you call
 <code>gconfAddDirWithPreload</code>, but if you've called <code><a href="System-Gnome-GConf-GConfClient.html#v:gconfClearCache">gconfClearCache</a></code> there may
 be a reason to do it again.
</p></div></div><div class="top"><p class="src"><a name="v:gconfSuggestSync" class="def">gconfSuggestSync</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/System-Gnome-GConf-GConfClient.html#gconfSuggestSync" class="link">Source</a></p><div class="doc"><p>Suggests to gconfd that you've just finished a block of changes, and it
 would be an optimal time to sync to permanent storage. This is only a
 suggestion; and gconfd will eventually sync even if you don't call 
 <code><a href="System-Gnome-GConf-GConfClient.html#v:gconfSuggestSync">gconfSuggestSync</a></code>. This function is just a <a href="hint.html">hint</a> provided to gconfd to
 maximize efficiency and minimize data loss.
</p></div></div><h1 id="g:6">Navigation
</h1><div class="top"><p class="src"><a name="v:gconfAllEntries" class="def">gconfAllEntries</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a>, <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueDyn">GConfValueDyn</a>)]<a href="src/System-Gnome-GConf-GConfClient.html#gconfAllEntries" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:gconfAllDirs" class="def">gconfAllDirs</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a>]<a href="src/System-Gnome-GConf-GConfClient.html#gconfAllDirs" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:gconfDirExists" class="def">gconfDirExists</a> :: <a href="System-Gnome-GConf-GConfClient.html#t:GConf">GConf</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a><a href="src/System-Gnome-GConf-GConfClient.html#gconfDirExists" class="link">Source</a></p></div><h1 id="g:7">GConfValue
</h1><div class="top"><p class="src"><span class="keyword">class</span>  <a name="t:GConfValueClass" class="def">GConfValueClass</a> value <a href="src/System-Gnome-GConf-GConfValue.html#GConfValueClass" class="link">Source</a></p><div class="doc"><p>Class of types which can be kept by GConf
</p></div><div class="subs instances"><p id="control.i:GConfValueClass" class="caption collapser" onclick="toggleSection('i:GConfValueClass')">Instances</p><div id="section.i:GConfValueClass" class="show"><table><tr><td class="src"><a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Double">Double</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueDyn">GConfValueDyn</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="System-Gnome-GConf-GConfClient.html#t:GConfPrimitiveValueClass">GConfPrimitiveValueClass</a> a =&gt; <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> [a]</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> value =&gt; <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</a> value)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="System-Gnome-GConf-GConfClient.html#t:GConfPrimitiveValueClass">GConfPrimitiveValueClass</a> a, <a href="System-Gnome-GConf-GConfClient.html#t:GConfPrimitiveValueClass">GConfPrimitiveValueClass</a> b) =&gt; <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> (a, b)</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="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> value =&gt; <a name="t:GConfPrimitiveValueClass" class="def">GConfPrimitiveValueClass</a> value <a href="src/System-Gnome-GConf-GConfValue.html#GConfPrimitiveValueClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:GConfPrimitiveValueClass" class="caption collapser" onclick="toggleSection('i:GConfPrimitiveValueClass')">Instances</p><div id="section.i:GConfPrimitiveValueClass" class="show"><table><tr><td class="src"><a href="System-Gnome-GConf-GConfClient.html#t:GConfPrimitiveValueClass">GConfPrimitiveValueClass</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="System-Gnome-GConf-GConfClient.html#t:GConfPrimitiveValueClass">GConfPrimitiveValueClass</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Double">Double</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="System-Gnome-GConf-GConfClient.html#t:GConfPrimitiveValueClass">GConfPrimitiveValueClass</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="System-Gnome-GConf-GConfClient.html#t:GConfPrimitiveValueClass">GConfPrimitiveValueClass</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</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:GConfValue" class="def">GConfValue</a>  <a href="src/System-Gnome-GConf-GConfValue.html#GConfValue" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:GConfValueDyn" class="def">GConfValueDyn</a>  <a href="src/System-Gnome-GConf-GConfValue.html#GConfValueDyn" class="link">Source</a></p><div class="doc"><p>Dynamic version for when the type is not known statically.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:GConfValueString" class="def">GConfValueString</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:GConfValueInt" class="def">GConfValueInt</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:GConfValueFloat" class="def">GConfValueFloat</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Double">Double</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:GConfValueBool" class="def">GConfValueBool</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:GConfValueSchema" class="def">GConfValueSchema</a></td><td class="doc"><p>Not supported
</p></td></tr><tr><td class="src"><a name="v:GConfValueList" class="def">GConfValueList</a> [<a href="System-Gnome-GConf-GConfClient.html#t:GConfValueDyn">GConfValueDyn</a>]</td><td class="doc"><p>Must all be of same primitive type
</p></td></tr><tr><td class="src"><a name="v:GConfValuePair" class="def">GConfValuePair</a> (<a href="System-Gnome-GConf-GConfClient.html#t:GConfValueDyn">GConfValueDyn</a>, <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueDyn">GConfValueDyn</a>)</td><td class="doc"><p>Must both be primitive
</p></td></tr></table></div><div class="subs instances"><p id="control.i:GConfValueDyn" class="caption collapser" onclick="toggleSection('i:GConfValueDyn')">Instances</p><div id="section.i:GConfValueDyn" class="show"><table><tr><td class="src"><a href="System-Gnome-GConf-GConfClient.html#t:GConfValueClass">GConfValueClass</a> <a href="System-Gnome-GConf-GConfClient.html#t:GConfValueDyn">GConfValueDyn</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.10.0</p></div></body></html>