Home | Trees | Indices | Help |
|
---|
|
easygconf provids an easy, pythonic way to access GConf through a dict-like interface.
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')
|
|||
|
|||
VERSION =
|
|||
__package__ =
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Feb 16 17:35:24 2010 | http://epydoc.sourceforge.net |