GConf.NotifyEventHandler Delegate
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).

Syntax

public delegate void NotifyEventHandler (object sender, NotifyEventArgs args)

Parameters

sender
Documentation for this section has not yet been entered.
args
Documentation for this section has not yet been entered.

Remarks

You only have to attach a GConf.NotifyEventHandler delegate to a key, this way:

C# Example

gconfClient.AddNotify (key, new GConf.NotifyEventHandler(function));
  
This is very important for graphic interfaces, as it is a good practice to make the application react instantly to preference changes.

Requirements

Namespace: GConf
Assembly: gconf-sharp (in gconf-sharp.dll)
Assembly Versions: 2.20.0.0