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_listner('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:

Version 0.02
easygconf-0.02-py2.5.egg 15.5 KByte
MD5: e3ea373fa92d1a401fa6eaaed0c2f597
easygconf-0.02-py2.6.egg 15.5 KByte
MD5: 2a82ae30ba57a61597a8c3db57d9c8f9
easygconf-0.02-doc.tar.gz 25.1 KByte
MD5: f094519580475369e230ec4144b4e4f2
easygconf-0.02.tar.gz 10.7 KByte
MD5: bd9cd6f80fc441c80e736137e79543a9

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