Sridhar R wrote:

Nikos Kouremenos <[EMAIL PROTECTED]> wrote:


and just because someone said why I want this..
I'm writing an GNOME panel applet,  where I make use of this code.
http://members.hellug.gr/nkour/dcapplet/




OK, just curious to ask. Is it going to be nice to write applets in python (or any scripting language). Normal python apps are fine, but an applet is supposed to be run throughout the user session and memory could be wasted for even tiny (applets) apps.




Yes I can understand what you mean. I'm not an memory minimize-consumption expert [especially how to do this via Python].
If you have a link to propose me stuff about it then go on.


now I will say just this:
in my PC I have 256MB of RAM, and even when I had 196MB I was running GNOME 2.6 and it worked out of the box and very well.
I don't know you personally so I cannot judge, but I really hope you're not a less-and-less memory usage fan. [especially some guys commenting on OSNews have serious mental problems with GTK and being slow, taking a lot of memory and so on..


What I mean by all that. If it's easy I will make my python script eat less memory. I have seen other python gnome panel applets, so I'm not the first nor the last.
the only thing I sometimes worry, is if the user does killall -9 python if it will be a good cleanup and if gconf data will be removed, and not memory. not memory at all.


I now read the above 2 paragrpahs and I wasn't able to say what I want exactly so:
"I wrote this applet for fun. I never write GNOME apps in other language than Python/C# and I prefer Python. I was code inspired in some places by gnome-blog [also in PyGTK] which also has an applet version."


That's all
Thank you and first of all I hope it works for you :)

ps. after making sure it works for others as it does here, and after adding some other stuff do, I might add a run-in-window parameter that will reparent in a gtkWidow so you can run it as a normal pygtk app
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to