man Gnome2::GConf::Engine () - A Configuration Engine

NAME

Gnome2::GConf::Engine - A Configuration Engine

SYNOPSIS

DESCRIPTION

Gnome2::GConf::Engine is the Perl binding for the CWGConfEngine object. A GConfEngine is a configuration engine, that is a stack of config sources. Normally, there's just one of these on the system.

Gnome2::GConf::Engine provides a low-level interface for accessing GConf data; you should normally use a Gnome2::GConf::Client inside your code.

SEE ALSO

HIERARCHY

  Glib::Boxed
  +----Gnome2::GConf::Engine

METHODS

This method returns an array containing all the directories in a given directory. This method returns an array containing all the entries of a given directory. Associate a schema to a key. $schema_key should have a schema (if CW$key stores a value) or a dir full of schemas (if CW$key stores a directory name)

* ... (list) list of keys to add to the changeset
Create a Gnome2::GConf::ChangeSet from a list of keys inside the GConf database. Commit a given Gnome2::GConf::ChangeSet. In scalar context, or if $remove_committed is FALSE, return a boolean value; otherwise, return the boolean value and the Gnome2::GConf::ChangeSet $cs, pruned of the successfully committed changes.

engine = Gnome2::GConf::Engine->get_default

Get the default Gnome2::GConf::Engine.

engine or undef = Gnome2::GConf::Engine->get_for_address ($address)

Create a Gnome2::GConf::Engine for the given address. Fetch the Gnome2::GConf::Value bound to the given key. Set the Gnome2::GConf::Value bound to the given key.

$engine->notify_remove ($cnxn_id)

$engine->remove_dir ($dir)

Create a change set that would revert the given change set for the given Gnome2::GConf::Engine.

$engine->suggest_sync

Unset the given key. Fetch the Gnome2::GConf::Value bound to the given key, for a specific locale. Locale only matters if you are expecting to get a schema, or if you don't know what you are expecting and it might be a schema. Note that Gnome2::GConf::Engine::get automatically uses the current locale, which is normally what you want. Fetch the Gnome2::GConf::Value bound to the given key, without returning the default value (specified inside the schema) if the key is unset.

SEE ALSO

Gnome2::GConf, Glib::Boxed

COPYRIGHT

Copyright (C) 2003-2005 by the gtk2-perl team.

This software is licensed under the LGPL. See Gnome2::GConf for a full notice.