Torsten Schönfeld > Gnome2-GConf > xs/GConfEngine.xs

Download:
Gnome2-GConf-1.044.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
Stalled  2
View/Report Bugs
Source  

SYNOPSIS ^

DESCRIPTION ^

Gnome2::GConf::Engine is the Perl binding for the GConfEngine 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 ^

Gnome2::GConf(3pm), Gnome2::GConf::Value(3pm), Gnome2::GConf::ChangeSet(3pm).

Fetch and return the Gnome2::GConf::Value bound to the given $key.

This overrides Glib::Object's get, so you'll want to use $object->get_property to get object's properties.

Fetch and return 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.

Set the Gnome2::GConf::Value bound to the given key.

Unset the given key.

$schema_key should have a schema (if $key stores a value) or a dir full of schemas (if $key stores a directory name)

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.

syntax highlighting: