Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Announce

ANN: easygconf 0.02

 

 

Python announce RSS feed   Index | Next | Previous | View Threaded


diesch at spamfence

Nov 16, 2009, 4:23 AM

Post #1 of 1 (230 views)
Permalink
ANN: easygconf 0.02

I'm happy to announce easygconf 0.02.
Get it at http://www.florian-diesch.de/software/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')




Florian
--
<http://www.florian-diesch.de/>
--
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/

Python announce RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.