NAMateConfMonitor

NAMateConfMonitor — The MateConf Monitoring Class Definition

Synopsis

#include <caja-actions/na-mateconf-monitor.h>

#define             NA_MATECONF_MONITOR_TYPE
#define             NA_MATECONF_MONITOR                    (object)
#define             NA_IS_MATECONF_MONITOR                 (object)
                    NAMateConfMonitor;
NAMateConfMonitor *    na_mateconf_monitor_new                (const gchar *path,
                                                         MateConfClientNotifyFunc handler,
                                                         gpointer user_data);
void                na_mateconf_monitor_release_monitors   (GList *monitors);

Object Hierarchy

  GObject
   +----NAMateConfMonitor

Description

This class manages the MateConf monitoring. It is used to monitor both the MateConf provider and the MateConf runtime preferences.

Starting with Caja-Actions 3.1.0, MateConf, whether it is used as a preference storage subsystem or as an I/O provider, is deprecated.

Details

NA_MATECONF_MONITOR_TYPE

#define NA_MATECONF_MONITOR_TYPE                ( na_mateconf_monitor_get_type())

Warning

NA_MATECONF_MONITOR_TYPE is deprecated and should not be used in newly-written code.


NA_MATECONF_MONITOR()

#define NA_MATECONF_MONITOR( object )           ( G_TYPE_CHECK_INSTANCE_CAST( object, NA_MATECONF_MONITOR_TYPE, NAMateConfMonitor ))

Warning

NA_MATECONF_MONITOR is deprecated and should not be used in newly-written code.


NA_IS_MATECONF_MONITOR()

#define NA_IS_MATECONF_MONITOR( object )        ( G_TYPE_CHECK_INSTANCE_TYPE( object, NA_MATECONF_MONITOR_TYPE ))

Warning

NA_IS_MATECONF_MONITOR is deprecated and should not be used in newly-written code.


NAMateConfMonitor

typedef struct _NAMateConfMonitor NAMateConfMonitor;

Warning

NAMateConfMonitor is deprecated and should not be used in newly-written code.


na_mateconf_monitor_new ()

NAMateConfMonitor *    na_mateconf_monitor_new                (const gchar *path,
                                                         MateConfClientNotifyFunc handler,
                                                         gpointer user_data);

Warning

na_mateconf_monitor_new is deprecated and should not be used in newly-written code. 3.1

Initializes the monitoring of a MateConf path.

This monitoring will only be stopped when object is released, via g_object_unref().

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 NAMateConfMonitor object, which will monitor the given path, triggeering the handler in case of modifications.

Since 2.30


na_mateconf_monitor_release_monitors ()

void                na_mateconf_monitor_release_monitors   (GList *monitors);

Warning

na_mateconf_monitor_release_monitors is deprecated and should not be used in newly-written code. 3.1

Release allocated monitors.

monitors :

a list of NAMateConfMonitors.

Since 2.30