[Panel-devel] Pytray

Matt Broadstone mbroadst at gmail.com
Wed Aug 23 19:00:48 CEST 2006


On 8/22/06, Gavin <gavingc at aapt.net.au> wrote:
> Hey Guys and Gals,
>
> So I wrote a small but fairly useful python program
> that I thought would make a good applet. Then on attempting to
> dock/imbed it in the kde kicker I find that this procedure
> is causing a lot of people pain.
>
> So here's the question is it not possible/easier to build
> a C applet/tray that will swallow any python script written for it?
>
> Kind of along the same lines as the 'System Tray' or 'Task Bar'
> call it perhaps 'Python Tray/Bar'. Then all the user has to do
> is load it and point its config to the python script/s.
> The 'Dock Application Bar' does this for dock apps but it's
> not very flexible. Perhaps I'm missing some terrible complication
> or maybe someone already knows exactly how this could be cleanly done?
> Either way please let me know any thoughts gavinkz(at)webmail(dot)co(dot)za.
> I would be happy to offer my meager coding and testing skills at which point
> I guess I would subscribe ;-)
>
I'd imagine you could do it rather easily, if you check in svn there
is a jsapplet that Ian Geiser initially wrote and I tweaked to get
working with a later version of KJS, this would be the same idea as
what you're trying to do, but you'd need to get a python interpreter
working (not sure how PyQt/PyKDE handle this type of stuff) - however,
I recommend you check out SuperKaramba, its already got a somewhat
rich featureset and allows you to make python applets (you can even
make a python bar if you so wish).

Matt


> Have a good one.
> _______________________________________________
> Panel-devel mailing list
> Panel-devel at kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel
>


More information about the Panel-devel mailing list