mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 20:05:38 +00:00
3529dd94de
svn path=/trunk/gtk-sharp/; revision=97048
94 lines
3.6 KiB
XML
94 lines
3.6 KiB
XML
<Type Name="Client" FullName="GConf.Client">
|
|
<TypeSignature Language="C#" Value="public class Client : GConf.ClientBase" Maintainer="John Luke" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>gconf-sharp</AssemblyName>
|
|
<AssemblyPublicKey>
|
|
</AssemblyPublicKey>
|
|
<AssemblyVersion>2.20.0.0</AssemblyVersion>
|
|
</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>
|
|
<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>
|
|
</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>
|
|
<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>
|
|
</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>
|
|
<summary>Removes a notification request.</summary>
|
|
<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>
|
|
<remarks />
|
|
</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>
|
|
<summary>Registers a notification request.</summary>
|
|
<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>
|
|
<remarks>
|
|
</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<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>
|
|
</Members>
|
|
</Type>
|