* ANN: easygconf 0.03
@ 2010-02-16 16:50 Florian Diesch
0 siblings, 0 replies; only message in thread
From: Florian Diesch @ 2010-02-16 16:50 UTC (permalink / raw)
I'm happy to announce easygconf 0.03
Get it at http://www.florian-diesch.de/software/easygconf/
Changes since 0.02:
-------------------
* renamed GConfDict.add_listner() to add_listener()
* fixed bug in GConfDict.from_python() (thanks to Pawn Hearts <pawn13 at gmail.com>)
easygconf is a Python module that provids an easy, pythonic way to
access GConf <http://projects.gnome.org/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')
Florian
--
GUIs programmieren mit Python und Glade:
<http://www.florian-diesch.de/doc/python-und-glade/>
##########################################################################
# Send submissions for comp.os.linux.announce to: cola@stump.algebra.com #
# PLEASE remember a short description of the software and the LOCATION. #
# This group is archived at http://stump.algebra.com/~cola/ #
##########################################################################
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-16 16:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-16 16:50 ANN: easygconf 0.03 Florian Diesch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox