ANN: easygconf 0.03
[Posted February 17, 2010 by cook]
| From: |
| Florian Diesch <diesch-AT-spamfence.net> |
| To: |
| python-announce-list-AT-python.org |
| Subject: |
| ANN: easygconf 0.03 |
| Date: |
| Tue, 16 Feb 2010 17:51:34 +0100 |
| Message-ID: |
| <871vgl2kfd.fsf@spamfence.net> |
| Archive-link: |
| Article, Thread
|
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 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/>
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
(
Log in to post comments)