Re: [gDesklets] Save control properties



Hi there,	

> I meant so that after I download an index xml file, parse it into a
> dictionary, then store it in the 'locations' property of my control, I
> don't have to go through all that every time the control is loaded.

Well, Controls are writen in pure python, so you can basically do what
ever you like and/or need to, which could include a way to save the
dictionary into a file of your choice and re-use it whenever you like to.
But I remember the times when there used to be the unwritten law that a
Desklet and/or a Control shouldn't be using the file system to write
(and/or delete) data....

Greetings, Bjoern


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]