What is easygconf?

easygconf provids an easy, pythonic way to access GConf through a dict-like interface.

Example

from easygconf import GConfDict
import gtk


key = 'test'
gc=GConfDict('/apps/easygconftest')

print "%s is %s"%(key, gc[key])
gc[key] = 'foo'
print "Now %s is %s"%(key, gc[key])


def callback (key, value, gconfdict, id, args):
    print "%s changed to %s"%(key, value)

gc.add_listener('test', callback)
try:
    gtk.main()
except KeyboardInterrupt:
    pass
gc.unset('test')

Status

easygconf is alpha software. So far it seems to work for me but it may have severe bugs I didn’t noticed yet. Use it at your own risk.

easygconf is still under development and the API may change in the future.

Requirements

easygconf needs the Python bindings for GNOME

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the (error in elisp evaluation: Symbol’s value as variable is void: GNU)_ for more details.

Documentation

See the API documentation page

Download

Get it using easy_install

> easy_install easygconf

or download it here:

S2FD_DOWNLOADS

The documentation tarball contains on offline version of the API documentation. It is not included in the source tarball and the egg!