ANN: easygconf 0.02
- From: Florian Diesch <diesch@xxxxxxxxxxxxx>
- Date: Mon, 16 Nov 2009 06:36:59 -0600
I'm happy to announce easygconf 0.02.
Get it at http://www.florian-diesch.de/software/easygconf/
easygconf is a Python module that 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/>
##########################################################################
# Send submissions for comp.os.linux.announce to: cola@xxxxxxxxxxxxxxxxx #
# PLEASE remember a short description of the software and the LOCATION. #
# This group is archived at http://stump.algebra.com/~cola/ #
##########################################################################
.
- Prev by Date: [ADMIN] comp.os.linux.announce report for Mon Nov 16 00:05:02 CST 2009
- Next by Date: [SLUG] Suncoast LUG Meetings
- Previous by thread: [ADMIN] comp.os.linux.announce report for Mon Nov 16 00:05:02 CST 2009
- Next by thread: [ADMIN] comp.os.linux.announce report for Mon Nov 23 00:05:02 CST 2009
- Index(es):
Relevant Pages
|