NAGConfMonitor

NAGConfMonitor

Synopsis

#define             NA_GCONF_MONITOR_TYPE
typedef             NAGConfMonitorPrivate;
typedef             NAGConfMonitorClassPrivate;
                    NAGConfMonitor;
NAGConfMonitor *    na_gconf_monitor_new                (const gchar *path,
                                                         GConfClientNotifyFunc handler,
                                                         gpointer user_data);
void                na_gconf_monitor_release_monitors   (GList *monitors);

Object Hierarchy

  GObject
   +----NAGConfMonitor

Description

Details

NA_GCONF_MONITOR_TYPE

#define NA_GCONF_MONITOR_TYPE					( na_gconf_monitor_get_type())


NAGConfMonitorPrivate

typedef struct NAGConfMonitorPrivate NAGConfMonitorPrivate;


NAGConfMonitorClassPrivate

typedef struct NAGConfMonitorClassPrivate NAGConfMonitorClassPrivate;


NAGConfMonitor

typedef struct _NAGConfMonitor NAGConfMonitor;


na_gconf_monitor_new ()

NAGConfMonitor *    na_gconf_monitor_new                (const gchar *path,
                                                         GConfClientNotifyFunc handler,
                                                         gpointer user_data);

Initializes the monitoring of a GConf path.

path :

the absolute path to monitor.

handler :

the function to be triggered by the monitor.

user_data :

data to pass to the handler.

Returns :

a new NAGConfMonitor object, which will monitor the given path, triggeering the handler in case of modifications. This monitoring will only be stopped when object is released, via g_object_unref().

na_gconf_monitor_release_monitors ()

void                na_gconf_monitor_release_monitors   (GList *monitors);

Release allocated monitors.

monitors :

a list of NAGConfMonitors.