KPanelApplet using Python

David Boddie davidb at mcs.st-and.ac.uk
Fri Feb 24 12:55:59 EST 2006


Varun Hiremath wrote:

> I was wondering if there is any way to make KDE PanelApplets
> using Python. I have made a small window using Qt, kdeui nad
> kdecore libs. Now I want to add it to the KDE kicker. Can I
> get any help regarding this matter.

The other responses in this thread have covered solutions that use
the system tray, and you may want to try something like that with
the KSystemTray class in kdeui. It's available in PyKDE, so you
shouldn't have any trouble adding new items to kicker that way.

However, you asked specifically about Panel Applets. Unfortunately,
they are a lot more difficult to implement in Python because you
need to write a library in C++ to load them. Some of us in the
PyQt/PyKDE community did some work towards that, and had working
applets but, as far as I know, they don't work with recent releases.

You might get some additional help or advice about this if you try
mailing the PyKDE list:

http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Good luck!

David




More information about the Python-list mailing list