2003-06-06 18:41:12 +00:00
<Type Name= "Client" FullName= "GConf.Client" >
2004-03-05 13:40:13 +00:00
<TypeSignature Language= "C#" Value= "public class Client : GConf.ClientBase" Maintainer= "John Luke" />
2003-06-06 18:41:12 +00:00
<AssemblyInfo >
<AssemblyName > gconf-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2005-12-09 23:12:49 +00:00
<AssemblyVersion > 2.8.0.0</AssemblyVersion>
2003-06-06 18:41:12 +00:00
</AssemblyInfo>
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the < link location="node:gtk-sharp/programming/threads"> Gtk# Thread Programming< /link> for details.</ThreadSafetyStatement>
<Docs >
2003-07-17 02:56:34 +00:00
<summary > Basic functions to initialize GConf and get/set values.</summary>
<remarks > The following example attempts to retrieve a setting from GConf, and set a default value otherwise.</remarks>
<example >
<code language= "C#" >
string MyVal;
GConf.Client gconfClient = new GConf.Client ();
try
{
MyVal = (string) gconfClient.Get ("/apps/monoapps/SampleApp/setting1"));
}
catch (GConf.NoSuchKeyException)
{
gconfClient.Set ("/apps/monoapps/SampleApp/setting1", "sample");
}
</code>
</example>
2003-06-06 18:41:12 +00:00
</Docs>
<Base >
<BaseTypeName > GConf.ClientBase</BaseTypeName>
</Base>
<Interfaces />
<Members >
<Member MemberName= "SuggestSync" >
<MemberSignature Language= "C#" Value= "public void SuggestSync ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2003-07-17 02:56:34 +00:00
<summary > Suggests that you have just finished a block of changes, and it would be an optimal time to sync to permanent storage.</summary>
<remarks > This function is just a "hint" provided to maximize efficiency and minimize data loss.</remarks>
2003-06-06 18:41:12 +00:00
</Docs>
</Member>
<Member MemberName= "RemoveNotify" >
<MemberSignature Language= "C#" Value= "public void RemoveNotify (string dir, GConf.NotifyEventHandler notify);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "dir" Type= "System.String" />
<Parameter Name= "notify" Type= "GConf.NotifyEventHandler" />
</Parameters>
<Docs >
2003-07-17 02:56:34 +00:00
<summary > Removes a notification request.</summary>
2003-09-17 21:56:59 +00:00
<param name= "dir" > an object of type <see cref= "T:System.String" /> </param>
<param name= "notify" > an object of type <see cref= "T:GConf.NotifyEventHandler" /> </param>
2003-07-17 02:56:34 +00:00
<remarks />
2003-06-06 18:41:12 +00:00
</Docs>
</Member>
<Member MemberName= "AddNotify" >
<MemberSignature Language= "C#" Value= "public void AddNotify (string dir, GConf.NotifyEventHandler notify);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "dir" Type= "System.String" />
<Parameter Name= "notify" Type= "GConf.NotifyEventHandler" />
</Parameters>
<Docs >
2003-07-17 02:56:34 +00:00
<summary > Registers a notification request.</summary>
2003-09-17 21:56:59 +00:00
<param name= "dir" > an object of type <see cref= "T:System.String" /> </param>
<param name= "notify" > an object of type <see cref= "T:GConf.NotifyEventHandler" /> </param>
2005-05-23 20:41:51 +00:00
<remarks >
</remarks>
2003-06-06 18:41:12 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Client ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
<summary > Creates a new <see cref= "T:GConf.Client" /> .</summary>
<remarks > This is the default constructor for <see cref= "T:GConf.Client" /> .</remarks>
</Docs>
</Member>
2003-06-06 18:41:12 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>