Archive

Posts Tagged ‘lxml’

how to create a glade store

29 October 2008 Leave a comment

unfortunately, guys at pygtk haven’t thought about a solution about making persistent GUIs. This means that, at your next graphical application restart, you will get the initial window size and settings. And with initial, I mean the design ones.

In the last few days, I have developed a small class to store sensible informations: gladeStore. This class is instanciated just on the application ‘destroy’ event, and its job is to save all the listed properties for all the widgets belonging to your application.

It works without problems on a small test application. I will be bughunting on Gino the next few days.

BTW: Gino interface has been redesigned just today. And XMLTreeView supports the ‘tail’ of XML nodes, for the sake of completeness 🙂

Gino 0.2

29 August 2008 Leave a comment

Gino 0.2 has hit the SVN. (What’s Gino? http://www.assembla.com/wiki/show/etools/Gino)
It is delivered with a nice setup.py. With the help of py2exe, it is possible to make it a windows binary, easily portable.
The next steps? fix some(many) bugs, and prepare a Inno setup to deploy it.

If you want to try it, you can get the sources from assembla.com (http://svn2.assembla.com/svn/etools). (What are the etools? http://www.assembla.com/wiki/show/etools/Gino).

This project has been written with eclipse and pydev extensions. It isn’t clear which kind of license it will use, yet.

use an xml file as a python dictionary

23 May 2008 Leave a comment

well, I wanted something like this, to manage a configuration file.

I have done this today, in python. It seems to work with ElementTree and lxml.

It’s available on the assembla SVN, I’ll probably search a way to publish it elsewhere on the net, too.

I don’t think it’s complete, but it’s a beginning. It’s also full of things to fix, handle in a better way, and so on.