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:
| Version 0.03 | ||
|---|---|---|
| easygconf-0.03-py2.5.egg | 15.5 KByte | |
| MD5: cf7276147e10d07a3035555f820706b3 | ||
| easygconf-0.03-py2.6.egg | 15.5 KByte | |
| MD5: c0f6352904b12b53dc3cf485d01c6eeb | ||
| easygconf-0.03-doc.tar.gz | 25.1 KByte | |
| MD5: 6d5a8d061bfdaaeaea747715986494a7 | ||
| easygconf-0.03.tar.gz | 10.9 KByte | |
| MD5: 654e9d5a593b95badd1e7656e2ee1963 | ||
The documentation tarball contains on offline version of the API documentation. It is not included in the source tarball and the egg!