From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 4cc7704942,6f0b0611d01d9681,start X-Google-Attributes: gid4cc7704942,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!news.alt.net!cola.stump.algebra.com!robomod!not-for-mail From: Florian Diesch Newsgroups: comp.os.linux.announce Subject: ANN: easygconf 0.03 Date: Tue, 16 Feb 2010 10:50:42 -0600 Organization: Altopia Corp. - Usenet Access - www.altopia.com Message-ID: <87635x2khj.fsf@spamfence.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-Path: X-COLA-Policy: http://stump.algebra.com/~cola X-COLA-Info-1: Send submissions to cola@stump.algebra.com X-COLA-Info-2: Send complaints to cola-admin@stump.algebra.com X-Comment: moderators do not necessarily agree or disagree with this article. X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov) X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on ak74.algebra.com X-Spam-Level: X-Spam-Status: No, score=0.2 required=2.0 tests=TW_GT,TW_YG autolearn=no version=3.1.4 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-bounce-key: webpack.hosteurope.de;diesch@spamfence.net;1266339021;82a86da6; FromStump: yes X-Auth: PGPMoose V1.1 PGP comp.os.linux.announce iQBVAwUAS3rM4iFvAtx2nXvNAQGNkgH8DTIB5FUvvuqNLfHbnoh4L2JwnlLPP99v lL6Y1iH/loXVreErSbAR0wXmxzhM0m0xayB5UoRBc5bBlcMFqi99Hw== =spXB Xref: g2news1.google.com comp.os.linux.announce:309 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 ) 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_listener('test', callback) try: gtk.main() except KeyboardInterrupt: pass gc.unset('test') Florian -- GUIs programmieren mit 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/ # ##########################################################################