Ryujinx-GtkSharp/doc/en/GConf/NotifyEventHandler.xml

40 lines
1.7 KiB
XML
Raw Normal View History

<Type Name="NotifyEventHandler" FullName="GConf.NotifyEventHandler">
<TypeSignature Language="C#" Value="public sealed delegate void NotifyEventHandler (object sender, GConf.NotifyEventArgs args);" Maintainer="auto" />
<AssemblyInfo>
<AssemblyName>gconf-sharp</AssemblyName>
<AssemblyPublicKey />
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyCulture>neutral</AssemblyCulture>
<Attributes />
</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>NotifyEventHandler is a delegate object that can be used to notify your program whenever a key's value is changed, either in your program or externally (i.e. via gconf-editor).</summary>
<remarks>You only have to attach a GConf.NotifyEventHandler delegate to a key, this way:
<example>
<code lang="C#">gconfClient.AddNotify (key, new GConf.NotifyEventHandler(function));
</code>
</example>
This is very important for graphic interfaces, as it is a good practice to make the application react instantly to preference changes.</remarks>
</Docs>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.ICloneable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Runtime.Serialization.ISerializable</InterfaceName>
</Interface>
</Interfaces>
<Attributes />
<Members />
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="sender" Type="System.Object" />
<Parameter Name="args" Type="GConf.NotifyEventArgs" />
</Parameters>
</Type>