![]() |
![]() |
![]() |
Nautilus-Actions™ Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#include <nautilus-actions/na-gconf-monitor.h> #define NA_GCONF_MONITOR_TYPE #define NA_GCONF_MONITOR (object) #define NA_IS_GCONF_MONITOR (object) NAGConfMonitor; NAGConfMonitor * na_gconf_monitor_new (const gchar *path
,GConfClientNotifyFunc handler
,gpointer user_data
); void na_gconf_monitor_release_monitors (GList *monitors
);
This class manages the GConf monitoring. It is used to monitor both the GConf provider and the GConf runtime preferences.
Starting with Nautilus-Actions 3.1.0, GConf, whether it is used as a preference storage subsystem or as an I/O provider, is deprecated.
#define NA_GCONF_MONITOR_TYPE ( na_gconf_monitor_get_type())
NA_GCONF_MONITOR_TYPE
is deprecated and should not be used in newly-written code.
#define NA_GCONF_MONITOR( object ) ( G_TYPE_CHECK_INSTANCE_CAST( object, NA_GCONF_MONITOR_TYPE, NAGConfMonitor ))
NA_GCONF_MONITOR
is deprecated and should not be used in newly-written code.
#define NA_IS_GCONF_MONITOR( object ) ( G_TYPE_CHECK_INSTANCE_TYPE( object, NA_GCONF_MONITOR_TYPE ))
NA_IS_GCONF_MONITOR
is deprecated and should not be used in newly-written code.
typedef struct _NAGConfMonitor NAGConfMonitor;
NAGConfMonitor
is deprecated and should not be used in newly-written code.
NAGConfMonitor * na_gconf_monitor_new (const gchar *path
,GConfClientNotifyFunc handler
,gpointer user_data
);
na_gconf_monitor_new
is deprecated and should not be used in newly-written code. 3.1
Initializes the monitoring of a GConf path.
This monitoring will only be stopped when object is released, via
g_object_unref()
.
|
the absolute path to monitor. |
|
the function to be triggered by the monitor. |
|
data to pass to the handler . |
Returns : |
a new NAGConfMonitor object, which will monitor the given path,
triggeering the handler in case of modifications. |
Since 2.30
void na_gconf_monitor_release_monitors (GList *monitors
);
na_gconf_monitor_release_monitors
is deprecated and should not be used in newly-written code. 3.1
Release allocated monitors.
|
a list of NAGConfMonitors. |
Since 2.30